Schema generators

What is schema markup? A beginner's guide

Schema markup is a small block of code that tells search engines exactly what your page is about: a product and its price, an article and its author, a business and its hours. Here's how it works.

Search engines are good at reading text, but they still have to guess at meaning. Is "49.99" a price or a model number? Is "Lisbon" an address, an event location or the topic of an article? Schema markup removes the guesswork by labelling the facts on a page in a standard vocabulary from schema.org, which Google, Bing and others all support.

What schema markup looks like

The recommended format is JSON-LD: a script block in the page that doesn't change how the page looks.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "name": "Example Co",
  "url": "https://example.com/",
  "logo": "https://example.com/logo.png"
}
</script>

@type says what the thing is. The other properties describe it.

Why schema markup matters for SEO

  • Rich results: star ratings, prices, event dates, video thumbnails and breadcrumbs in Google's listings. See rich snippets.
  • Clearer understanding: Google connects your pages to known entities such as your business, products and authors.
  • Knowledge panels and site names: Organization and WebSite markup help Google show your logo and correct site name.
  • AI search: AI systems that read structured data get the facts straight from the source.

Schema isn't a direct ranking factor. Its value is in how your results look and how well your content is understood.

Free tool

Schema Markup Generator

Pick a type, fill in the form and copy ready-to-paste JSON-LD. It's checked against Google's rules as you type.

Free, no sign-up. The code is built in your browser: nothing you type is sent anywhere.

Open the full Schema Markup Generator page →

The schema types most sites need

Site typeUseful schema types
Every siteOrganization, WebSite, BreadcrumbList
Online shopProduct, Offer, AggregateRating
Local businessLocalBusiness (or a subtype like Restaurant, Dentist)
Blog or news siteArticle, BlogPosting, Person (author)
EventsEvent
Video publishersVideoObject

JSON-LD vs microdata vs RDFa

Schema can also be written as microdata or RDFa, attributes woven into the HTML. Google supports all three but recommends JSON-LD because it sits in one block, separate from the design, and is much easier to maintain.

How to add schema markup

  1. Generate the code. Use the generator on this page: pick a type, fill in the fields, and copy the JSON-LD.
  2. Add it to the page. Paste it into the page's head or body. In WordPress, Shopify and most builders there's a custom code or HTML block option; many SEO plugins add common types automatically.
  3. Test it with a schema checker or Google's Rich Results Test.
  4. Monitor Search Console for errors in the Enhancements reports.

Schema markup rules

  • Only mark up content that's visible on the page.
  • Use the most specific type that fits (Restaurant rather than LocalBusiness).
  • Keep the values accurate and up to date, especially prices and availability.
  • Don't mark up reviews of your own business on your own site and expect stars.

For detailed walkthroughs, see our guides to product schema, local business schema and organization schema.

Questions

What is schema markup in simple terms?

Code added to a web page that labels its content (products, prices, events, articles, businesses) so search engines understand it exactly.

Is schema markup a ranking factor?

No, not directly. It helps Google understand your content and can qualify pages for rich results, which often increases clicks.

Which schema format should I use?

JSON-LD. Google recommends it because it's a single block separate from the page design and easy to maintain.

Can I add schema markup without coding?

Yes. A schema generator builds the code for you; you paste it into your CMS's custom HTML or code field, or use an SEO plugin.

See what to fix on your website today.

Free plan, no credit card. Your first fixes in about a minute.