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.
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.
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.
| Type | Use it for | In Google today |
|---|---|---|
| Article | Blog posts, news and editorial pages | Rich result |
| Product | Product pages with price and availability | Rich result |
| LocalBusiness | Businesses with a physical location | Rich result |
| Organization | Your company as an entity, logo and profiles | Rich result |
| BreadcrumbList | The navigation path of a page | Rich result |
| FAQPage | Pages with questions and answers | Removed May 2026 |
| HowTo | Step by step instructions | Removed 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.
- 1Generate the markup above and copy it, either as raw JSON-LD or as the complete
<script type="application/ld+json">tag. - 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. - 3Publish, then view the page source and search for
application/ld+jsonto confirm the block is actually there. - 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+jsonto 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?
What is a schema generator?
What is the best schema markup generator?
Is there a free schema code generator available?
How can I create a schema?
How do I do schema markup?
How do I implement schema markup?
How do I add schema markup to my website?
How do I add schema markup to a WordPress website?
How do I know if my website has schema markup?
What are the four types of schema?
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
