What Is Schema Markup? Structured Data Made Simple

Some search results show star ratings, prices, stock levels, event dates or a breadcrumb trail. Others show only a blue link and two lines of text. The extras usually come from code that the site owner added to help search engines understand the page. So what is schema markup, does it help SEO, and how can a small business add it without being a developer?

Screenshot of the Schema Markup Generator on Assen Tools
The Schema Markup Generator in use. Open the Schema Markup Generator – free, no sign-up.

The plain-English definition

Schema markup is structured data: a standard way to label the information on a page so machines can understand it. Instead of Google guessing that "₦15,000" is a price and "4.8" is a rating, schema states it explicitly: this is a Product, this is its price, this is its currency, this is its rating.

The vocabulary comes from schema.org, a project founded in 2011 by Google, Microsoft (Bing), Yahoo and Yandex, so the same markup works across major search engines.

JSON-LD: the recommended format

Schema can be written in several formats, but Google recommends JSON-LD – a small script block in the page that does not affect what visitors see:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "LocalBusiness",
  "name": "Ada's Bakery",
  "telephone": "+234 800 000 0000",
  "address": {
    "@type": "PostalAddress",
    "addressLocality": "Lagos",
    "addressCountry": "NG"
  },
  "openingHours": "Mo-Sa 08:00-18:00"
}
</script>

The most useful schema types

  • Organization / LocalBusiness – name, logo, address, phone and opening hours
  • Product – price, availability and reviews for online shops
  • Article / BlogPosting – headline, author and publish date
  • BreadcrumbList – shows the page's position in your site in results
  • Event – dates, venue and tickets
  • Recipe – cooking time, ingredients and ratings
  • Review / AggregateRating – star ratings, used within products and businesses

Note that Google has narrowed some rich results over time: FAQ rich results now appear mainly for well-known government and health sites, and How-to rich results were retired. The markup is still valid, but do not expect those extras for every site.

Does schema improve rankings?

Schema is not a direct ranking factor. Its value is that eligible pages can earn rich results, which take up more space and often attract more clicks. It also helps search engines and AI assistants understand your business details accurately.

How to add it

  • WordPress: SEO plugins such as Yoast, Rank Math and WooCommerce add common schema automatically.
  • Custom sites: generate JSON-LD and paste it into the page's <head> or body.
  • Shopify and other platforms: many themes include Product schema; apps can add more.

Generate and test

The free Schema Markup Generator builds valid JSON-LD for common types from a simple form. Then:

  1. Paste the page URL or code into Google's Rich Results Test to see which rich results it is eligible for.
  2. Use the Schema Markup Validator at schema.org to check for errors.
  3. Monitor the Enhancements section in Google Search Console.

If you edit the JSON by hand, the JSON Formatter catches missing commas and brackets – see how to format JSON.

Golden rules

  • Only mark up information that is visible on the page.
  • Never invent reviews or ratings – Google can issue manual penalties.
  • Keep details such as prices and opening hours up to date.

Combine schema with good titles and descriptions (how to write a meta description) and social tags (what is Open Graph) for complete on-page SEO.

Frequently asked questions

Is schema markup required? No, but it helps search engines understand your content and can unlock rich results.

Can schema hurt my site? Only if it is misleading, such as fake reviews. Accurate markup carries no risk.

How long until rich results appear? After Google recrawls the page – often days to weeks – and rich results are never guaranteed.

Summary

So, what is schema markup? Structured data that labels your page's information in a language search engines understand, usually written as JSON-LD using the schema.org vocabulary. It can earn rich results that attract more clicks. Create valid code with the free Schema Markup Generator and test it before publishing.

Jonathan Nwachukwu, founder of Assen Tools

Written by

Jonathan Nwachukwu · Founder & developer

Jonathan is a freelance web developer and web development teacher who builds Laravel, WordPress and WooCommerce sites for clients. He built AssenTools to put the everyday file, photo and calculation jobs he kept doing for clients and students into one free, private toolbox, and he maintains every tool and guide on the site.