Schema Markup Generator: Free JSON-LD Maker

Structured-data drafts

Builds JSON-LD templates from your entries. Add the complete generated script once and describe genuine visible content. This does not fully validate Schema.org semantics or establish Google search-feature eligibility. Supported search features differ by type and may change; validate the final page.

Implementation reviewed: 5 October 2026. Source documentation

Schema Markup Generator

Generate JSON-LD structured data for better search engine visibility.

How to use

  1. Choose a schema type from the grid above.
  2. Fill in the form fields as completely as possible.
  3. Copy the generated JSON-LD code on the right.
  4. Add the complete generated script once in the head or body of your HTML page.
  5. Validate with Google's Rich Results Test.

A schema markup generator turns details about your page, such as an article, product, event or local business, into JSON-LD structured data you can paste into your HTML. This free tool is for site owners and SEOs who want search engines to understand a page without writing code by hand.

What Is Schema Markup and How Does It Work?

Schema markup is a standard vocabulary from Schema.org that labels the facts on a page so search engines can read them without guessing. Instead of inferring that "49.00" is a price, you state it explicitly in a structured block of code.

JSON-LD is the format Google's Search Central documentation recommends. It sits inside a single script block, separate from your visible text, so you can add or edit it without touching your page layout. A typical block names a type (for example Product), then lists properties such as name, brand, price and availability.

What is schema markup used for?

Search engines use it to understand what a page is about and, for supported types, to show enhanced results such as star ratings, prices, event dates or business details. It does not directly raise rankings. Its value is clearer understanding and, when Google chooses to show them, richer listings that can earn more clicks.

How to Use the Schema Markup Generator

You pick a type, fill in a form and copy the finished code. The whole process takes a few minutes per page.

  1. Find your type in the grid at the top, or type a name into the "Search schema types..." box to filter it.
  2. Fill in the form fields as completely as you can. Use details that are visible on the page you are marking up.
  3. Watch the JSON-LD output update on the page. If a field has a problem, an error message appears above the output and tells you what to fix.
  4. Select Copy Code to copy the full script.
  5. Paste the complete script once into the head or body of the matching page.
  6. Test the live page with Google's Rich Results Test, which the tool links to under the output.

Use Back to return to the type grid and choose a different type. Use Reset to clear the form and start over.

Which Schema Types Can You Create?

The grid includes Article, Local Business, Organization, Person, Product and Event, along with other common types you can find with the search box. Each type has its own form, so you only see fields that make sense for it.

TypeBest forKey fields
ArticleBlog posts and newsHeadline, dates, author
Local BusinessShops, clinics, restaurantsAddress, phone, hours
ProductStore item pagesPrice, availability, rating
EventConcerts, webinars, classesEvent name, type, dates

Need a more specialized form? Dedicated generators exist for FAQ schema, recipes, videos and job postings, and they go deeper on those types.

Worked Example: Product Schema for an Online Store

Suppose you sell a stainless steel water bottle and want search engines to read its price and reviews. Here is what you would enter and what you get back.

  • Product Name: Summit Steel Bottle 24 oz
  • Brand: Summit Gear
  • SKU: SG-24-STL
  • Price: 29.00 and Currency: USD
  • Availability: In stock
  • Offer URL: https://www.example.com/summit-steel-bottle
  • Rating: 4.5, Review Count: 120, Best Rating: 5

The output is a JSON-LD script with a Product type that contains the name, brand and SKU, an offer with the price, currency and availability, and an aggregate rating of 4.5 from 120 reviews. You copy it, paste it into that product page and test the page.

Now the useful part: if you typed "$29" into Price, the tool would stop and ask for a finite nonnegative number. Enter 29.00 and put USD in the currency field instead. If you set the rating to 6 with a best rating of 5, you would see a message that the rating must fall between the worst and best values, which default to 1 and 5.

For a deeper look at product-specific properties, the Product Schema Generator is the next stop.

How to Read and Act on the Results

A good result is a complete JSON-LD block with no error message above it, where every value matches what a visitor sees on the page. A poor result is a block with empty or guessed values, or an error message that tells you something is invalid.

Common messages and fixes

  • Absolute URL required: Image, logo, profile and offer URLs must start with http:// or https:// and contain no spaces. Replace /images/logo.png with the full address.
  • Duration format: Time values use ISO 8601 durations. Write PT30M for 30 minutes or PT1H20M for 1 hour 20 minutes.
  • Date problems: Enter a valid date or date and time. Date Modified must not be earlier than Date Published, and an event cannot end before it starts.
  • Number problems: Prices, ratings and review counts must be plain nonnegative numbers. Review counts must be whole numbers of at least 1.
  • Salary range: The minimum must not exceed the maximum.

