About the Schema Markup Generator
Schema Markup Generator writes JSON-LD structured data for six common page types: FAQ page, article, product, local business, breadcrumbs and organization. Choose a type, fill in the fields and you get the JSON-LD plus a complete script tag ready to paste into your page. A checks list shows which required fields are still missing or badly formatted, such as a date that isn't written like 2026-01-31. The tool only writes the markup from what you type. It doesn't fetch or validate a live page, and generating markup does not guarantee rich results because Google decides what to show.
Updated September 2026
How to use the Schema Markup Generator
- 1Choose the type of markup, for example Product or Article.
- 2Fill in the fields, or press Try an example to see a filled-in version.
- 3Check the list of missing or invalid fields.
- 4Copy the script tag and paste it into the head or body of your page, then test it.
What structured data does
Structured data labels the parts of a page so software can read them reliably. A person sees a price next to a product photo. Structured data says this number is a price, in this currency, and that the item is in stock. Search engines use it to understand the page and, sometimes, to show extra details such as ratings, prices or breadcrumbs in results.
JSON-LD is the format Google recommends. It lives in a separate script tag instead of being woven through your HTML, which makes it easy to add and to change.
Choosing a schema type
- FAQ page: a list of questions with answers that are visible on the page.
- Article: a blog post or news item with a headline, author and dates.
- Product: something you sell, with a price, currency and availability.
- Local business: a shop, restaurant or office with an address and opening hours.
- Breadcrumbs: the trail of pages leading to the current one, at least two levels.
- Organization: your company, with a logo, contact details and social profiles.
Adding JSON-LD to your page
Fill in the form and copy the script tag. Paste it into the head of your page template or into the body. On a site builder or CMS, look for a place to add custom code or use its schema plugin. Special characters such as less-than signs are written as escape sequences inside the JSON, so text you type cannot close the script tag early.
Only mark up what visitors can see on the page. Markup that describes content that isn't there can be ignored or treated as a violation of Google's guidelines.
Testing and common mistakes
Test the finished page with Google's Rich Results Test. Common mistakes include a missing required field, a price with a currency symbol in it, a date in the wrong format, a relative address where a full one is needed and markup copied from another site that doesn't match your page.
The checks list catches many of these while you type. For your page's title and description text, see Meta Tag Generator, and to tidy the generated code by hand use JSON Formatter. Robots.txt controls which pages crawlers can visit; find that in Robots.txt Generator.
Features
- Six schema types in one tool
- Live check of required fields, web addresses and dates
- JSON-LD and a ready script tag
- Example data for every type
- Special characters escaped so the script tag can't be broken
- Nothing is uploaded
Frequently asked questions
What is schema markup?
It is extra code that describes the content of a page in a standard vocabulary from schema.org, so that search engines and other programs understand it. For example, it can state that a page is a product with a price, or an article with an author and a date.
Where do I put the JSON-LD code?
Paste the whole script tag into the head of the page, or anywhere in the body. It is not shown to visitors. Each page should carry only markup for content that is visible on that page.
Does FAQ schema still work in Google?
Since 2023 Google shows FAQ rich results only for a small group of well-known authoritative government and health sites. On other sites FAQ markup usually gives no visual change in results, although it may still help other systems read the page.
Which schema type should I use?
Pick the one that matches what the page is mainly about. Use Article for blog posts and news, Product for something you sell, Local business for a shop or office with an address, Organization for your company's main page and Breadcrumbs to show the page's position on the site.
How do I test my structured data?
Publish the page or paste the code into Google's Rich Results Test and the Schema Markup Validator. This generator does not fetch or validate live pages, so always test the final version.
Does schema markup improve rankings?
Not directly. Structured data helps search engines understand a page and can make it eligible for rich results, which may improve how the listing looks. Google decides whether to show them.
Why does the checker say my date is invalid?
Dates must be written year-month-day with two-digit months and days, like 2026-01-31, and they must be real calendar dates. February 30 is rejected. The date pickers in the form produce the right format.