Schema Markup Generator
Generate JSON-LD structured data for articles, products, FAQs, breadcrumbs, organizations and local businesses.
One per line.
✓ All key fields are filled in.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "How to Choose a Ceramic Mug That Keeps Coffee Hot",
"description": "Wall thickness, glaze and shape matter more than you think.",
"image": [
"https://www.example.com/images/mug-guide.jpg"
],
"datePublished": "2026-11-02",
"author": {
"@type": "Person",
"name": "Alex Kim",
"url": "https://www.example.com/authors/alex-kim/"
},
"publisher": {
"@type": "Organization",
"name": "Clay & Co.",
"logo": {
"@type": "ImageObject",
"url": "https://www.example.com/logo.png"
}
},
"mainEntityOfPage": "https://www.example.com/blog/choose-a-mug/"
}
</script>About this tool
Structured data is a block of machine-readable facts about a page, written in the schema.org vocabulary. It tells search engines precisely that a page is a product costing $19.99 and rated 4.6 stars, an article published on a certain date by a certain author, or a shop open Monday to Friday at a given address. Google uses it to show rich results such as product prices and ratings, breadcrumbs instead of raw URLs, and business details in the knowledge panel.
This generator produces JSON-LD, the format Google recommends, for the six most useful types: Article, Product, FAQ page, Breadcrumbs, Organization and Local business. Fill in a form, see which fields Google expects, and copy a ready <script> tag. Empty fields are left out automatically so the output stays valid.
How to use Schema Markup Generator
- Pick the schema type that matches the page.
- Fill in the form. Fields marked * are the ones Google requires or strongly recommends for a rich result.
- Copy the JSON-LD script and paste it into the page's <head> or anywhere in the <body>.
- Check the page with Google's Rich Results Test, then monitor the Enhancements reports in Search Console.
Examples
Product with price
Name: Mug · Price: 9.90 · Currency: eur · Brand: Acme
"offers": { "@type": "Offer", "price": 9.9, "priceCurrency": "EUR", "availability": "https://schema.org/InStock", … } The price becomes a number and the currency code is uppercased, as schema.org expects.
Breadcrumb trail
Home → https://example.com/ · Blog (current page, no URL)
itemListElement with position 1 and 2; the last item has no "item" URL
Google allows the last breadcrumb, the current page, to omit its URL.
Safe script tag
A description containing </script>
\u003c/script> inside the JSON
Escaping < prevents text from closing the script tag early, which would break the page.
Which type to use, and what Google shows
- Article / BlogPosting / NewsArticle: helps Google understand the headline, images, author and dates, used in Top stories and Discover. No field is strictly required, but headline, image, datePublished and author are recommended.
- Product: can show price, availability and review stars in results. Requires a name and at least one of offers, review or aggregateRating.
- BreadcrumbList: replaces the URL in the result with a readable path such as Home › Blog › Article.
- Organization: logo, social profiles and contact details for the knowledge panel.
- LocalBusiness (or a subtype like Restaurant or Dentist): address, opening hours and phone. For maps and local results, also keep your Google Business Profile up to date.
- FAQPage: since August 2023 Google shows FAQ rich results only for well-known, authoritative government and health websites. The markup is still valid and harmless elsewhere, but do not expect FAQ snippets.
Rules that keep structured data effective
Mark up only content that visitors can actually see on the page. Ratings, prices or FAQs that exist only in the JSON-LD violate Google's guidelines and can lead to a manual action that removes all rich results from your site.
Valid markup makes a page eligible for rich results; it does not guarantee them. Google decides per query whether to show them, based on the page's quality and relevance.
Frequently asked questions
Everything you need to know about this tool and data security.
Should I use JSON-LD, Microdata or RDFa?
JSON-LD. Google recommends it because it sits in one script block separate from your HTML, so it is easy to add, generate and maintain. All three formats are understood, though.
Where should the script go?
Anywhere in the HTML, usually in the <head>. It can also be injected by JavaScript or Google Tag Manager, but server-rendered markup is picked up most reliably.
Can I add several types to one page?
Yes. A product page can have Product and BreadcrumbList markup, each in its own script tag. Make sure each describes what is on that page.
Does structured data improve rankings?
Not directly. It helps search engines understand the page and can earn rich results, which often improve click-through rate. The ranking itself still depends on content and relevance.
Is my data safe when using this tool?
Yes, 100% safe. This tool operates entirely inside your web browser using client-side JavaScript and WebAssembly. Your data never touches any external server.
Related Tools
Generate SEO meta tags, Open Graph and Twitter card tags for your page, with length checks and a social preview.
Prettify, validate, and minify JSON data instantly in your browser.
Preview how your title and meta description look in Google search results on desktop and mobile, measured in pixels.
Featured Projects tech-fun.net
Explore more AI & productivity tools
Nihongo GameBox
Master Japanese typing, Kana, and JLPT N5–N1 vocabulary through interactive retro arcade games.
ResumeGPT
Tailors CVs and cover letters to every job opportunity with a multi-agent LLM pipeline, job tracking, and scheduled discovery.
CollectMind
Turns your bookmarks into a searchable AI knowledge base — entirely on-device, powered by Chrome's built-in Gemini Nano.