Schema Markup Generator

  • Free, no sign-up
  • Runs in your browser
  • Updated
Quick answer. The Schema Markup Generator turns a simple form into valid JSON-LD structured data for ten common schema.org types, checks required fields and wraps the result in a script tag ready to paste into your page.

Schema Markup Generator tool

Questions and answers *

Test the result with Google's Rich Results Test before publishing. Only mark up content that is visible on the page.

Runs in your browser. Your data never leaves your device.

How to use the Schema Markup Generator

  1. 1Pick a schema type, such as FAQPage or LocalBusiness.
  2. 2Fill in the fields. Required fields are marked and checked.
  3. 3Fix any warnings shown under the form.
  4. 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:

  • @context says which vocabulary is used, always https://schema.org here.
  • @type says what the thing is, such as Product or Event.

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 pageTypeCommon rich result
Questions and answersFAQPageFAQ dropdowns (now limited to some sites)
Blog post or news storyArticleBetter title, image and date in results
Item for saleProductPrice and availability
Shop, clinic, restaurantLocalBusinessBusiness details, map
Your companyOrganizationLogo and knowledge panel signals
An author or professionalPersonAuthor information
Concert, webinar, classEventEvent dates and location
Cooking instructionsRecipeCooking time and image
Site navigation pathBreadcrumbListBreadcrumb URL line
A video on the pageVideoObjectVideo 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

  1. Only mark up what is visible. Google's guidelines say structured data must describe content users can see on the page.
  2. Never invent reviews or ratings. This generator deliberately has no rating fields. Fake or self-written review stars can lead to a manual penalty.
  3. Use full URLs for images, logos and links.
  4. Test before publishing with Google's Rich Results Test and the Schema.org validator.
  5. Keep it updated. If a price or event date changes, update the markup too.
  6. 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.