Once the output looks clean, paste it into your page and run it through the Rich Results Test. For a broader syntax check against Schema.org itself, use the Schema Markup Validator.

Who Should Use a Schema Markup Generator?

Anyone who manages web pages and wants structured data without hand-writing JSON. The common situations are practical ones.

  • Small business owners: Add Local Business markup with your address, phone, opening hours and map link so your details are consistent everywhere.
  • Bloggers and publishers: Mark up posts with headline, author, publisher and dates using the Article Schema Generator when you need more article options.
  • Store owners: Describe products with brand, SKU, GTIN, price and stock status.
  • Event organizers: Publish event details for classes, concerts and webinars.
  • Agencies and freelancers: Produce clean starter markup for client pages, then hand it to a developer to template.
  • Brands and personalities: Use Organization or Person markup, including social profile links, to describe who you are.

Best Practices and Common Mistakes

Accurate, complete and honest markup performs better than long markup. These habits prevent most problems.

Mark up only what visitors can see

Google's guidelines say structured data should describe content that is visible on the page. Do not add a 4.8 rating if the page shows no reviews, and do not list a product price that differs from the one shown.

Fill in the recommended fields

Required properties make markup valid, but extra details such as brand, GTIN, image and description give search engines more to work with. Use the most specific type available. A bakery should use a Bakery business type rather than a general one, when the Business Type option offers it.

Add the script once per page

Paste the entire generated script one time. Duplicating it, or pasting several overlapping blocks that describe the same thing, can cause conflicting data. If a page needs two different types, such as an Article and a Breadcrumb trail, generate each and add them as separate scripts.

Keep it up to date

Prices, stock status, opening hours and event dates change. Regenerate the code when they do, and set Offer Valid Until if a price has an end date. Outdated markup is one of the most common reasons for warnings in Search Console.

Check the page after publishing

Test the live URL, not just the generated text. A missing quote or a partly copied block will break the whole script. If a result looks wrong, press Reset, regenerate and paste again.

Limitations to Keep in Mind

Valid markup does not guarantee a rich result. Google decides whether to show enhanced listings based on the query, the page quality and its own eligibility rules, and those rules change. For example, FAQ rich results are now limited to a narrow set of sites, so you should check the current Search Central documentation before expecting them.

The generator checks your entries for format problems, such as bad URLs, dates, numbers and rating ranges. It cannot tell whether your content is true or whether a type is eligible for a particular search feature. That judgment is yours. Also, Rich Results Test only covers features Google supports, while Schema.org includes many types that never produce a visual change in search.

Start Creating Your Markup

You now know what each field means, how to avoid the common errors and where to place the code. Browse more on-page SEO and meta tag tools to polish the rest of your page, then choose a type above, fill in the form and copy your JSON-LD.

Frequently Asked Questions

What is schema markup?
Schema markup is structured data code, based on the Schema.org vocabulary, that labels the facts on a page so search engines can read them clearly. A product page, for example, can state its price, brand and rating explicitly instead of leaving search engines to guess.
How do I generate schema markup with this tool?
Pick a schema type from the grid, fill in the form, and select Copy Code. The JSON-LD output updates as you type. Then paste the full script once into your page and test it with Google's Rich Results Test.
Where do I put the generated JSON-LD code?
Paste the complete generated script once into the head or the body of the page it describes. It does not need to sit near the content it marks up. Add one script per type, and avoid duplicating the same block.
Why does the generator show an error message?
The tool flags values that would produce invalid markup. Common causes are URLs without http:// or https://, prices with currency symbols, ratings outside the 1 to 5 range, durations not written like PT30M, and end dates earlier than start dates. Correct the field and the message clears.
Does schema markup improve Google rankings?
Schema markup is not a direct ranking factor. It helps search engines understand your content and can make a page eligible for rich results, such as star ratings or event details, which may improve click-through rates. Google does not guarantee that any markup will produce a rich result.
Is this schema markup generator free to use?
Yes. The Schema Markup Generator is free and needs no sign-in. You can create markup for types such as Article, Local Business, Organization, Person, Product and Event, then copy it. Use Reset to start a new form whenever you need.
Recommended

Explore VPN options

A VPN changes your network exit. It does not guarantee anonymity.

Hide Your IP Encryption Network coverage
Protect My IP Now