Free tool / Structured data and hreflang
Schema Markup Generator: Free JSON-LD for 7 Types
Create JSON-LD structured data for an organization, local business, article, product, breadcrumb, event or person. See what Google requires, then copy the code.
Paste the block into the page's HTML, in the head or the body. Then test the live page with Google's Rich Results Test. Only mark up what visitors can see on the page.
How to use the schema markup generator
Pick a type, fill in the fields, then add the code to your page.
Choose a schema type
Pick the type that matches what the page is about: a business, an article, a product, an event or a person.
Fill in the fields
Fields marked Required must be filled in. The checks under the code tell you what Google still recommends.
Copy it to your page
Copy the script block into the page's HTML, publish, and test the live URL in Google's Rich Results Test.
Which schema type to use
The seven types in this generator, what they are for and what Google needs at a minimum.
| Type | Use it on | Google needs |
|---|---|---|
| Organization | Your homepage or About page, once per site | No required fields. Name, URL and logo are recommended. |
| LocalBusiness | The page for a shop, office or service area business | Name and address |
| Article | Blog posts, news stories and guides | No required fields. Headline, image, dates and author are recommended. |
| Product | A page that sells or reviews one product | Name, plus an offer, a rating or a review |
| BreadcrumbList | Any page below the homepage | At least two items, each with a name and URL |
| Event | A page for one dated event | Name, start date and location |
| Person | Author and profile pages | No rich result of its own. A name is the minimum. |
What is schema markup?
Schema markup is code that describes a page so machines can read it without guessing. It uses the common vocabulary from schema.org, so "this is a product, it costs 89.99 USD and is in stock" means the same thing to every search engine.
Google recommends the JSON-LD format. It's a small block of JSON inside a script tag, kept separate from your visible HTML, so you can add, edit and remove it easily without touching the page design.
What structured data can do for a page
- Rich results: product prices and ratings, event dates, breadcrumb trails and article details can appear in Google's results.
- Clear facts: your name, logo, address and opening hours are stated once, in a single format.
- Better understanding: search engines and other systems can tell who wrote an article or which company runs a site.
Structured data doesn't boost rankings on its own. Its value is that it makes a page eligible for rich results and removes any doubt about what the page is.
Rules Google expects you to follow
Google has a few general rules for structured data, and a page that breaks them can lose its rich results.
- Mark up only what is on the page. Any rating, price or event date in the code must also be visible to visitors.
- Keep it accurate. If the price or stock changes, update the markup as well.
- Use the most specific type. Plumber describes a plumber better than LocalBusiness does.
- No self-written reviews for your own business. Google doesn't show review stars for LocalBusiness or Organization pages where the business reviews itself.
- Fill in the required fields. If they're missing, the page isn't eligible for that rich result.
Required vs recommended properties
Each rich result type has required properties and recommended ones. Required properties must be there for the page to qualify. Recommended properties add detail and can make the result look better.
This generator marks both. The checks under the code list anything that's missing, so you can see at a glance what to add before you publish.
Dates and time zones
Dates in structured data use the ISO 8601 format, such as 2026-12-03T09:00:00+00:00. The generator adds the time zone you choose to every date, because a date without one can be read in the wrong zone.
URLs
Every URL in schema markup should be a full address starting with https://. Relative paths such as /logo.png are easy to get wrong, so the checks flag them.
Testing your markup
Once the page is published, test the live URL with Google's Rich Results Test. It shows which rich results the page is eligible for and lists any errors and warnings. The Schema Markup Validator at validator.schema.org checks the code against schema.org itself, so it also covers types Google doesn't use for rich results.
After that, keep an eye on the Enhancements reports in Google Search Console. They show errors across every page that uses the same markup, which is where template problems show up.
Checking schema across a whole site
Adding markup to one page only takes a moment. Keeping it right across hundreds of pages is harder, because templates change and plugins add their own blocks. The free Crawlfree website crawler reports the schema it finds on every page in a single crawl, so you can spot pages that have lost their markup.
Schema markup generator: questions
Short answers about how this tool works. Something missing? Ask us.
Where do I paste the JSON-LD code?
Anywhere in the page's HTML, in the head or the body. On WordPress, an SEO plugin or a header-and-footer code plugin can add it to one page. Google reads JSON-LD wherever it sits on the page.
Will schema markup get me rich results?
It makes a page eligible, but it is not a guarantee. Google decides whether to show a rich result based on the page, the search and its own quality rules.
Does schema markup improve rankings?
Google says structured data is not a general ranking factor. It helps Google understand the page and can make your result stand out, which can lead to more clicks.
Can I add more than one schema type to a page?
Yes. A blog post can have Article and BreadcrumbList blocks, for example. Add each as its own script block, or combine them later in one block with an @graph list.
Why is there no FAQ or HowTo option?
Google stopped showing HowTo rich results in 2023 and limited FAQ results to well-known government and health sites. FAQ markup still has its own FAQ schema generator if you want it.
Is anything I enter sent to you?
No. The code is built in your browser. Your last entries are kept in your own browser so they are still there when you come back.
Related free tools
All free tools →Schema checker
Read the structured data on a page and spot missing fields.Checks a live URLFAQ schema generator
Turn questions and answers into FAQPage markup.Runs in your browserHreflang checker
Check hreflang tags and their return links.Checks a live URLHreflang generator
Write hreflang tags for every language version.Runs in your browserCheck the schema on every page of your site
Crawlfree audits every page in one crawl. Free for Windows, no sign-up, unlimited URLs.