Home » SEO Tools » Article Schema Generator

Article Schema Generator

Create Article structured data for a blog post or news article, so search engines can understand its headline, author and date.

Last updated 13 November 2026

Use the tool

Article structured data describes a blog post or news article in a format search engines can read. It states the headline, author, publish date, publisher and image, so the article can be understood as an article, not just as plain text.

This tool builds that data from your inputs. Paste it into the head of the article page, and make sure the values match the visible article.

How to Use This Tool

  1. Enter your headline: use the exact headline shown on the article.
  2. Add author, date and publisher: use real names and the real publish date.
  3. Add image and URL if you want them: use full public addresses.
  4. Click Generate Schema: copy the output into the head of the article page.

Good Practice Tips

  • Match visible content: schema values should match what visitors see on the page.
  • Use real dates: do not backdate or future date an article to game freshness.
  • One article block per article: each article page should have its own Article data.
  • Validate after pasting: use a structured data testing tool to confirm the output has no errors.

What Is Article Schema

Article schema is structured data that describes an article page in a format search engines can read. It is a JSON LD block that states the headline, author, publish date, publisher and image. It does not guarantee a rich result.

Schema.org defines three types for articles, and the more specific type simply says more about what kind of article the page is.

TypeUse it for
ArticleAny article page. The general type, for a guide, a report or an essay.
BlogPostingA post on a blog.
NewsArticleA news story, where the publisher and publish date matter for freshness.

The tool on this page outputs Article type only, the general type, valid for a blog post or a news story too. If you need BlogPosting or NewsArticle in the code, change the @type value in the copied code by hand.

Required and Recommended Properties

Only the headline is truly required. The rest are recommended.

PropertyStatusWhat to enter
headlineRequiredThe exact headline shown on the article, under 110 characters.
imageRecommendedThe full address of the main article image, at least 1200 pixels wide.
datePublishedRecommendedThe real publish date, in year month day order, as 2026-11-13.
authorRecommendedThe name of the person who wrote the article.
publisherRecommendedThe site or organisation that published the article.
descriptionOptionalA short summary of the article.
urlOptionalThe address of the article page.

Some properties are not fields in this tool, so they never appear in the output: no dateModified field, no publisher logo field, and no fields for articleSection, keywords or mainEntityOfPage. Add any of those to the copied code by hand if you need them.

Worked Example

Here is a real output from the tool above. Only the headline, author, date and URL were filled in, so only those fields appear. Publisher, image and description were left blank, and the tool leaves blank fields out.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "How to Convert Hex to Decimal",
  "author": {
    "@type": "Person",
    "name": "BotixTech"
  },
  "datePublished": "2026-11-13",
  "url": "https://botixtech.com/hex-to-decimal"
}
</script>

Copy the whole block, script tags included. The date is shown exactly as it was typed, so check it before you paste.

Image Rules

Search engines recommend an image at least 1200 pixels wide, in one of the ratios 16:9, 4:3 or 1:1. It must be a full public address that anyone can open, and it must be the image shown in the article itself.

Do not use a logo, a banner or a generic placeholder. Use the main image of the article. If the article has no image, leave the field blank.

Where to Paste It and How to Check It

Paste the code inside the head of the article page HTML, before the closing head tag. One article page gets one Article block, matching the visible article.

If you use WordPress, check first whether your SEO plugin already adds Article schema. Yoast SEO and Rank Math both add it by default, so a second block from this tool can give the page two Article blocks that disagree. Use one source only. On Ghost and Substack, paste the code into the code injection field for the head of the post. On Next.js, add the script block to the head of the article page.

After pasting, check the page with the Rich Results Test and the Schema Markup Validator, fix any errors they report and test again. A valid block is no promise of a rich result.

Common Validation Errors

Most Article schema errors come from a mismatch between the code and the visible page.

  • Headline does not match: the headline in the schema must be the same headline visitors see on the page.
  • Date typed in the wrong shape: this tool takes the date exactly as typed and does not convert it, so type it in year month day order, as 2026-11-13.
  • Image address is relative or unreachable: use a full public address starting with https.
  • Schema on a page with no article: Article schema belongs on a page that shows an article, not on a homepage, a category page or a contact page.
  • Two Article blocks on one page: if a plugin already adds Article schema, do not add a second block from this tool.

For a different kind of page, use the matching tool: FAQ Schema Generator for question pages, the Breadcrumb Schema Generator for navigation trails, the Local Business Schema Generator for a business page, the Meta Tag Generator for title and description tags, and the Open Graph Generator for social sharing tags.

Frequently Asked Questions

Does Article schema guarantee rich results?

No. Valid schema makes a page eligible for richer display, but search engines decide whether to show it for a given search.

Must schema values match the visible article?

Yes. Headline, author and date in the schema should match what visitors see on the page.

Where do I paste the generated schema?

Paste it inside the head section of the article page HTML, before the closing head tag.

Is my input uploaded to a server?

No. Everything runs in your browser on your own device, so your text never leaves your computer.

Which type should I use, Article, BlogPosting or NewsArticle?

Article is the general type and it is valid for any article page. BlogPosting is the more specific type for a blog post, and NewsArticle is the more specific type for a news story. This tool outputs Article type only, so the code you copy here always says Article. If you need BlogPosting or NewsArticle in the output, change the @type value in the copied code by hand.

What image size should I use?

Use an image at least 1200 pixels wide, in one of the ratios 16:9, 4:3 or 1:1. The image must be a full public address, and it must be the main image shown in the article. Do not use a logo or a generic placeholder as the article image.

Do I need Article schema if Yoast or Rank Math already adds it?

No. Yoast SEO and Rank Math both add Article schema by default, so adding a second block from this tool gives the page two Article blocks that can disagree. Use one source only. Use this tool when no plugin on your site adds the schema.

Can I use one Article block per page?

Yes. One article page gets one Article block. If a page shows more than one article, each article gets its own block, and each block must match the article it describes.

What happens if the schema does not match the visible article?

Search engines may ignore the schema, or treat the page as less trustworthy. Headline, author and date in the code must match what visitors see on the page. Do not add values that are not on the page, and do not backdate an article.

Why is there no dateModified field in this tool?

This tool has only a date published field, so the output never includes a dateModified value. If you update an article, add a dateModified value to the copied code by hand, set to the date of the update, and make sure the visible page shows the same update date.

↑