How do I add structured data to a page?
A schema markup generator creates JSON-LD structured data that helps search engines understand a page. This schema markup generator covers articles, FAQs, products, local businesses, events, recipes, how-tos and job postings, with checks for missing fields.
Structured data labels the content of a page in a standard vocabulary from schema.org, usually as a JSON-LD script in the page head. Search engines use it to understand entities and, for some types, to show rich results such as product ratings, recipes or events.
Choose a type, fill in the fields and the tool writes the JSON-LD, with warnings for required or recommended properties that are missing. Copy the script into your page. Supported types include Article, FAQPage, Product, LocalBusiness, Organization, Event, Recipe, HowTo, WebSite, Person, BreadcrumbList and JobPosting.
Markup must match visible page content, and valid markup does not guarantee a rich result. Google now shows FAQ rich results only for a few authoritative sites, but the markup still helps machines read the page. Test the final page with Google's Rich Results Test.
Page updated .
How to use the Schema Markup Generator
- Choose the schema type.
- Fill in the fields and fix any warnings.
- Copy the JSON-LD script into the page head and test the page.
Examples
Headline, author, date and image
An Article JSON-LD object ready to paste
Name, address, phone and opening hours
LocalBusiness JSON-LD with a postal address
Tips
- Mark up only what is visible on the page.
- Fill in recommended fields too, not just the required ones.
- Test with the Rich Results Test and the Schema Markup Validator after publishing.
Specs & limits
- Format
- JSON-LD with schema.org vocabulary
- Types
- Article, FAQPage, Product, LocalBusiness, Organization, Event, Recipe, HowTo, WebSite, Person, BreadcrumbList, JobPosting
- Checks
- Missing required and recommended fields
- Processing
- In your browser
- Server calls
- None
Troubleshooting
›Rich Results Test shows errors
Cause: A required property is missing.
Fix: Add the field named in the error.
›No rich result appears
Cause: Eligibility is not guaranteed.
Fix: Check quality guidelines and wait for recrawl.
›Markup does not match the page
Cause: Content differs from the markup.
Fix: Update one so they agree.
Frequently asked questions
›What is JSON-LD?
A way to write structured data as JSON in a script tag, which Google recommends over microdata.
›Will schema markup improve my rankings?
Not directly. It helps search engines understand the page and can make you eligible for rich results.
›Does FAQ schema still show rich results?
Google restricted FAQ rich results to a few authoritative sites, but the markup remains valid.
›Where do I put the JSON-LD?
In a script type="application/ld+json" tag in the head or body of the page.
›Can I mark up content that is not on the page?
No. Markup must match visible content or it can be treated as spam.
›How do I test it?
Use Google's Rich Results Test or the Schema Markup Validator.