spyc.ai

Free tool

Article Schema Generator

Build Article, BlogPosting or NewsArticle JSON-LD with headline, author, dates and publisher filled in.

How it works

What is the Article Schema Generator?

The Article Schema Generator is a free tool that writes Article, BlogPosting or NewsArticle structured data in JSON-LD. Enter the headline, image, author, publisher and dates, then copy the code into your page. Empty fields are left out of the output, so the markup only ever claims what you actually typed.

How to use the Article Schema Generator

  1. Pick the type: Article, BlogPosting for a blog post, or NewsArticle for news.
  2. Enter the headline, description, image URL and the page's own URL.
  3. Add the author, the publisher and the published and modified dates.
  4. Copy the code, paste it into the page, and check it with the Schema Markup Validator.

What is article schema?

Article schema is structured data that describes a piece of writing with the schema.org Article type or one of its subtypes. It states the headline, the lead image, who wrote it, who published it, and when it was published and last changed. Search engines and AI systems read those facts directly instead of inferring them from the layout.

Google uses it to show a better title, a larger image and a correct date for the page in Search, Google News and Discover.

Article, BlogPosting or NewsArticle: which type should I use?

Use BlogPosting for blog posts, NewsArticle for news reporting, and Article for everything else: guides, essays, evergreen pages. Google treats the three the same way for its article features, so a wrong choice between them does no harm. The more specific type is simply a more accurate description, and accuracy is the point of structured data.

Which article schema properties does Google require?

None. Google's Article documentation lists no required properties, only recommended ones: headline, image, datePublished, dateModified and author, with the author's name and url. Add as many as are true for the page.

Two details matter. Give the author as a Person with a link to an author page, because that is how the article is tied to a real writer. And only change dateModified when the content changes; bumping it without an edit is the kind of signal that erodes trust in the rest of your markup.

Does article schema help with AI search?

It helps machines attribute the page correctly. An AI assistant that cites a page needs to know its title, author, publisher and date, and Article markup hands over all four without parsing. It does not make weak content quotable, and no markup guarantees a citation.

To see whether AI assistants name your brand at all, run the AI Brand Visibility Checker. For other types, use the Schema Markup Generator.

Where do I add article schema?

Paste the script tag into the page's HTML, in the head or at the end of the body. In WordPress use a custom HTML block or your SEO plugin's schema field; in Shopify add it to the theme template; in Webflow and Wix use the page's custom code setting. Most blog platforms and SEO plugins already output Article markup, so check the page with the Schema Markup Validator first. Two competing Article blocks on one page is a common, avoidable mess.

Questions

How long can the headline be in article schema?
There is no hard limit. Google advises a concise headline, because long ones may be cut off on some devices. Use the article's real title.
What image size does article schema need?
Google recommends high-resolution images in 16x9, 4x3 and 1x1 ratios, at least 50,000 pixels when width and height are multiplied. One good image is acceptable; all three ratios are better.
Can an article have more than one author?
Yes. List each author as its own Person object in an author array. The generator writes one author; add the others by hand in the same shape.
Is the publisher logo still required?
No. It was required for AMP articles. Google no longer requires publisher or its logo for Article markup, though both remain valid and useful.
Is this schema generator free?
Yes, with a free spyc.ai account. The code is built in your browser as you type, so nothing you enter is sent to a server.

Technical SEO Tools

More in Technical SEO Tools

Opengraph Viewer

Paste a URL and see the card it produces when someone shares it — title, description, image.

View Opengraph

Open Graph Generator

Write the Open Graph tags, preview the card, copy the markup.

Generate Open Graph tags

Robots.txt Checker

Fetch any site's robots.txt and test one URL against it: allowed, or blocked by which rule.

View robots.txt

Ready when you are

Before your next buyer asks AI about you, ask AI about yourself

One check, four engines, about twenty seconds. We show you the answers before we ask for anything.