Skip to content

Schema Markup Generator

Build valid JSON-LD structured data for Article, Product, LocalBusiness, Organization, Event and Breadcrumb.

Generated in your browser — nothing is sent to a server.

One level per line, written as Name | URL.

How do you add schema markup to a page?

Add a <script type="application/ld+json"> block containing "@context": "https://schema.org" and an "@type" naming what the page describes, such as Article, Product or LocalBusiness. Place it anywhere in the HTML. Mark up only content visitors can actually see, then validate with Google’s Rich Results Test.

Understanding your result

Structured data does not directly raise rankings. What it does is make a page eligible for rich results and help search engines understand entities on the page, which can lift click-through rate substantially. Mark up only what is genuinely visible to visitors: Google treats markup describing content that is not on the page as spam, and inventing review ratings is one of the fastest routes to a manual action. Note that FAQ and HowTo rich results have been retired or heavily restricted, so Article, Product, LocalBusiness and Breadcrumb are where the remaining value sits.

Formula and method

JSON-LD wraps your data in a JSON object with two required keys: "@context": "https://schema.org" tells parsers which vocabulary you are using, and "@type" names the thing being described. Every other key is a property defined by that type.

Assumptions and limitations

Covers six common schema types with their main properties, not the full schema.org vocabulary or every optional field. It validates structure, not truthfulness — marking up content that is not visible on the page still breaches Google’s guidelines. Always confirm the output with the Rich Results Test before relying on it.

Worked example

An article titled “How to Bake Sourdough Bread” by Jane Doe, published 1 July 2026, becomes a JSON-LD block with @type Article, a nested Person author, an Organization publisher and a datePublished field — about 10 lines of markup.

How to use this tool

  1. Choose the schema type that matches the page.
  2. Fill in the fields you can answer honestly — blanks are simply left out.
  3. Copy the generated script tag.
  4. Paste it into the page’s HTML, then confirm it with Google’s Rich Results Test.

Common mistakes to avoid

  • Marking up content that does not appear on the visible page.
  • Adding a fake aggregateRating — a common cause of manual penalties.
  • Pasting the JSON without the surrounding script tag.
  • Using a relative image or page URL instead of a full https:// address.

About the Schema Markup Generator

The Schema Markup Generator builds valid JSON-LD structured data for the types search engines actually use — Article, Product, LocalBusiness, Organization, Event and BreadcrumbList. Fill in the fields you have, and it produces a ready-to-paste script tag with the correct schema.org vocabulary.

Who should use this tool

Bloggers, SEO specialists, shop owners and developers who want structured data without hand-writing JSON.

Benefits

  • Covers six schema types in one tool, not just FAQ markup.
  • Only emits properties you actually filled in, so nothing is invented.
  • Validates URLs and drops malformed ones instead of shipping broken markup.
  • Copy the script tag or download a .jsonld file.

Practical use cases

  • Adding Article markup to blog posts so they qualify for rich results.
  • Marking up a product page with brand, price and availability.
  • Giving a local business its name, address and phone number in machine-readable form.
  • Building a BreadcrumbList so search results show your site hierarchy.

Explore all SEO and Website Tools tools

Frequently asked questions

Where do I put the schema markup?

Anywhere in the HTML — inside <head> or just before </body> both work. JSON-LD is the format Google recommends precisely because it sits in one block and does not have to wrap your visible markup.

Does schema markup improve my rankings?

Not directly. It makes pages eligible for rich results and helps search engines interpret your content, which usually shows up as better click-through rather than a higher position.

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

Yes. It is normal to have Organization, BreadcrumbList and Article on the same page. Generate each block separately and paste them all in.

How do I check my markup is valid?

Run the page through Google’s Rich Results Test and the Schema.org validator. Search Console also reports structured-data errors it finds while crawling.

Should I add review stars to my pages?

Only if the reviews are genuine, collected from real customers and visible on the page. Self-serving or invented ratings breach Google’s guidelines and risk a manual penalty.

Share this tool

Free to use — copy the link, share it anywhere, or add the tool to your own website.

Embed this tool on your site (free)

Copy this code and paste it into any web page — it stays free and always up to date: