Schema Generator
Generate valid JSON-LD structured data for Organization, LocalBusiness, Article, FAQ, Product, WebSite and HowTo. Free, no sign-up, and it runs in your browser.
Dedicated page: /en/schema-generator
Quick answer
A schema generator creates JSON-LD structured data that helps Google understand your page content and become eligible for rich results like stars, prices and FAQs. Build valid schema for Organization, LocalBusiness, Article, FAQ, Product, BreadcrumbList and more, then copy the finished script into your page head or body.
About this Schema Generator
Generate valid JSON-LD structured data for Organization, LocalBusiness, Article, FAQ, Product, WebSite and HowTo. It is one of the SEO and Webmaster on ToolUstad, and like every tool here it runs entirely in your browser: nothing you type, paste or open is uploaded to a server, and there is no sign-up or usage limit.
What is schema markup?
Schema markup is structured data written in the Schema.org vocabulary that labels what things on a page are: this is a business, this is a product with a price, these are questions and answers. Google uses it to power rich results such as star ratings, FAQ accordions, prices and breadcrumbs in search results. JSON-LD, the format this generator writes, is the format Google recommends, because it sits in one script block and does not touch your visible HTML.
Schema types this generator builds
| Type | Best for | Possible rich result |
|---|---|---|
| Organization | Company home pages | Knowledge panel details |
| LocalBusiness | Shops, clinics, local services | Hours, address, map data |
| Article | Blog posts and news | Headline and date in Top Stories |
| FAQPage | Pages with real questions and answers | Expandable FAQ listings |
| Product | E-commerce product pages | Price, availability, ratings |
| BreadcrumbList | Any page with breadcrumbs | Path shown instead of raw URL |
| WebSite | Home pages | Sitelinks search box eligibility |
When and why to add structured data
- E-commerce: Product schema with offers and review data is how prices and stars reach the results.
- Local businesses: LocalBusiness schema confirms your address, opening hours and phone to Google.
- Content sites: Article and FAQPage schema clarify authorship, dates and answers.
- Any site: BreadcrumbList makes your result show a clean path instead of a long URL.
Best practices
- Only mark up content that is visible to visitors on the same page: hidden data risks a manual action.
- Validate the output in Google's Rich Results Test before and after publishing.
- Keep data accurate: update prices, ratings and hours in the schema when they change on the page.
- Use the most specific type available, for example Dentist instead of generic LocalBusiness.
Common mistakes to avoid
- Adding FAQ schema to pages with no visible questions and answers.
- Marking up reviews you wrote yourself or copied from another site.
- Invalid JSON from a missing comma, which makes Google ignore the whole block.
- Marking every page as an Article regardless of what the page actually is.
Who is the schema generator for?
SEO specialists, developers, e-commerce managers and local business owners who want rich results without memorising the Schema.org specification. Hand writing JSON-LD is slow and one syntax slip invalidates it, while the generator asks for the fields in plain language and outputs valid, ready to paste code. Agencies can use it to produce client-ready markup without opening an editor or checking the Schema.org docs by hand.
How to test and maintain your markup
Adding the script is step one; keeping the rich result is the ongoing job. Run every new template through Google's Rich Results Test, then check the enhancement reports in Search Console a week after launch, because Google reports schema errors per page type there at scale. The most common production failure is drift: the page price changes but the Product schema does not, or opening hours change in one place only. Treat the JSON-LD as part of the content, reviewed whenever the visible page is edited, and your markup will keep passing long after the launch day screenshot.
Learn: how to use the Schema Generator
- Choose the schema type that matches your page.
- Fill the required fields (marked with an orange asterisk) and any optional fields you have real data for. Never invent ratings or reviews.
- Copy the script block into your page and test the published page in Google's Rich Results Test.
Features
- Seven types: Organization, LocalBusiness, Article (BlogPosting), FAQPage, Product, WebSite and HowTo
- Type-specific fields, including address and geo for local businesses and offers and ratings for products
- Repeatable question and answer rows for FAQ, and step rows for HowTo
- Live output with valid JSON guaranteed, copy and download
Worked example
An FAQ page with two filled rows produces a complete FAQPage object whose mainEntity holds both Question and Answer pairs, exactly the structure Google documents for FAQ rich results.
Frequently asked questions
Where do I paste the JSON-LD?
Inside the head of the page or just before the closing body tag. Both work; the head is the most common choice.
Will schema guarantee rich results?
No. Schema makes your page eligible and helps search engines understand the content, but Google decides which results to display, and FAQ rich results are now mostly limited to government and health sites.
Can I add a rating I do not have?
No. Fake aggregate ratings violate Google's guidelines and can earn a manual action. Only mark up reviews that are genuinely visible on the page.
What is the difference between Article and BlogPosting?
BlogPosting is a subtype of Article used for blog posts. This generator outputs BlogPosting with author and publisher blocks, which suits most blogs.
Does schema markup guarantee a rich result?
No. Schema makes a page eligible for rich results, but Google decides whether to show them, and it has reduced some types, like FAQ, to mainly government and health sites. Accurate markup still helps Google understand the page.
Where do I paste JSON-LD on my page?
In the head section or just before the closing body tag: Google reads it in either place. Keep one script block per schema type and make sure the JSON is valid before publishing.
What is the difference between JSON-LD, Microdata and RDFa?
All three express Schema.org data. JSON-LD keeps it in a separate script block, which is easiest to add and maintain. Microdata and RDFa wrap attributes around the visible HTML. Google recommends JSON-LD.
Related tools
More SEO and Webmaster like this one, plus two picks from other categories. Each opens its own dedicated page.