Article Schema Generator

Schema type—
Properties included—
Code length (characters)—

How Article Schema Generator is calculated: Article = headline + author + dates + publisher, written as JSON-LD

What is an article schema generator?

An article schema generator writes the Article block for a written piece: a small piece of JSON-LD that tells a search engine the page is an article, with this headline, this author, this publish date, and this publisher. The block uses the Article type from schema.org, and it is the most common schema on news sites, blogs, and guides — anywhere the page is a piece of writing rather than a product or a shop.

Search engines use the block to understand the article as a thing, not just as text. The headline becomes the article's name, the author becomes a Person, the dates become datePublished and dateModified, and the publisher becomes an Organization. With those facts stated plainly, the search engine can show the article with its date, group it with the author's other work, and tell a fresh article from an old one that was updated.

This generator builds the block from eight fields. Type the headline, a short description, the author, the two dates, and the article's address, and add an image and a publisher if you have them. Press the button and the code appears below, ready to copy. Paste it into the head of the article page, and the search engine will read it on its next visit.

How article schema works

The block is a JSON-LD object with the type Article. After the two lines every schema carries — @context and @type — come the article's own properties: headline, description, author, datePublished, dateModified, image, publisher, and mainEntityOfPage. The author is written as a Person object with a name, the publisher as an Organization object with a name, and the page itself as a WebPage object holding the article's address.

Every field you leave blank is left out of the output. An article with no image simply has no image property, and one with no publisher has no publisher property. That matters, because an empty property is false data while a missing one is just a fact you did not state. The block this tool writes is valid with three fields filled in and valid with all eight, because it only ever writes what you typed.

The two dates do different jobs. datePublished says when the article first appeared, and dateModified says when it was last changed. When the two are the same, the article is new. When they differ, the article has been updated, and the search engine can tell a reader the information is current. A JSON validator can check the finished block if you want a second opinion before you paste it in.

The headline, author, and dates, explained

The headline is the article's name in the schema, and it should match the headline on the page. If the page's main heading says one thing and the schema says another, the search engine trusts the page and ignores the block. Keep the two the same, word for word, and keep the headline short enough to read at a glance — a headline that runs to twenty words is a headline that needs cutting.

The author is the person who wrote the piece, written as a Person with a name. A real name beats a username, and a consistent name beats a different name on every article, because the search engine groups an author's work by the name in the schema. If several people wrote the piece, put the main author here and credit the rest on the page itself.

The dates are the facts people get wrong most often. The publish date is the day the article first went live, and it should never change. The modified date is the day it was last changed in a real way — new facts, a corrected figure, a rewritten section — and it should change whenever that happens. A meta description generator writes the short summary that appears under the title in search, which is a different job from the dates.

A worked example: schema for a guide article

Take the defaults on this page. The headline is Example Article Headline, the description is one sentence, the author is Example Author, both dates are 2026-11-15, the image is https://example.com/article-image.jpg, the publisher is Example Site, and the address is https://example.com/article. Press Generate Article Schema and the block has 10 properties in total, the code is 591 characters long, and the type line reads "@type": "Article". The author appears as a Person, the publisher as an Organization, and the page as a WebPage holding the article's address.

Now clear the image and the publisher, leaving everything else the same. The block shrinks to 8 properties and 461 characters, because the two cleared fields are left out instead of being written as blanks. The headline, the author, the dates, and the page address stay exactly where they were, and the block is still valid — it simply states fewer facts.

That shrinking is the behaviour to trust. A generator that wrote empty strings would hand the search engine an article with an image of nothing and a publisher of nothing, and the search engine would treat that as bad data. This one writes only what you gave it. Paste the block into the head of the article, save, and check the headline against the page: the two must match, word for word. A title tag checker can check the title's length while you are there.

Why article schema matters

Article schema is how a search engine tells a news story from a product page, a fresh guide from a ten-year-old post, and one author's work from another's. Without it, the search engine has only the visible text to guess from, and the guess is often wrong — the date it shows may come from a sidebar, and the author it shows may come from a footer. With the block, the facts come from you.

