Blog post
- Input
- Article · headline, author, publish date, image
- Output
- {"@type":"Article","headline":"…","author":{"@type":"Person"…}}
Article markup makes a post eligible for rich results carrying the headline, date and author in search listings.
Schema markup is structured data that tells search engines what a page is about, using a vocabulary from schema.org. This generator builds valid JSON-LD for the most common types — article, product, local business, event, recipe, person and organisation — from a short form. Fill in the fields, copy the script tag, and paste it into your page's HTML.
Runs entirely in your browser — nothing you type is uploaded.
Google truncates headlines over 110 characters.
Fill in at least one field to generate the markup.
How to
Pick the type that matches the page: Article for a blog post, Product for a shop page, LocalBusiness for a physical location, and so on.
Required fields are marked. The generator warns you when one that Google needs for rich results is missing.
The JSON-LD updates as you type. Empty fields are left out rather than written as blank values.
Copy the script tag and paste it into the <head> of the page it describes, then confirm it with Google's Rich Results Test.
Examples
Article markup makes a post eligible for rich results carrying the headline, date and author in search listings.
Price and availability can appear directly in the listing. Only mark up ratings you genuinely collect.
LocalBusiness feeds the knowledge panel and map results. The address must match your Google Business Profile exactly.
Why use it
Output is built from a real object and serialised, so the result is always syntactically valid and correctly escaped.
Blank inputs are omitted instead of written as empty strings, which is what causes most validator warnings.
Fields Google requires for rich results are flagged, so you find out before the validator does.
JSON-LD sits in one script tag and never touches your visible markup, unlike Microdata which is woven through the HTML.
Nothing you type is sent anywhere, which matters when a page is not published yet.
Good to know
Summary
FAQ
Discover