Schema Markup Generator: How It Works
Structured data describes your page in a format machines can read without interpreting prose. It does not improve rankings directly, but it makes a page eligible for rich results — the ratings, FAQs, prices and images that make a listing occupy more space and attract more clicks.
Use JSON-LD
Three formats exist — JSON-LD, Microdata and RDFa. Google recommends JSON-LD, and it is the practical choice: it sits in a single <script> block rather than being woven through your HTML, so it can be added, changed or removed without touching the markup.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "How to Choose an Espresso Machine",
"datePublished": "2026-03-14",
"dateModified": "2026-08-02",
"author": {"@type": "Person", "name": "A. Writer"},
"publisher": {"@type": "Organization", "name": "Example"}
}
</script>The types worth implementing
| Type | Use on | Can produce |
|---|---|---|
| Article / BlogPosting | Editorial content | Dates, author, article carousels |
| Product + Offer | Product pages | Price, availability, ratings |
| FAQPage | Genuine Q&A sections | Expandable questions in results |
| HowTo | Step-by-step guides | Numbered step displays |
| LocalBusiness | Physical locations | Hours, address, map presence |
| BreadcrumbList | Every page in a hierarchy | Breadcrumb path instead of a raw URL |
| Organization / WebSite | Homepage | Knowledge panel data, sitelinks search box |
The rule that gets sites penalised
Structured data must describe what is actually visible on the page. FAQ schema for questions that do not appear, review markup for reviews you invented, or a price that does not match the page are all violations of the structured data guidelines and can trigger a manual action removing all rich results for the site. The markup is a machine-readable summary of the page — not an opportunity to claim more than the page contains.
Connecting entities with @id
Rather than repeating your organisation details in every block, declare them once with an @id and reference that identifier elsewhere. This produces a coherent graph rather than a set of disconnected assertions, and it makes it clear that the article's publisher and the site's organisation are the same entity.
Eligibility is not a guarantee
Valid markup makes a rich result possible. Whether it appears is Google's decision, based on the query, the device, and its assessment of the page's quality. Rich result availability also changes: FAQ and HowTo rich results were substantially reduced across most sites in 2023, which stranded a lot of markup that had been added purely for the display benefit. Implement schema because it describes your content accurately; treat display as an upside.
Testing
Use Google's Rich Results Test for eligibility on specific types, and the Schema Markup Validator for general correctness. Check the Enhancements reports in Search Console for errors across the whole site — that is where problems introduced by a template change first appear.