TOOLRIFT
All tools
SEO

Schema Markup Generator

Pick a schema type, give us the info. Get valid JSON-LD ready to paste.

Schema markup is structured data — a hidden block of JSON-LD code — that tells Google exactly what a page is about. It's how you earn rich results: star ratings, FAQ drop-downs, recipe cards, event dates, and breadcrumbs in search listings. Hand-writing valid JSON-LD is error-prone, and one misplaced comma can break the whole block. This tool builds clean, ready-to-paste markup from plain details.

How to use it

  1. Choose your Schema type — the kind of content on the page (Article, Product, FAQ, LocalBusiness, Recipe, Event, and so on). Pick the one that matches what the page actually is; the wrong type won't validate.
  2. In Details (one per line), enter the facts the schema needs, one item per line — things like name, author, price, rating, address, or dates depending on the type. Be accurate; schema must reflect what's visibly on the page.
  3. Generate, then copy the JSON-LD block.
  4. Paste it inside a <script type="application/ld+json"> tag in your page's <head> (or anywhere in the body — it works in both). In WordPress you can drop it into a custom HTML block or header snippet plugin.

When to use it

  • You want rich results — review stars under a product, an expandable FAQ, or a recipe card in search.
  • Local SEO — LocalBusiness schema helps Google understand your address, hours, and phone for the map pack.
  • Publishing articles — Article schema feeds Google News and Top Stories eligibility.
  • Adding an FAQ section and you want it eligible for the expandable search feature.

Tips for better results

  • Only mark up content that's actually visible on the page. Marking up information users can't see violates Google's guidelines and can earn a manual penalty.
  • After pasting, run the page through Google's Rich Results Test to confirm it's eligible and warning-free.
  • For products, include price, currency, and availability — these are what trigger the rich product result.
  • One page can hold multiple schema types (e.g. Article + Breadcrumb), but don't duplicate the same type twice.

Common mistakes to avoid

Don't pick a schema type that doesn't match the page — it's the most common reason markup is ignored. Don't fake reviews or ratings; Google actively penalizes fabricated review schema. And don't forget that schema makes you eligible for rich results, not guaranteed — Google decides when to show them.

If you're adding FAQ schema, generate the questions first with the FAQ Generator, then mark them up here. Pair it with the SEO Meta Generator so your title and description match the structured data. And if you're new to on-page SEO, our guide on How to Write SEO Meta Descriptions That Get Clicks covers the basics that make schema worth adding.

Frequently asked questions

What schema types can this generator create?

It covers the common types Google supports for rich results, including Article, Product, FAQ, LocalBusiness, Recipe, and Event. Pick the type that matches your page from the dropdown.

Where do I paste the JSON-LD code?

Put it inside a <script type="application/ld+json"> tag in your page's head or body. On WordPress, a custom HTML block or a header-snippet plugin works fine.

Will adding schema guarantee I get rich results in Google?

No. Valid schema makes your page eligible for rich results, but Google decides whether and when to display them. Clean, accurate markup gives you the best chance.

How do I check that my markup is valid?

Paste the page URL or code into Google's Rich Results Test or the Schema Markup Validator. They'll confirm it's parseable and flag any missing required fields.

Is the JSON-LD free to use, and is my data stored?

Yes, it's free, and the details you enter are used only to build the markup. They aren't saved — your code is generated in the moment and copied straight to your page.

Related tools