Schema markup generator
Fill in a short form and get JSON-LD structured data to paste into your page, with checks for what Google needs. Nothing you type leaves your browser.
JSON-LD
CopiedPaste the code into the page, anywhere in the HTML, then test it with Google's Rich Results Test, or with the Schema Markup Validator for types Google doesn't show as rich results, such as FAQ.
What is schema markup?
Schema markup is a short block of JSON-LD that describes the page in a way search engines read without guessing: this is a restaurant at this address, this article was written by this person, this product costs this much. Google uses it for rich results, such as star ratings, event dates and breadcrumb trails.
Which kind to choose
| Organisation | Your company or group, on the home page: name, logo and social profiles. |
|---|---|
| Local business | A place people visit, such as a shop, restaurant or clinic, with address and hours. |
| Article or blog post | Each news story or post, with headline, date and author. |
| FAQ page | A page of questions and answers. Google stopped showing FAQ rich results in May 2026, but the markup is still valid, and other search engines and AI tools can read it. |
| Product | A product page with price, stock and reviews. |
| Event | A concert, class or webinar with its date and place. |
| Breadcrumb trail | The path from the home page to this page. |
| Person | An author or profile page. |
Privacy: how this tool handles your details
When you use Schema generator, your browser reads your details on your device and the tool's code does the work in this tab. PageYak's server only sends the page and its code. It never receives your details, so there is nothing to delete afterwards.
How PageYak works explains this in more detail.
What schema markup is used for
The generator writes JSON-LD, the format Google recommends, so you can paste it into a page without changing your HTML. It works like a free JSON-LD generator for the common types.
- Telling Google your business name, address, opening hours and phone number.
- Describing articles, products, events and FAQs in a form search engines read reliably.
- Helping AI answers and search features pick up the right facts about your page.
Questions
Where do I put the code?
Anywhere in the page's HTML, usually inside the head. Most website builders have a box for custom code or header scripts.
Will schema markup raise my ranking?
Not directly. It helps search engines understand the page and can make the result stand out, which can bring more clicks.
Must the details match the page?
Yes. Google asks that the markup describes what visitors can see on the page. Ratings and prices in the markup must be shown on the page too.
How do I test my schema markup?
Paste the page address or the code into Google's Rich Results Test or the Schema.org validator.
Can I add more than one schema to a page?
Yes. Add one script block per type, for example Organization and FAQPage on the same page.
Related tools
Last updated 12 November 2026.