It also matters for freshness. A guide that is updated every year should show its modified date, because a reader deciding between two guides picks the current one. The dateModified property is how the search engine knows the guide was updated, and a page that states its update date plainly earns the click over a page that hides it.

The same block feeds the features that show articles: news carousels, top-stories boxes, and the article cards in search. A page with no article schema can still appear in those features, but it is competing with pages that state their facts clearly, and the clear pages win the space. A meta tag generator writes the title and description that sit above the article in the results.

Article schema generator vs writing the block by hand

Writing an article block by hand means typing the same nested shape for the author, the publisher, and the page: a Person, an Organization, and a WebPage, each with its own braces and commas. One missing brace breaks the whole block, and the error is invisible until you test the page — a search engine simply ignores broken schema and shows the plain result.

A generator removes those errors. It builds the nesting from your fields, so the author is always a Person and the publisher is always an Organization, with the braces in the right places. It writes the dates in the standard year-month-day form, and it leaves empty fields out, so a half-filled form still produces a valid block instead of one full of blank strings.

Hand-writing still has a place: a developer who manages a site with a template writes the block once in the template and fills it from a database, which is faster than pasting per article. But for a single article, a small blog, or a quick check of what the block should look like, the generator is faster and safer. The same headline can be checked in a SERP preview tool to see how it will look in the results.

Common mistakes with article schema

The most common mistake is a headline in the schema that does not match the page. The block says one thing, the page's main heading says another, and the search engine trusts the page. Keep the two identical, word for word, and change the schema whenever the headline changes. The same rule holds for the author and the dates.

The second mistake is never updating dateModified. An article that was rewritten last week but still carries a modified date from two years ago tells the search engine it is stale, and the search engine believes it. Update the modified date whenever the article changes in a real way, and leave it alone when nothing changed — a new date with no new content is also false data.

The third mistake is using the Article type for pages that are not articles. A product page, a tool page, or a landing page with article schema cannot show the extras those pages deserve, and the search engine may ignore the block entirely. Pick the type that matches the page. And the fourth mistake is forgetting to test: run the block through the rich results test before you move on.

How to use this article schema generator

First, type the headline exactly as it appears on the page. Then write a one or two sentence description of what the article explains and who it helps. Add the author's name, the date it was published, and the date it was last updated — the two dates are the same for a new article.

Add an image address if the article has a main image, and the publisher's name if there is one. Then type the article's full address, starting with https://. Press Generate Article Schema. The block appears in the box below, and the results box shows the type, how many properties were included, and how long the code is.

Finally, copy the whole block and paste it into the head section of the article page, before the closing head tag. Save the page and test it with the search engine's rich results test, which reads the block and reports any errors. If it reports none, the article's facts are live, and the search engine will use them the next time it shows the page. If the page also needs its title and description tags, a meta tag generator writes those.

Frequently Asked Questions

Article schema is a block of JSON-LD code with the type Article that describes a written piece: its headline, description, author, publish date, modified date, image, and publisher. Search engines read the block to understand the article as a thing, not just as text, and to show its date and author correctly in search results.

datePublished is the day the article first went live, and it should never change. dateModified is the day the article was last changed in a real way — new facts, a corrected figure, a rewritten section — and it should change whenever that happens. When the two dates are the same, the article is new. When they differ, the article has been updated.

Yes, word for word. The headline in the schema should be the same as the main heading on the page. If the two disagree, the search engine trusts the page and ignores the block. Change the schema whenever the headline changes, and keep the author and dates in step with the page too.

No. The Article type is for written pieces — news, guides, blog posts. A product page should use Product schema, which can carry a price and a rating, and a tool page should use WebPage schema. Using Article on a page that is not an article means the search engine cannot show the extras that page deserves, and it may ignore the block entirely.

More free tools

More calculators and utilities from Sortrun — free, no sign-up.