> schema --generate json-ld

Free Schema Markup Generator for JSON-LD

Turn a simple form into clean JSON-LD code for Article, Product, FAQ, Local Business and 6 more types. Free, no sign-up, and your data never leaves your browser.

Not rated yet · Built and tested by the SpellMistake team · Your data stays private
AT A GLANCE
  • What it doesWrites JSON-LD schema code from a form
  • Accuracy100% in 1,080 tests
  • Works with10 schema types, any website or CMS
  • PriceFree, no sign-up, no limit
  • Last reviewed
Schema type
Details
JSON-LD
> define

What Is a Schema Markup Generator?

Short answer
A schema markup generator is a tool that writes structured data code for you. You fill in a form, and it creates JSON-LD code using the schema.org vocabulary. You paste that code into your page so Google, Bing and AI search tools can understand what the page is about, such as a product, an article or a local business.

Schema markup is a small block of code that labels the facts on your page: the price of a product, the author of an article or the opening hours of a shop. Search engines use these labels to understand your content and, for some types, to show rich results like star ratings, prices or event dates. Writing this code by hand is easy to get wrong. One missing comma breaks it. A generator builds it for you with the right structure every time.

Quick facts
> how --to

How to Use the Schema Markup Generator

You can create your first schema code in about one minute.
01

Choose a schema type

Click the type that matches your page, for example Product for a product page or Article for a blog post.
02

Fill in the form

Fields with a star (*) are required. Fill in the others too if you can, because more details help search engines. Click “Fill an example” to see how it works.
03

Check the live code

The JSON-LD code updates as you type. If something required is missing, the tool lists it under the code.
04

Copy or download

Click “Copy code”, or download it as a .html file with the script tag or as a .json file without it.
05

Add it to your page and test it

Paste the code into your page, publish it, then test the live URL in Google’s Rich Results Test or our Schema Markup Validator.

Where to paste the code

Paste the full <script type="application/ld+json"> block in the <head> or the <body> of your page. Google reads it in both places.

  • WordPress: use a header and footer code plugin, the custom schema option in your SEO plugin, or an HTML widget on that page.
  • Elementor: add an HTML widget to the page, or use Custom Code in Elementor Pro.
  • Shopify: add it to the right template in your theme code.
  • Plain HTML: paste it before the closing </head> tag.

Only add schema to the page it describes. Product schema goes on the product page, not on your home page.

Ready to try it? It is free and takes less than a minute.
> ls ./guide

Schema Types You Can Create

The generator covers the 10 types most websites need. Here is what each one is for and whether Google shows a rich result for it as of October 2026.
Schema typeUse it forGoogle rich resultFields you must fill
ArticleBlog posts, news and guides. Choose Article, BlogPosting or NewsArticle.Yes, article title, image and dateHeadline, published date, author name
ProductProduct pages in an online storeYes, price, stock and ratingsProduct name, price, currency
FAQQuestion and answer sectionsNo, removed by Google in May 2026At least one question and answer
BreadcrumbShowing where a page sits in your siteYes, breadcrumb trailA name for each step, and a URL for every step except the last
OrganizationCompany and brand details. 7 sub types, such as Corporation and OnlineStore.Yes, logo and company detailsName, website
Local BusinessShops, clinics, restaurants and offices with an address. 13 sub types.Yes, address, hours and phoneBusiness name, street address, city
EventConcerts, meetups, classes and webinarsYes, date, place and ticketsEvent name, start date, venue (in person) or event URL (online)
PersonAuthor pages and team profilesNot on its own. It supports author and profile details.Full name
VideoPages with a main videoYes, thumbnail, length and dateTitle, description, thumbnail, upload date
WebsiteYour home pageYes, helps Google show your site nameSite name, home page URL
Rich result status is based on Google’s search gallery, checked October 11, 2026. Google can change it at any time, and we update this table in our monthly review.
> cat methodology.md

How the Schema Markup Generator Works

