← Back to Blog

Schema markup is one of the highest-leverage, lowest-effort things you can do for SEO. It doesn’t change what your visitors see — it changes what search engines understand. Add it correctly and your pages become eligible for rich results (star ratings, FAQs, breadcrumbs, product prices) and give Google a much clearer picture of what each page is about. This guide covers the three practical ways to add it, a step-by-step JSON-LD walkthrough, the types worth prioritising, and how to validate the result.

What schema markup actually is

Schema markup is structured data written in the vocabulary defined at schema.org. The recommended format — and the one Google prefers — is JSON-LD: a small block of JSON you drop into your page. It sits invisibly in the HTML and describes the page’s entities: this is an Organization, that is a Product with this price, this page is an Article published on that date.

The three ways to add schema markup

There is no single “right” method — pick the one that matches how your site is built and how much control you want.

Step by step: adding JSON-LD by hand

Here is the full process for adding schema to a single page manually.

1. Choose the right type

Match the schema type to the page: Organization and WebSite for the homepage, Article or BlogPosting for posts, Product for product pages, LocalBusiness for a location, FAQPage for genuine Q&A content. Don’t force a type that doesn’t match — markup that misrepresents the page can trigger a manual action.

2. Write the JSON-LD

Build the block for your chosen type. A minimal Organization looks like this:

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

Fill in the properties that genuinely apply to your page. More complete, accurate markup is better than a longer block padded with guesses.

3. Add it to the page’s <head>

Paste the whole <script type="application/ld+json"> block into the page’s <head>. Google also reads JSON-LD from the <body>, so if your CMS only lets you inject into the body, that works too — the key is that the markup is present and valid.

4. Validate before you ship

Never publish schema without testing it. A single misplaced comma invalidates the whole block. Validation takes thirty seconds (see below).

The schema types that matter most

You don’t need dozens of types. For most sites, these carry the weight:

Tip: Reference shared entities with @id instead of repeating them. Define your Organization once with an @id, then point to it from every page’s Article or Product node. It keeps your markup clean and helps search engines connect the pages to one brand.

How to validate your schema markup

Two free tools catch almost every problem:

Run both. “Eligible for rich results” in the first plus a clean pass in the second means your markup is sound. Note that eligibility is not a guarantee — Google decides when to show a rich result — but valid markup is the non-negotiable requirement.

Common mistakes to avoid

Skip the hand-coding — generate valid JSON-LD for every page automatically. Daylytix detects each page’s type and writes copy-ready, AI-enhanced schema.
Try the Schema Generator →

The faster way, at scale

Hand-authoring works for a handful of pages. Across a whole site — dozens of templates, hundreds of URLs — it doesn’t scale, and gaps are inevitable. This is where a generator earns its place: the Daylytix Schema Markup Generator crawls your pages, detects each one’s type, and produces valid, copy-ready JSON-LD — including the entity and breadcrumb markup most sites miss. You get the completeness of hand-authoring without spending an afternoon per page.

Frequently asked questions

What is schema markup?

Schema markup is structured data — usually JSON-LD — that you add to a page to describe its content to search engines. It powers rich results like star ratings, FAQs and breadcrumbs, and helps Google understand what a page is about.

Do I need to code to add schema markup?

Not necessarily. You can hand-write JSON-LD, use a CMS plugin like Yoast or Rank Math, or use a schema generator that writes the markup for you. Only the manual route requires editing your HTML.

Where do I put schema markup on a page?

Inside a <script type="application/ld+json"> block, ideally in the <head>. Google also reads it from the <body>, so either works as long as the markup is valid.

How do I know if my schema markup is working?

Test it in Google’s Rich Results Test and the Schema.org Validator. Both parse your markup, flag errors, and show which rich results the page is eligible for.

Related reading