See if ChatGPT recommends you. Free, 60 seconds.
Free SEO Tool

Free Schema Markup Generator

Build valid JSON-LD structured data for any page in seconds. Seven schema types, each labelled with what it still does in Google. No sign-up required.

Shows a rich result in Google

For blog posts, news stories and editorial pages. Google still uses Article markup for Top stories and article rich results.

Keep under 110 characters.

{
  "@context": "https://schema.org",
  "@type": "Article"
}

Paste this inside a <script type="application/ld+json"> tag in the head of your page.

copies the full script tag

How to use the schema markup generator

1. Pick a schema type

Choose from Article, Product, Local Business, Organization, FAQ, Breadcrumb or How-To. Each one shows whether Google still renders a rich result for it.

2. Fill in the fields

Enter your values. Required fields are marked, and the tool tells you which ones Google needs before the markup will validate.

3. Copy and validate

Copy the JSON-LD or the complete script tag, paste it into your page head, then check it with the schema.org validator or the Rich Results Test.

What is schema markup?

Schema markup, also called structured data, is code that describes your page in a vocabulary search engines already understand. Instead of leaving a crawler to infer that "$199" is a price and "4.6" is a rating, you state it explicitly.

The vocabulary comes from schema.org, a shared standard maintained by Google, Microsoft, Yahoo and Yandex. It defines more than 800 types, each with its own properties, though a typical site needs only a handful of them.

Three formats exist: JSON-LD, Microdata and RDFa. Google recommends JSON-LD, which is what this generator produces. It lives in a single script block in the head of the page rather than being woven through your HTML attributes, so it is far easier to add, read and maintain.

Schema markup is not a direct ranking factor. What it does is make your page unambiguous, which is what qualifies it for rich results and makes it easier for AI search tools to quote correctly.

Schema markup types and which still show rich results

Google has retired rich results for several popular types while the markup itself stayed valid. Here is where the seven types in this generator actually stand.

TypeUse it forIn Google today
ArticleBlog posts, news and editorial pagesRich result
ProductProduct pages with price and availabilityRich result
LocalBusinessBusinesses with a physical locationRich result
OrganizationYour company as an entity, logo and profilesRich result
BreadcrumbListThe navigation path of a pageRich result
FAQPagePages with questions and answersRemoved May 2026
HowToStep by step instructionsRemoved Sept 2023

Two of these changed and most generators have not caught up. Google stopped showing How-to rich results on 13 September 2023 and has since removed the How-to structured data documentation entirely. FAQ rich results were removed from Search on 7 May 2026. Google retired seven further types in June 2025.

Neither type was deprecated as schema.org vocabulary. Both still validate, and Google has confirmed it continues to read FAQPage data to understand a page. What disappeared is the visible payoff in the results, which is why this generator tells you which is which before you publish rather than after.

How to add schema markup to your website

The same four steps cover how to add schema markup to website pages on any platform.

  1. 1Generate the markup above and copy it, either as raw JSON-LD or as the complete <script type="application/ld+json"> tag.
  2. 2Paste it into the <head> of the page it describes. JSON-LD does not have to touch your existing HTML, so nothing else needs to change.
  3. 3Publish, then view the page source and search for application/ld+json to confirm the block is actually there.
  4. 4Validate the live URL at validator.schema.org or with Google's Rich Results Test, and fix anything either one reports.

WordPress: an SEO plugin such as Yoast or Rank Math already generates schema for common types, so check what you have before adding more. For a type your plugin does not cover, paste the JSON-LD into a per-page custom code field, or add it via wp_head in a child theme so a theme update cannot overwrite it. Two conflicting blocks describing the same page is a common and avoidable problem.

Webflow, Squarespace and Shopify each expose a per-page custom code or head field. Use the page-level setting rather than the site-wide one, so each page gets markup describing itself.

Google Tag Manager can inject schema, and it works, but the markup then depends on JavaScript executing before a crawler reads the page. Server-rendered markup in the page source is more reliable when you have the option.

Schema markup examples

What the output actually looks like.

A minimal Article schema example, the kind an article schema generator produces for a blog post:

{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "How to run a technical SEO audit",
  "author": {
    "@type": "Person",
    "name": "Jane Doe"
  },
  "datePublished": "2026-09-01"
}

And a Product schema example, the core of what a product schema generator outputs. The offers block is what makes the page eligible for a price and availability snippet:

{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Wireless Headphones",
  "offers": {
    "@type": "Offer",
    "price": "199.00",
    "priceCurrency": "USD",
    "availability": "https://schema.org/InStock"
  }
}

Both follow the same shape: @context pointing at schema.org, @type naming the type, then one property per detail. Nested objects such as author and offers carry their own @type. Select a type in the generator above and the complete version builds as you type.

