Fill in a simple form and get JSON-LD structured data you can paste into your page. Pick a page type, add your details, and the code updates as you type.
Your JSON-LD code
Paste the code into the head of your page, or into a custom HTML block. Nothing you type leaves your browser.
The tool also lists what Google still needs before a page can show as a rich result, so you know when the code is ready.
How to use the schema markup generator
- Pick a schema type from the tabs at the top.
- Fill in the fields. Empty fields are left out of the code.
- Read the message under the code. It says what is still needed, or that the code is ready.
- Press Copy code and paste it into your page, then test the live page with Google’s Rich Results Test.
Schema types included
- Article, blog post and news article.
- FAQ page, with as many questions as you need.
- Breadcrumb list.
- Organization, with social profile links.
- Local business, with address, map position and opening hours.
- Product, with price, availability and ratings.
- Web application, for online tools and apps.
Before you add schema
Structured data has to match what visitors can see on the page. Do not mark up reviews, prices or questions that are not shown on the page itself.
Valid schema makes a page eligible for rich results, but Google decides whether to show them. Since 2023 Google only shows FAQ rich results for well known government and health websites, though FAQ markup is still valid.
Frequently asked questions
Where do I paste the code?
Inside the head of the page, or anywhere in the body. In WordPress, a Custom HTML block on the page works, as does a header and footer code plugin.
What is JSON-LD?
It is the structured data format Google recommends. It sits in a script tag, separate from your visible content, so it is easy to add and update.
Does schema help my rankings?
Google uses structured data to understand a page and to show rich results. It is not a ranking boost on its own.
Related tools
- Free Meta Tag Generator: Make title, description, canonical and robots meta tags with a live search result preview that measures your title width in pixels.
- Free Open Graph Tag Generator: Make Open Graph and X card tags so your links look good on Facebook, LinkedIn, WhatsApp and X.
- Free JSON Formatter Online: Format, minify and check JSON in your browser.