Skip to content

Generated JSON-LD

Paste this in your page's <head> (or anywhere in <body>)

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Article"
}
</script>

4 lines · 0.06kb ·

Google checks · Article

Fill in the form or click "load example" to see live checks against Google's required and recommended properties.

Final check: Google's own Rich Results Test (paste the code there). It decides rich-result eligibility; this tool checks Google's documented required and recommended properties.

This tool checks one thing. Our audit checks 190+.

DarnItSEO Audit scans your entire site and writes the fix instructions for every issue it finds. Included in every yearly plan.

Bylines, dates and thumbnails: what Article markup describes

This tool builds valid Article structured data in JSON-LD format for blog posts, news stories, guides, and editorial pages. You fill in the headline, author, publish date, publisher, and image, and the generator produces a spec-compliant script block you can drop straight into the head of your page. There is no manual JSON to write, no missing commas to chase, and no broken brackets to debug. Article markup tells Google and AI systems exactly who wrote a piece, when it was published, who published it, and what image represents it, which is the metadata that powers Top Stories, the news carousel, and the headline-and-byline treatment you see in search results.

Article is an umbrella type with three practical flavors. Plain Article fits evergreen guides and general blog content. BlogPosting is the right type for a personal or company blog where the content is opinion, commentary, or how-to writing rather than reported news. NewsArticle is meant for journalism produced by a publication with editorial standards. Any of the three can appear in Top Stories: Google picks those stories from its own news signals (freshness, quality, relevance to a news query), not from the subtype you choose, and Top Stories does not require structured data at all. Picking the honest subtype still matters, because labelling a marketing blog as NewsArticle adds nothing and makes the markup look less trustworthy.

Headline, image, author, publisher: the fields Google leans on

Schema.org technically requires very little from an Article, but Google has its own effective requirements that matter far more for rich-result eligibility. The properties Google actually leans on are headline, image, datePublished, dateModified, author, and publisher. The headline should match the visible H1 or title and stay under 110 characters, because Google truncates longer headlines and may drop the markup entirely if the headline looks padded with keywords. The image property should point to a high-resolution file, ideally provided in multiple aspect ratios (16x9, 4x3, and 1x1) so Google can choose the best crop for each surface. Low-resolution or tiny images are a common reason a valid Article still never earns a visual treatment.

The author property deserves special attention because Google has tightened how it reads bylines. Author should be a Person or Organization object with a name, and increasingly Google wants an author URL or sameAs link that points to a page describing the writer. A bare author string still validates, but a structured author with a link to an author bio page sends a far stronger expertise signal. The publisher property must be an Organization with a name and a logo, and the logo should be a clean, rectangular image on a transparent or white background. Both datePublished and dateModified should be real ISO 8601 dates that match what a reader can see on the page, never fabricated freshness dates.

Where Article markup shows up: search, Discover and news

The headline rich result, the byline, the publish date, and the thumbnail in search are all driven by Article markup combined with Google deciding your page deserves that treatment. For general blog content, the most visible payoff is the article thumbnail and date that can appear next to your listing, plus eligibility to surface in Discover, where a strong image and a clear headline carry enormous weight. For news content, Top Stories and the News tab are open to any Article subtype; what decides inclusion is whether Google sees the page as timely, original reporting that meets Google News content policies, with the markup simply helping Google read the headline, image and dates correctly.

Article markup has quietly become one of the strongest levers for AI search visibility too. When an AI Overview or a chatbot summarizes a topic and attributes a source, it relies heavily on the author, publisher, and date signals in your structured data to decide whether your page is a credible, current source worth citing. A page with a named expert author, a recognizable publisher, and a recent dateModified is materially more likely to be lifted into an AI answer than an identical page with no byline and no dates. Today, Article schema is as much about being citable by machines as it is about earning a thumbnail in the blue links.

Checking the generated block against your page

The output is a single script block with a type of application slash ld plus json. Inside it you will see the at-context pointing to schema.org, the at-type set to Article, BlogPosting, or NewsArticle, and then your filled-in properties. Read it top to bottom and confirm every value matches what a visitor sees on the rendered page. The headline in the JSON should be the same words as your visible heading. The author name should be the same person credited on the page. The dates should be the same dates shown to readers. This mirror-matching is not optional polish; it is the single rule Google enforces most aggressively for structured data.