Here is exactly what happens between your form and the code, so you know you can trust the result.
  1. 01

    You pick a type

    The form shows only the fields that type uses. Every field comes from schema.org and Google's documentation for that rich result.

    In your browser
  2. 02

    Your input is cleaned

    Extra spaces are removed, one-per-line fields become lists, and empty fields are skipped, so the code never has blank values.

    In your browser
  3. 03

    Fields are mapped to properties

    Each field has a fixed schema.org path, like offers.price. Nested parts get their own type, such as Offer, Brand, PostalAddress or Place.

    In your browser
  4. 04

    Values are formatted

    Dates, times, prices, video lengths and stock status are turned into the exact formats Google expects. See the rules below.

    In your browser
  5. 05

    Required fields are checked

    The tool compares your form with the required fields for that type and shows a "Still needed" list until everything is filled.

    In your browser
  6. 06

    Clean JSON-LD is built

    The code puts @context and @type first, uses 2-space indents and is wrapped in a script tag if you want. Nothing is sent to a server.

    In your browser
You typeThe tool writesRule
4:35PT4M35SVideo length in ISO 8601 duration format
1:02:03PT1H2M3SHours, minutes and seconds
$1,299.9"1299.90"Price: keep digits and the dot, round to 2 decimals
In stockhttps://schema.org/InStockFixed values use the full schema.org URL
Mon to Fri, 09:00 to 17:00["Monday", ... "Friday"]Day ranges become a list of day names
Nov 14, 2026, 8:00 AM2026-11-14T08:00:00+05:00Event times in ISO 8601 with your time zone
Two image URLs on two lines["url-1", "url-2"]One line is text, more lines become a list
4.64.6Ratings and map points are numbers, not text

Duration formula: total seconds = hours × 3600 + minutes × 60 + seconds. The tool then writes PT + hours + H + minutes + M + seconds + S, and leaves out any part that is zero.

Formulas and Formatting Rules

These are the rules the tool uses to turn what you type into valid structured data.
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Trail Runner X",
  "brand": {
    "@type": "Brand",
    "name": "RunLab"
  },
  "sku": "TRX-001",
  "offers": {
    "@type": "Offer",
    "price": "129.00",
    "priceCurrency": "USD",
    "availability": "https://schema.org/InStock"
  }
}
</script>
Every block has @context, @type, properties and nested objects with their own @type.
> test --report

Is the Schema Markup Generator Accurate?

Yes. In our latest test, the generator produced correct, valid code in 1,080 of 1,080 cases. Here is how we tested it, so you can judge the result yourself.
1,080
test cases run
October 11, 2026
100%
passed every check
1,080 of 1,080
10
schema types tested
100+ cases each
Monthly
full re-test
plus fast bug fixes
What every test case checked

Accuracy in plain words

  • Date: October 11, 2026
  • Tool version: 1.0.1
  • Method: the real tool was filled in automatically in a Chromium browser, 100 complete forms per schema type with random real-world values, plus 80 forms with a required field left empty
  • Rules used: the schema.org vocabulary file and Google’s required properties for each rich result

Our first run on version 1.0.0 passed 330 of 340 cases (97.1%) and found 3 bugs. We fixed them the same day. You can see them in the update log below.

Keep in mind
Every test produced valid JSON-LD that matched the expected result. It does not mean Google will show a rich result for your page. Google decides that, based on your content, the page quality and its own rules.
> features

Features of the Schema Markup Generator

Everything you need to create correct structured data, without writing code.

10 schema types

Article, Product, FAQ, Breadcrumb, Organization, Local Business, Event, Person, Video and Website.

Live code preview

The JSON-LD updates as you type, with color highlighting that is easy to read.

Missing field alerts

A "Still needed" list shows which required fields are empty.

One-click example

"Fill an example" shows a complete form, so you see what good data looks like.

Copy or download

Copy with one click or download as .html with the script tag, or .json without it.

Correct formats

Prices, dates, times, video length and opening hours are formatted for Google.

> limits --honest

Limitations of This Tool

No tool does everything. Here is what this one does not do, and what you should do yourself.
What the tool cannot do
What you should do
> whoami

Who Can Use This Schema Markup Generator?

Anyone who wants search engines to understand their pages. You do not need to know how to code.

Bloggers and writers

Add Article and Breadcrumb schema to posts so search engines see the author, date and topic.

Online store owners

Create Product schema with price, stock and real ratings for product pages.

Local businesses

Add your address, phone and opening hours with Local Business schema.

SEO specialists and agencies

Make client-ready code fast and check required fields before you hand it over.

Web developers

Get a clean JSON-LD starting point, then add it to templates or a CMS.

