The output is built with JSON.stringify, so it is always valid JSON. After adding it to your page, test the live URL in Google's Rich Results Test or the Schema Markup Validator; this page does not check eligibility for rich results.
How to use the schema generator
Choose the schema type: FAQPage, HowTo, Article or LocalBusiness.
Fill in the fields. For FAQ and HowTo, use + Add and Remove to build the list of questions or steps.
Watch the warnings. Empty fields are left out of the output automatically.
Press Copy script tag and paste it into the page, then test the published URL in Google's Rich Results Test.
What people use it for
FAQ sectionsMark up the questions and answers already shown on a page.
TutorialsDescribe the steps, supplies and tools of a how-to page.
Blog postsGive search engines a clear headline, date and author.
Local businessesState your name, address, phone and opening hours in one consistent block.
What rich results you can expect
Structured data describes a page; it does not guarantee any special display. Google has narrowed some features over time. In 2023 it announced that FAQ rich results would mainly appear for well-known, authoritative government and health sites, and that HowTo rich results would no longer be shown. The markup is still valid schema.org, other systems can read it, and it costs little to keep, but do not add it expecting extra lines in Google results.
Article and LocalBusiness markup are about clarity: they help search engines confirm the headline, dates, author, address and hours. For a local business, matching details on your site, your business profile and directory listings matter more than the markup alone.
Rules that keep schema out of trouble
- Mark up only what is visible. Every question, answer and step in the JSON-LD should appear on the page.
- One page, one FAQ. Do not copy the same FAQ markup across many pages.
- No advertising in answers. FAQ answers should answer, not sell.
- Use full URLs for images, logos and pages.
Our guide on adding FAQ and HowTo schema walks through a full example and the usual mistakes. Use the meta tag generator for the rest of the head.
Frequently asked questions
What is JSON-LD schema markup?
A block of JSON inside a script tag that describes a page in schema.org terms, such as an FAQ, a recipe or a business. Google recommends JSON-LD over other structured data formats.
Is this schema generator free?
Yes. It runs in your browser with no signup and nothing is uploaded.
Will FAQ schema give me rich results in Google?
Probably not for most sites. Since 2023 Google has mainly shown FAQ rich results for well-known government and health sites. The markup remains valid and harmless when it matches the page.
Does Google still show HowTo rich results?
No. Google announced in 2023 that it would stop showing them. HowTo markup is still valid schema.org vocabulary.
Where do I paste the script tag?
In the page head or body. In WordPress, use a header-code plugin, your theme's custom code area, or the schema settings in your SEO plugin.
How do I test my schema?
Publish the page, then enter its URL in Google's Rich Results Test or the Schema Markup Validator. Both are free.
Can I have several schema types on one page?
Yes. Add one script tag per type, or combine them in an @graph array. Make sure each describes content that is on the page.