How to use the Schema Markup Generator
- 1Pick a schema type, such as FAQPage or LocalBusiness.
- 2Fill in the fields. Required fields are marked and checked.
- 3Fix any warnings shown under the form.
- 4Copy the JSON-LD script and paste it into your page, then test it with Google’s Rich Results Test.
What is a schema markup generator?
A schema markup generator turns information about your page into structured data: a small block of code that describes your content in a standard vocabulary search engines understand. This tool builds JSON-LD for ten common schema.org types (FAQ page, article, product, local business, organization, person, event, recipe, breadcrumbs and video), checks required fields, and gives you a script tag to paste into your page.
Structured data helps Google, Bing and AI assistants understand facts on your page, such as a product's price, an event's date or a business's address. It can also make a page eligible for rich results in Google.
How does JSON-LD work?
JSON-LD stands for JavaScript Object Notation for Linked Data. It sits in a <script type="application/ld+json"> tag, separate from your visible HTML, so you can add it without changing your design. Google recommends JSON-LD over the older Microdata and RDFa formats because it is easier to maintain.
Every block has two key properties:
@contextsays which vocabulary is used, alwayshttps://schema.orghere.@typesays what the thing is, such asProductorEvent.
The other properties depend on the type. The generator only includes fields you fill in and removes empty ones, so the output stays clean.
Which schema type should I use?
| Your page | Type | Common rich result |
|---|---|---|
| Questions and answers | FAQPage | FAQ dropdowns (now limited to some sites) |
| Blog post or news story | Article | Better title, image and date in results |
| Item for sale | Product | Price and availability |
| Shop, clinic, restaurant | LocalBusiness | Business details, map |
| Your company | Organization | Logo and knowledge panel signals |
| An author or professional | Person | Author information |
| Concert, webinar, class | Event | Event dates and location |
| Cooking instructions | Recipe | Cooking time and image |
| Site navigation path | BreadcrumbList | Breadcrumb URL line |
| A video on the page | VideoObject | Video thumbnail and key moments |
Google changes which rich results it shows. For example, in 2023 it limited FAQ rich results mainly to well-known government and health sites, as explained in its August 2023 announcement. The markup can still help search engines and AI tools understand the page.
Worked example: a local business
A dental clinic in Islamabad fills in the LocalBusiness form: type Dentist, name Smile Care Dental, street Plot 12, F-7 Markaz, city Islamabad, country PK, phone +92 51 1234567, and hours Mo-Sa 10:00-20:00. The generator outputs:
{
"@context": "https://schema.org",
"@type": "Dentist",
"name": "Smile Care Dental",
"telephone": "+92 51 1234567",
"address": {
"@type": "PostalAddress",
"streetAddress": "Plot 12, F-7 Markaz",
"addressLocality": "Islamabad",
"addressCountry": "PK"
},
"openingHours": ["Mo-Sa 10:00-20:00"]
}
Dentist is a more specific subtype of LocalBusiness, which gives search engines a clearer signal than the general type.
Tips and rules to follow
- Only mark up what is visible. Google's guidelines say structured data must describe content users can see on the page.
- Never invent reviews or ratings. This generator deliberately has no rating fields. Fake or self-written review stars can lead to a manual penalty.
- Use full URLs for images, logos and links.
- Test before publishing with Google's Rich Results Test and the Schema.org validator.
- Keep it updated. If a price or event date changes, update the markup too.
- Combine with other files. A clean XML sitemap and an llms.txt file help crawlers find and understand the same pages.
Limitations
The generator checks required fields, URL formats and numbers, and it always outputs valid JSON. It cannot check that your markup matches your page, and it does not cover every property of every type, only the common ones. Rich results are never guaranteed; Google decides when to show them. To inspect or tidy JSON-LD you already have, paste it into the JSON Formatter. For the basic tags every page needs, use the Meta Tag Generator.
Frequently asked questions
What is JSON-LD?
JSON-LD is a way to describe a page’s content in a script tag using the schema.org vocabulary. It is the format Google recommends for structured data.
Will schema markup give me rich results?
It makes a page eligible, but Google decides whether to show rich results. Some types, such as FAQ rich results, are now shown only for a small set of sites.
Can I add several schema blocks to one page?
Yes. You can add multiple JSON-LD scripts, or combine items in one array, as long as each describes content that is actually on the page.
Should I add review stars to my own product?
Only real reviews shown on the page may be marked up. Self-serving or invented ratings break Google’s guidelines and can lead to a manual action.
Last updated: . Written and tested by Abdul Moid Khan, ATechCraft. Read how we build and test tools.