How to check your schema markup

  • validator.schema.org checks your markup against the schema.org vocabulary itself. Use it to confirm the code is well formed and the properties are real.
  • Google Rich Results Test checks eligibility for Google features specifically. It reports missing required properties for the types Google supports.
  • Google Search Console reports structured data found across your whole site under Enhancements, which is how you catch a template-wide error rather than a single page.
  • View source and search for application/ld+json to confirm the markup is in the HTML rather than being added later by JavaScript.

One thing to expect: for FAQPage and HowTo, the Rich Results Test may report that no rich result is available even when your markup is completely valid. That reflects the retired features, not a problem with your code. Read the schema.org validator output for those two.

Common schema markup mistakes

Four errors account for most invalid or ignored structured data.

Marking up content the page does not show

The markup has to describe what a visitor actually sees. Adding review stars or FAQ answers that appear nowhere on the page is a structured data spam violation and can trigger a manual action.

Leaving out required properties

Every type has properties Google treats as required. A Product without an offer, or an Article without a headline, will parse as valid JSON but fail eligibility. The generator flags these as you type.

Broken JSON from unescaped characters

A stray quotation mark or angle bracket inside a description breaks the whole block, and search engines skip it silently. Generating the code escapes these for you.

The same markup on every page

Copying one block across a whole template means every page claims to be the same article or product. Schema should be generated per page from that page's own content.

Frequently asked questions

What is a schema markup generator?
A schema markup generator is a free tool that turns a simple form into valid structured data code. You pick a type such as Article or Product, fill in the fields, and it outputs JSON-LD you can paste into your page. It saves you writing schema.org syntax by hand and avoids the escaping and formatting errors that cause most hand-written markup to fail.
What is a schema generator?
A schema generator is the same thing as a schema markup generator: a tool that builds structured data for a web page from a form. The term is sometimes also used for database schema tools or JSON Schema generators, which are unrelated to SEO. In an SEO context it always means generating schema.org markup, almost always in JSON-LD format.
What is the best schema markup generator?
The best one for you is whichever covers the types you need, produces valid JSON-LD, and is honest about what each type still does. That last part matters more than it used to, because Google has retired rich results for several popular types while most generators still present them as if nothing changed. This tool labels every type with its current status so you know what you are getting before you publish.
Is there a free schema code generator available?
Yes, several, including this one. This schema markup generator is free, requires no sign-up, and runs entirely in your browser, so nothing you type is sent to a server. You can generate as many blocks as you like, copy them as raw JSON-LD or as a complete script tag, and download them as a file.
How can I create a schema?
Pick the type that matches what the page is about, then describe the page with the properties that type defines. Using the generator above: select a type, fill in the fields, and copy the output. By hand you would write a JSON object with an @context of https://schema.org, an @type naming the type, and one property per detail, then wrap it in a script tag with type application/ld+json.
How do I do schema markup?
Choose one primary type per page that reflects the page's main purpose, generate the markup, add it to the page head, then validate it. Start with the types that map to pages you already have: Article for blog posts, Product for product pages, LocalBusiness for a location page, Organization for your homepage. Do not stack unrelated types onto one page hoping for more coverage.
How do I implement schema markup?
Paste the JSON-LD into a script tag with type application/ld+json, placed in the head of the page. JSON-LD is Google's recommended format precisely because it sits in one block and does not require changing your HTML. In a templated site, generate the values from the page's own data rather than hard-coding one block into the template.
How do I add schema markup to my website?
Generate the markup, then add it to the page head using whatever your platform provides: a custom head code field, a theme template, or a tag manager. In Webflow and Squarespace, use the per-page custom code setting. In a hand-built site, add the script tag to the head of the template that renders the page. Publish, then validate the live URL to confirm the markup is present and parsing.
How do I add schema markup to a WordPress website?
There are three routes. An SEO plugin such as Yoast or Rank Math generates schema for common types automatically, which covers most sites with no code. For a type your plugin does not handle, paste the generated JSON-LD into a per-page custom code field, available in most page builders. Alternatively, add it to your theme with wp_head, ideally in a child theme so an update does not overwrite it. Always check for markup your plugin already outputs first, so you do not end up with two conflicting blocks on the same page.
How do I know if my website has schema markup?
Open any page, view the source, and search for application/ld+json. Anything you find is your existing structured data. For a readable view, run the URL through validator.schema.org or Google's Rich Results Test, both of which list every type they detect. Google Search Console also reports structured data it has found across your site, under the Enhancements section.
What are the four types of schema?
There is no fixed set of four: schema.org defines over 800 types. The question usually reflects the four formats or the handful of types that matter most in practice. On formats, the options are JSON-LD, Microdata and RDFa, and Google recommends JSON-LD. On types, the ones most sites actually need are Article, Product, LocalBusiness and Organization, which is likely where the number comes from.
Start free today

Millions of people will ask AI about your category this week

RankSpot researches, writes and publishes daily, and sends you the short list of what's left. Free for 3 days.

Start free trial