Free auditStart free
GlossaryGlossary · Structured data

Microdata

Microdata uses HTML attributes to describe page content with Schema.org types and properties. See the syntax, when to keep it, and how to validate it.

2 min
read
3
sources
Oct 24, 2026
updated
Scaplet Editorial Team
author
In one line

Microdata is a way to embed structured data in HTML using attributes such as itemscope, itemtype, and itemprop. Google supports it for structured data, but marks JSON-LD as the recommended format. Keep Microdata when your CMS already emits it correctly; do not add it to content that visitors cannot see.

30-second check

Is this costing your site traffic?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode
01Check it

How Microdata works

Microdata adds meaning to existing HTML instead of placing a separate JSON object in the page. itemscope starts an item, itemtype names its Schema.org type, and itemprop labels a property inside that item. Schema.org supplies the vocabulary; Microdata is one syntax for writing it.

The example only labels text already visible on the page. Add properties that describe the actual content, not values invented for markup.

Minimal Article item
<article itemscope itemtype="https://schema.org/Article">
  <h1 itemprop="headline">How product feeds work</h1>
  <p itemprop="description">A practical guide to feed checks.</p>
</article>
02At a glance

Choose a format

Format

Microdata

Good fit
A CMS or template already emits attributes around visible content
Trade-off
Markup is distributed through the HTML elements it describes
Format

JSON-LD

Good fit
A new implementation where you can manage a separate JSON block
Trade-off
You must keep its values in sync with the visible page
Format

RDFa

Good fit
A system already using RDFa
Trade-off
Google supports RDFa for structured data. Validate the implementation against the result type you need.

Google supports JSON-LD, Microdata, and RDFa for rich-result eligibility, and marks JSON-LD as recommended. That is a format recommendation, not a reason to rewrite valid Microdata if it is easy to maintain and matches the page.

03How it works

Validate the implementation

  1. 1

    Confirm the visible content

    Check that each marked-up name, date, price, rating, or other property is present and accurate on the page.

  2. 2

    Run the Rich Results Test

    Use it for Google-supported result types and review detected items and errors. Passing validation does not guarantee a rich result.

  3. 3

    Check the live URL

    Google lists the URL Inspection tool next to the Rich Results Test for catching technical errors. Recheck after template changes.

04Worth knowing

Common implementation mistakes

Wrong scope

the itemscope wraps unrelated page content, so properties attach to the wrong item.

Unsupported expectation

valid Schema.org data does not make every type eligible for a Google rich result.

Markup drift

a CMS update changes the visible page but leaves stale attributes in the template.

Format confusion

Schema.org vocabulary and Microdata syntax are different choices. Read structured data and JSON-LD before changing formats.

Sources · 3

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • google.com
  • schema.org
  1. 01General structured data guidelinesdevelopers.google.com · checked 2026-10-24
  2. 02Getting started with Schema.org using Microdataschema.org · checked 2026-10-24
  3. 03Intro to how structured data markup worksdevelopers.google.com · checked 2026-10-24
Questions

Asked a lot.

3 questions people ask next, answered from the sources on this page.

01Is Microdata the same as Schema.org?

No. Schema.org is a vocabulary of types and properties. Microdata is one HTML syntax for applying that vocabulary to a page.

02Does Google support Microdata?

Yes. Google lists Microdata as one of three supported structured-data formats, alongside JSON-LD and RDFa. Google marks JSON-LD as recommended.

03Should I migrate Microdata to JSON-LD?

Only if the change improves how you maintain and validate the markup. Google marks JSON-LD as recommended but also supports Microdata; preserve accurate visible-content alignment during any migration.

Free · 2 minutes

Know the term. Now check your site.

The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • +212% organic clicks in 90 days Ledgerly