Skip to content

Schema generator. Six types. Valid JSON-LD.

Browser-only · nothing leaves this device
§ 01 · pick a type
§ 02 · inputs

Article schema inputs.

§ 03 · JSON-LD output

Copy-ready.


              
Sources used by the inline validator
Required-field rules:
JSON-LD syntax: W3C JSON-LD 1.1 spec · ISO-8601 date format · ISO-4217 currency · ISO-3166 country.
No data is sent to any external service. The validator runs in your browser; the source links above are reference documentation only, clicking them opens a new tab and does not submit your JSON.
Stays in browser · nothing saved server-side · zero external API calls
§ · written guide

How to use the Schema Markup Generator

This generator builds JSON-LD structured data from a short form, so search engines can read the key facts of a page from labeled fields. It covers six types: Article, Product, FAQPage, LocalBusiness, Event and BreadcrumbList. Each form starts with sample values, the code updates as you type, and an inline validator checks the result against the required fields for that type.

Step by step

  1. Pick a schema type

    Click Article, Product, FAQPage, LocalBusiness, Event or BreadcrumbList. Article is selected the first time you visit, and the page remembers the last type you used. Switching type loads a fresh form with sample values.

  2. Replace every sample value

    Overwrite each field with the real details of your page. Fields marked with a star are required for that type. Dates use the ISO format, for example 2026-04-01, and Event times add the hour and time zone, such as 2026-06-15T18:00:00-04:00.

  3. Use one line per item for lists

    For FAQPage, type one question per line in FAQ items as question | answer. For BreadcrumbList, type one crumb per line in Crumbs as name | url, starting from the home page. Lines without the | character are skipped, and at least 2 lines are needed.

  4. Watch the status line

    The line above the code reads Valid with the type name when every required field has a value, or Missing required followed by the empty fields.

  5. Run the inline validator

    Press Run inline validator. The Validation result panel lists each check with a tick, a warning or a cross, and a total such as 1 fail, 0 warn, 8 pass. Open Sources used by the inline validator to see the schema.org and Google pages each rule comes from.

  6. Copy and paste into your page

    Press Copy JSON-LD. The clipboard gets the code already wrapped in a script tag of type application/ld+json, ready to paste into the head or body of your page.

Reading the result

  • A cross means the markup breaks a rule, for example a missing required field, a date that is not in ISO format, a currency that is not three capital letters such as USD, or an image that is not a full http or https address.
  • A warning means the markup works but could be better, such as a LocalBusiness phone number that contains letters, a country that is not two capital letters like US or GB, or map coordinates with fewer than 5 decimal places.
  • All checks pass means the JSON parses and every rule for that type is met. It does not guarantee Google will show a rich result, because that also depends on the page itself.
  • For Product, a rating is added only when both Rating value (0-5) and Review count are filled in. Clear either one to leave the rating out.

Tips and common mistakes

  • The markup must describe what is visible on the page. Do not add questions, prices or ratings that readers cannot see.
  • Include a Product rating only when it comes from real customer reviews shown on that page.
  • Google shows FAQ rich results only for a small set of well known government and health sites, so FAQPage markup on other sites rarely changes how the result looks in search.
  • The generator makes one type at a time. To use two on one page, paste two separate script blocks, or combine them by hand in an @graph array.
  • Before you publish, also test the live page with Google's Rich Results Test, since the inline validator only checks the rules listed in its Sources panel.

Privacy and limits

The JSON-LD is built and validated in your browser and nothing you type is sent to any server. The only thing saved is the last schema type you picked, kept in this browser's local storage; your field values are not saved and are reset when you reload or switch type.

Back to the tool

§ 04 · what schema does

Schema is the machine-readable translation.

Structured data is a JSON-LD script tag that translates your page into the vocabulary search engines and AI systems can parse reliably. A human reader sees an article with a headline, an author, and a date; a machine reader without schema guesses at those fields by heuristics. A machine reader with Article schema reads them from labeled properties. The difference shows up in rich results, knowledge-panel eligibility, and increasingly, AI citation rates. Schema is not optional for pages you want cited.

Six types cover roughly 95 percent of real ecommerce and agency use cases: Article for editorial posts, Product for SKU pages, FAQPage for Q and A sections, LocalBusiness for store or office pages, Event for time-bound listings, and BreadcrumbList for site-hierarchy signals. Each maps to a Google rich-result format when eligibility criteria are met. The generator above outputs one type at a time; to ship multiple on a single page, wrap them in an @graph array.

Validation before publishing is not optional. The generator above runs an inline validator on demand, required-field check, ISO-8601 date format, ISO-4217 currency, ISO-3166 country, URL syntax, type-specific structural rules, entirely in your browser. No JSON is sent to any external service. The Sources panel under the output lists every schema.org type definition and required-field reference the validator checks against, so you can confirm what is being inspected. The validator runs against the same publicly-documented rule set the major external validators use; passing here means the JSON conforms to the spec.

Tools in the same cluster: Meta tag generator for the HTML head. OG preview for the social share view.

§ 05 · questions

Five answers.

Which schema type should I pick for my page?

Pick by page purpose. A blog post or editorial piece gets Article. An ecommerce product page gets Product with offers and aggregateRating. A service page with Q and A sections gets FAQPage. A physical or online business page gets LocalBusiness with address and openingHoursSpecification. An event-listing page gets Event. Every page gets BreadcrumbList to describe its position in the site hierarchy. You can combine types on one page using a @graph array; the generator above outputs a single type at a time for clarity.

Does this schema validate against Google Rich Results?

Yes. Every output is built against the required properties Google publishes for that type. Article requires headline, datePublished, author, image, and publisher. Product requires name, image, offers (price + priceCurrency). FAQPage requires at least two Question items with acceptedAnswer. LocalBusiness requires name, image, and a complete address. Click "Run inline validator" above for a full per-field verdict that runs entirely in your browser, no JSON is sent anywhere. The Sources panel lists every type definition and required-field doc the validator references.

Why JSON-LD instead of Microdata or RDFa?

Google recommends JSON-LD as the preferred format since 2015. JSON-LD lives inside a single script tag in the head or body, which keeps markup separated from the rendered HTML. Microdata and RDFa embed attributes inside rendered tags, which is harder to maintain and more error-prone. Every major search engine parses JSON-LD. The output generated above is JSON-LD by default; microdata is available from schema.org for edge cases.

How do I add multiple schema types to one page?

Wrap both types in an @graph array. For example: context is schema.org, graph is an array containing one Article object and one BreadcrumbList object. Both parse correctly and both appear in Rich Results Test. Google explicitly supports this pattern. Generate each type separately above, then combine by hand inside the graph array. Do not nest types; keep them as siblings unless the schema spec explicitly requires nesting (Review inside Product, for example).

Does this tool save my data?

No. Every value you enter lives in memory for this browser tab only. Nothing is transmitted to a server, stored in a database, or synced. Close the tab and the data is gone. The Copy button puts the JSON-LD on your clipboard; that is the only output path. The tool uses localStorage optionally to remember your last schema type and saved form state; clear your browser data to reset.

§ 06 · ship schema site-wide

One page. Not enough.

Our SEO engagements ship schema across every template (product, collection, article, location, FAQ) plus entity-level Organization schema with sameAs, aggregateRating, and knowsAbout. Written plan in 2 weeks.

Published · Last updated .

Priya sent you a message Online now

Talk to a Developer Now

Share your name and email to reply.

Reply