Schema Markup Generator
Pick a type, fill in the details and copy valid JSON-LD to paste into your page. Or paste markup you already have to check its syntax, types, required properties, addresses and dates.
Free, no sign-up. The markup is built in your browser.
Structured data details
Choose a type and fill in its fields.
How to
Create schema markup in three steps
Choose the type
Pick the type that describes the page, such as an article, an FAQ or a product. Only use markup for things that are really on the page.
Fill in the fields
Complete the fields marked for that type. The tool tells you when a required one is missing or a value is invalid.
Copy and test
Paste the script into the page, then check it with Google’s Rich Results Test or the Schema Markup Validator.
Using structured data well
- Mark up only what visitors can see on the page. Markup that does not match the page can be ignored or penalised.
- Keep one main type per page. An article page gets Article markup; the FAQ markup belongs on a page that really shows those questions.
- Use full web addresses for images and links, not relative paths.
- Test after publishing and again when you change the page.
FAQ
Schema markup questions
What is schema markup?
A standard vocabulary, from schema.org, for describing what a page is about in a way machines can read. It is most often added to a page as a JSON-LD script.
Where do I paste the JSON-LD?
Anywhere in the head or body of the page it describes. Most sites put it in the head. In WordPress you can add it with a header snippet or a plugin that allows custom code.
Will schema markup improve my rankings?
Not directly. It helps search engines understand a page and can make it eligible for rich results, which may improve how the result looks and how often it is clicked.
Why does Google not show my FAQ rich result?
Google limited FAQ rich results to well-known government and health websites. Valid FAQ markup on other sites is allowed but usually will not produce the expandable result in Google.
How do I check that my markup is valid?
Paste it into the box on this page to check syntax, types, required properties, absolute addresses and ISO dates. For how Google reads it, use the Rich Results Test and Search Console too, because this checker covers a subset and Google changes its rules.
Is my data sent anywhere?
No. The JSON-LD is generated in your browser and nothing is uploaded.