If you provided a mainEntityOfPage value, it should be the canonical URL of the article itself. This property tells search engines that this Article is the primary thing the page is about, which removes ambiguity on pages that also carry breadcrumb, organization, or website markup. When you copy the block out, paste it into the head of the specific article template, not a site-wide layout, so that each article carries its own unique headline, author, and dates rather than a single shared set of values across your whole blog.

Here is a complete BlogPosting block of the kind this generator produces. Swap the type to Article or NewsArticle if that describes the page better; every property stays the same.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "BlogPosting",
  "mainEntityOfPage": "https://www.example.com/blog/how-to-store-coffee-beans",
  "headline": "How to Store Coffee Beans So They Stay Fresh",
  "image": [
    "https://www.example.com/images/coffee-beans-16x9.jpg",
    "https://www.example.com/images/coffee-beans-4x3.jpg",
    "https://www.example.com/images/coffee-beans-1x1.jpg"
  ],
  "datePublished": "2026-03-12T08:00:00+00:00",
  "dateModified": "2026-09-30T14:20:00+00:00",
  "author": {
    "@type": "Person",
    "name": "Maya Okafor",
    "url": "https://www.example.com/authors/maya-okafor"
  },
  "publisher": {
    "@type": "Organization",
    "name": "Example Roasters",
    "logo": {
      "@type": "ImageObject",
      "url": "https://www.example.com/images/logo-600x60.png"
    }
  }
}
</script>

Adding Article markup in WordPress, Shopify or GTM

WordPress

Yoast SEO and Rank Math already output Article (or BlogPosting) markup for every post, built from the post title, featured image, author and dates. Check that first by searching the page source for "ld+json". If you only need to change the subtype, use the plugin's per-post schema settings (Rank Math's Schema tab or the Schema panel in Yoast). Only paste a generated block through a header plugin such as WPCode once you have turned off the plugin's own Article output, or the page will carry two competing articles.

Shopify

Shopify blog posts use the article template, and many themes already print a basic Article block; search the theme code for "Article" under Online Store, Themes, Edit code. To add or replace it, paste the script into theme.liquid before the closing head tag inside {% if template contains 'article' %}, and fill the values with Liquid such as {{ article.title | json }} and {{ article.author | json }} so each post gets its own data. Remove the theme's version so there is only one.

Google Tag Manager

Create a Custom HTML tag with the script and fire it on the matching blog URLs. A static block only suits one page, so for a whole blog you would need Data Layer variables for headline, author and dates. Google can read JSON-LD that GTM injects, but only after rendering the page, so it is slower and less dependable than markup printed by the server. Treat GTM as the fallback when you cannot edit the template.

Why valid Article markup still gets ignored

The most common error is a mismatch between the markup and the visible page. People paste an old headline into the schema, change the visible title later, and forget to update the JSON. Google sees the conflict and may discount the markup. The second most common error is a missing or malformed publisher logo. The logo must be a real image URL on an ImageObject or a direct URL, and if it is missing, broken, or the wrong shape, the rich result quietly fails to appear even though the schema validates as syntactically correct.

A third frequent mistake is faking the dateModified to look fresh. Updating the modified date without actually changing the content is a pattern Google has learned to detect, and it erodes trust rather than building it. A fourth mistake is choosing NewsArticle for content that is not news in the hope of reaching Top Stories; the subtype does not unlock that feature, and the label simply misdescribes the page. A fifth is stuffing keywords into the headline so it reads like a search query rather than a real title; an over-optimized headline is both a poor user signal and a reason the headline feature may be suppressed. Keep the headline honest, human, and matched to the page.

Article, BlogPosting, NewsArticle or WebPage?

Article is frequently confused with WebPage, BlogPosting, and CreativeWork. WebPage is a generic type for any page and should not replace Article on editorial content, because it does not unlock the byline and date features. BlogPosting is a subtype of Article and is the better choice for blog content specifically; it inherits everything Article supports and signals the content is a blog post. CreativeWork is the broad parent of Article and is too generic to earn article rich results on its own. When in doubt for a written editorial page, Article or BlogPosting is almost always the right call, and NewsArticle is the natural fit for true journalism.