Event organizers and video creators

Mark up event dates and places, or video length and thumbnails.

> git log

Updates, Bug Fixes and Reviews

We test this tool every month and fix reported bugs as a high priority. Every change is listed here.
Oct 11, 2026

Version 1.0.1: 3 bugs fixed

Local Business no longer adds default 9 to 5 hours when you leave hours empty. Online events no longer ask for a venue name. Extra spaces around the venue name are now removed.

Fix
Oct 11, 2026

FAQ help text updated

The tool now explains that Google stopped showing FAQ rich results in May 2026, and why FAQ markup can still be useful.

Update
Oct 2026

Schema Markup Generator launched

First release with 10 schema types, live preview, required field checks, copy and download.

Launch
Every month

Full re-test and rules review

We run the tool against our test cases again and check Google Search Central and schema.org for changes.

Monthly

Tool page last reviewed on .

Found a bug or a wrong result?

Tell us what you entered, what happened and what you expected. Our developer checks every report, fixes confirmed bugs as a high priority and tests the fix before it goes live.

> git blame

Who Built and Reviewed This Tool

The SpellMistake team built this tool from our own daily SEO work and official rules.
H
Built and tested by

Hassan

Senior Web Developer, 4+ years
Built the generator and the 1,080-case test set, and fixes reported bugs.
MA
Reviewed by

Muhammad Ahtesham

SEO Strategist and Founder, 4+ years
Checked every field and rule against Google Search Central and schema.org.
A
Guide and help text

Afza

Marketing Expert and Co-founder, 4+ years
Made the labels, tips and this guide simple and easy to follow.
> rate --tool

Ratings From Real Users

Did this tool help you? Your rating helps other people find a tool they can trust.
0.0out of 5

No ratings yet. Be the first to rate this tool.

  • 5 ★0
  • 4 ★0
  • 3 ★0
  • 2 ★0
  • 1 ★0

Rate this tool

How useful was the Schema Markup Generator for you?

Ratings come from real visitors. One rating per person. We never add, edit or remove ratings.

> faq

Schema Markup Generator FAQ

Quick answers to the questions people ask most about this tool.

What is a schema markup generator?

A schema markup generator is a tool that creates structured data code for your web page. You fill in a simple form and it writes JSON-LD code using the schema.org vocabulary, ready to paste into your page.

Is this schema generator free?

Yes. The SpellMistake Schema Markup Generator is 100% free, with no sign-up and no daily limit.

Does schema markup help SEO?

Schema markup is not a direct ranking factor, but it helps search engines understand your page. For some types, it can unlock rich results like prices, ratings and event dates, which can help more people click on your page.

Where should I add schema markup on my page?

Paste the JSON-LD script block in the head or the body of the page it describes. Google reads it in both places. Only add schema that matches what people can see on that page.

How do I add schema markup in WordPress?

Copy the code from the generator, then add it with a header and footer code plugin, the custom schema option in your SEO plugin, or an HTML widget in Elementor or the block editor on that page.

What is JSON-LD and why should I use it?

JSON-LD is a way to write structured data as a separate script, so it does not change your page design. Google recommends JSON-LD because it is easy to add and easy to maintain.

How do I test my schema markup?

After you publish the page, test the URL in Google's Rich Results Test to see if it is eligible for rich results, and in the Schema Markup Validator to check the schema.org code. You can also use our free Schema Markup Validator, linked in the related tools below.

Can I use more than one schema type on a page?

Yes. For example, a blog post can have Article and Breadcrumb schema. Create each type in the generator and add each code block to the page.

Does FAQ schema still work in 2026?

Google stopped showing FAQ rich results in May 2026, so FAQ schema no longer adds the dropdown questions in Google. The markup is still valid schema.org code, and Google says unused structured data does not cause problems.

Why does Google not show rich results for my page?

Valid code does not guarantee a rich result. Google may skip it if the content is not visible on the page, if required fields are missing, if the page is new or not indexed, or if Google decides a rich result is not useful for that search.

Is my data saved or sent anywhere?

No. The generator runs in your browser. Your form is only saved in your own browser so you can come back to it. We never see or store what you type.

Want the technical side fixed for you?
Our technical SEO team finds and fixes crawl, index, speed and server problems across your whole website.