Skip to content
100% local

Article schema generator

Build a schema.org Article JSON-LD block from headline, author, publisher and image fields.

Output

Article schema generator

The article schema generator turns a set of fields — headline, author, publisher, image, dates — into a schema.org Article JSON-LD block, ready to paste into a page's <head>. This structured data tells Google a page is a news story, blog post or technical article, and it is a prerequisite for that article to become eligible for Top Stories and other article-focused rich results. Getting the markup right by hand means tracking nested objects for the image, the author and the publisher's logo; this tool builds all of it from plain fields instead.

Choose Article, NewsArticle, BlogPosting or TechArticle, then fill in only what applies — every field is optional, and the generator emits just the properties you set, so a piece without an alternative headline or a section never adds an empty one to the output. The headline is checked against Google's practical 110-character guidance, and the author can be a Person or an Organization, each with its own optional URL. A live tally shows how many of the fields that matter most for rich results — headline, image, author, publish date and a publisher with a logo — are filled in, so you can tell at a glance whether the block is complete.

Two toggles control the output shape: pretty-print gives readable, indented JSON for review, and the script wrapper adds the <script type="application/ld+json"> tag so the block is drop-in ready. Turn both off for compact JSON to embed in a template or CMS field. Every value you type is JSON-escaped automatically, so quotes and line breaks in a headline or description can't break the markup.

Everything runs locally in your browser. Nothing you type — headlines, author names, publisher details — is uploaded or sent to any server, so you can prepare schema for unpublished drafts without exposing them.

FAQ

Which article type should I choose?
Use NewsArticle for news reporting, BlogPosting for a blog entry, TechArticle for technical documentation or tutorials, and the generic Article type when none of the more specific ones fit or when you're not sure which Google feature you're targeting.
Why does the tool check my headline length?
Google's guidance for Article rich results recommends keeping the headline to around 110 characters so it isn't truncated. The tool still includes your full headline in the output — it just flags it in the live tally so you can shorten it if needed.
What fields does Google actually need for rich results?
In practice the fields that matter most are headline, image, author, datePublished and a publisher with a logo. The tool's tally counts how many of those five are filled in, but even a partial block is valid schema — you can always come back and add the rest.
Why is there no width or height without an image URL?
Image dimensions only make sense alongside an image, so the width and height fields are ignored until you provide an image URL — the generator never emits an image object with no url.
Is my article content uploaded anywhere?
No. The generator runs entirely in your browser. Headlines, author details and every other field you type stay on your device and are never sent to a server.