Schema Markup Generator (JSON-LD)
Pick a schema.org type, fill in the guided form, and copy production-ready JSON-LD with a live validation summary of every required field.
Updated
How to use Schema Markup Generator (JSON-LD)
The Schema Markup Generator builds valid JSON-LD structured data for the six schema.org types that most often earn Google rich results: Article, FAQPage, HowTo, LocalBusiness, Product, and BreadcrumbList. Pick a type, fill in the guided form, and the tool assembles correctly nested JSON-LD with a live validation summary confirming every Google-required property is present. The output is ready to copy as raw JSON or as a complete script tag for your page head. Everything is generated in your browser — no account, no upload, and your business or product details never leave your device.
- Choose a schema type — Article, FAQPage, HowTo, LocalBusiness, Product, or BreadcrumbList.
- Fill in the form fields; required properties are marked with an asterisk.
- For FAQs and breadcrumbs, enter one item per line using the "left | right" format shown in the hint.
- Check the validation summary — it confirms when all required fields are present and flags formatting issues.
- Copy the JSON-LD or the full script tag and paste it into your page's <head>, then verify with Google's Rich Results Test.
Your data never leaves your device — 100% private processing.
Why JSON-LD is the recommended format
Structured data can be embedded as JSON-LD, Microdata, or RDFa, but Google explicitly recommends JSON-LD. Unlike Microdata, which weaves attributes through your HTML markup, JSON-LD lives in a single self-contained script block that is easy to generate, template, audit, and remove without touching the visible page. It can be injected by a tag manager or CMS plugin, it survives HTML refactors, and parsing errors are confined to one block. Each JSON-LD object declares its vocabulary with "@context": "https://schema.org" and its type with "@type", and Google reads it whether the script sits in the head or the body of the page.
Required properties and rich-result eligibility
Valid markup alone does not guarantee a rich result — Google requires specific properties per type and applies quality guidelines on top. Article needs a headline, author, and publish date; Product needs a name plus an Offer with price and currency to show price snippets; FAQPage needs Question items with accepted answers that genuinely appear on the page; HowTo needs named steps in order; LocalBusiness needs a name and a postal address; and BreadcrumbList needs positioned ListItems with names and URLs. Markup must always describe content that is visible on the page — marking up invisible content violates Google's structured data guidelines and can trigger manual actions.
| Schema type | Required properties | Rich result |
|---|---|---|
| Article | headline, author, datePublished | Article/Top stories enhancements |
| FAQPage | mainEntity Questions with Answers | Expandable FAQ listing |
| HowTo | name, ordered step items | Step-by-step guide panel |
| LocalBusiness | name, address (PostalAddress) | Knowledge panel / local details |
| Product | name, offers with price + priceCurrency | Price, availability and review snippets |
| BreadcrumbList | itemListElement with position, name, item | Breadcrumb trail in the result URL |
Worked examples
FAQ schema from two questions
Inputs: 2 lines in "question | answer" format
Result: FAQPage JSON-LD with two Question/Answer pairs, ready for the <head>
Product with price
Inputs: Name "X100", price 79.99, currency usd
Result: Product JSON-LD with Offer { price: "79.99", priceCurrency: "USD" }
Glossary
- JSON-LD
- JavaScript Object Notation for Linked Data — Google's recommended structured data format, embedded in a script tag.
- schema.org
- The shared vocabulary of types and properties (Article, Product, etc.) used by search engines to understand content.
- Structured data
- Machine-readable annotations describing page content so search engines can display rich results.
- Rich result
- An enhanced search listing — stars, prices, FAQs, breadcrumbs — earned by eligible structured data.
- @type
- The JSON-LD property declaring which schema.org type an object describes.
- Rich Results Test
- Google's official validator that checks whether a page's structured data qualifies for rich results.
Related reading
Frequently Asked Questions
Get weekly tool tips & updates
New tools, power-user tips, and productivity hacks — delivered free every Friday.
No spam, ever. Unsubscribe with one click.
Why use Schema Markup Generator (JSON-LD)?
- Guided forms for six high-value schema types — no need to memorise schema.org property names
- Live validation summary listing any missing required fields before you copy
- Copy as raw JSON-LD or as a ready-to-paste <script type="application/ld+json"> tag
- Correct nesting handled for you: authors, offers, postal addresses, steps, and list positions
- Runs entirely client-side, so confidential product and business data stays private
Common use cases
- Add FAQPage markup to a support article so questions can appear directly in search results
- Generate Product markup with price and currency for an e-commerce listing
- Create LocalBusiness markup with a postal address for a store or office location page
- Mark up a tutorial with HowTo steps to qualify for step-by-step rich results
- Build BreadcrumbList markup so Google shows your site hierarchy instead of a raw URL
Related Developer Tools
JSON Formatter & Validator
Format, validate, and minify JSON instantly. Includes syntax highlighting, error detection, and a collapsible tree view — free, private, in-browser.
Meta Tag Generator
Generate SEO meta tags, Open Graph tags, and Twitter Card tags online. Preview Google search snippet and copy all tags instantly.
JSON Schema Validator
Validate JSON data against a JSON Schema online. Get clear, path-based error messages for every violation. Free, private JSON Schema validator.
Regex Tester
Test and debug regular expressions online. See live matches, capture groups, and replace output. Free, private, instant.
Base64 Encoder & Decoder
Encode text or files to Base64, or decode Base64 strings back to text. Fast, free, and runs entirely in your browser.
URL Encoder / Decoder
Encode and decode URLs and URL components online. Convert special characters to percent-encoding and back instantly — free, private, and fast.
Explore all Developer Tools.