Schema markup generator
Pick a type, fill in the fields you actually have, and copy valid JSON-LD. Five of the types that earn rich results most often, built in your browser with nothing uploaded.
How to use it
- 1
Pick the type
Choose the schema that matches what the page really is. One primary type per page.
- 2
Fill in real values
Only describe content a visitor can see on the page. Leave anything you do not have blank.
- 3
Paste and validate
Drop the JSON-LD into a script tag, then confirm it in Google's Rich Results Test.
Generate your JSON-LD
Article JSON-LD
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "",
"description": ""
}Which type should you use?
Use the type that describes what the page primarily is: Article for a blog post or guide, FAQPage only when the same questions and answers are visible on the page, LocalBusiness for a physical location, Product for a purchasable item with a price, and Organization for your home page or about page.
- One primary type per page. Nesting a second type is fine when it is genuinely part of the first, such as an Offer inside a Product.
- Everything in the markup must match what the visitor can read on the page.
- Absolute https URLs for every image and link; relative paths are frequently ignored.
- Validate before shipping, then re-check after a template change, which is when structured data usually silently breaks.
Frequently asked questions
What is schema markup?
Structured data added to a page in a format search engines parse directly, usually JSON-LD in a script tag. It does not change what the page says; it states the same facts in a machine-readable way so engines and AI answer systems can use them confidently.
Does schema improve rankings?
Not on its own. It makes a page eligible for rich results and makes facts easier for AI systems to quote, which affects visibility and click-through rather than position directly.
Can I mark up content that is not on the page?
No. Structured data must describe content visible to the visitor. Marking up FAQs or reviews that do not appear on the page is a structured data spam violation and can lose you rich results entirely.
Where do I put the generated code?
Paste it inside a script tag with type application/ld+json, anywhere in the head or body of the page it describes. Then confirm it with Google's Rich Results Test.