Article markup also pairs naturally with other types on the same page. A typical well-marked blog post carries Article for the content, BreadcrumbList for the navigation path, and an Organization or WebSite block for the publisher identity. These should live in separate script tags rather than being forced into one nested object. Keeping each type in its own clean block makes debugging far easier and avoids the validation errors that come from over-nesting unrelated entities. The Breadcrumb Schema Generator and Organization Schema Generator build those companion blocks, and our schema markup guide shows how they fit together.

Testing and monitoring your Article markup

Paste the block into the head of the article template and publish or redeploy. Then run the URL through Google's Rich Results Test to confirm it is eligible for the Article rich result and to catch any warnings about missing recommended fields like image or author. Follow that with the Schema Markup Validator for a pure syntax check that is independent of Google's eligibility rules, or check the live page with our Schema Markup Tester. A week or so after publishing, use URL Inspection in Search Console to confirm Google has parsed the markup from the indexed version of each post.

Remember that valid Article schema makes a page eligible for rich treatment but never guarantees it. Google decides per query and per page whether to show a thumbnail, a date, or a Top Stories slot, and that decision factors in your site's authority, the quality and originality of the content, and whether the query is one where a rich result helps the searcher. Keep the markup accurate, keep your author and publisher identities consistent across the site, refresh the dateModified only when you genuinely update the piece, and let Google make the final call on how it presents you. Done consistently across a blog, correct Article markup compounds into stronger visibility in both classic search and the AI answers that increasingly sit above it.

How it works

  1. Fill In Article Details

    Enter your headline, author name, publication date, description, and URL.

  2. Select Article Type

    Choose between Article, NewsArticle, or BlogPosting based on your content type.

  3. Copy JSON-LD Code

    Get valid JSON-LD markup ready to paste into your page's <head> section or CMS schema field.

Frequently asked

What is Article schema markup and what does it do?

›

Article schema is structured data that tells search engines your page is an article, including the headline, author, publication date, and publisher. It helps Google understand your content for Google News, Top Stories carousels, and Discover, and can display rich author and date information in search results.

What is the difference between Article, NewsArticle, and BlogPosting?

›

All three are types of Article. Use NewsArticle for timely news content published by a news organization. Use BlogPosting for informal blog posts on personal or company blogs. Use the base Article type for evergreen content like guides and tutorials that doesn't fit either category.

Does Article schema improve rankings?

›

Not directly. Schema doesn't boost rankings in traditional search. Its main value is eligibility for rich results like Top Stories carousels in Google News, which can dramatically increase visibility and click-through rates for news and timely content.

Which fields does Google actually require for Article rich results?

›

None are strictly required. Google's Article documentation lists only recommended properties: headline, image, datePublished, dateModified, and author (with a name and ideally a url pointing to an author page). A publisher logo is no longer needed. Fill in every property that applies; missing ones won't make the markup invalid, but they give Google less to show and less to trust.

Does only NewsArticle qualify for Top Stories?

›

No. Any Article type (Article, NewsArticle or BlogPosting) can appear in Top Stories. Whether a page shows there depends on it being timely, newsworthy content that meets Google News content policies, not on the schema subtype. Pick the subtype that honestly describes the page.

How big should the article image be?

›

Google asks for images of at least 50,000 pixels (width multiplied by height), and pages need images at least 1200px wide to show as large images in Discover. Supply the same image in 16x9, 4x3 and 1x1 aspect ratios as an array if you can. Use absolute HTTPS URLs and a format Google Images supports (JPG, PNG, WebP).

Should I include Article schema on my homepage?

›

Generally no, unless your homepage is a single article. Use Article schema only on pages where the primary content IS an article. For homepages and category pages, use WebPage or CollectionPage schema instead. Mismatching the schema type to the page type confuses Google and risks manual action.

Can I use Article schema for sponsored content?

›

Yes, but mark it appropriately. Add sponsoredOrganization or use the disclosure type properly. Google has manual quality guidelines around sponsored articles; misrepresenting paid content as editorial via schema can trigger penalties. When in doubt, use Article schema with a clear sponsor attribution rather than hiding the relationship.

Related tools

More Schema Markup tools

See all Schema Markup tools · All free SEO tools

Related guides

↳ full site audit190+ checks · AI fix instructions · yearly plans