All tools / SEO

Schema Markup Generator

Generate Article JSON-LD structured data.

How to generate Article schema

  1. Enter the article headline.
  2. Enter the article URL.
  3. Enter the author's name.
  4. Choose the publication date.
  5. Add an image URL if the article has a main image. This is optional, but recommended.
  6. Press Run tool and copy the code.

You get a complete <script type="application/ld+json"> block using the schema.org Article type. The tool escapes characters that could break out of the script tag, so a headline containing < is safe.

What structured data does

Structured data describes your page in a format search engines can read without guessing. For an article, it states clearly what the headline is, who wrote it, when it was published and which image represents it. Google uses this to understand the page better, and in some cases to show richer results, such as a larger image, the author name or the date in Top Stories and Discover.

Schema markup is not a ranking boost on its own. Think of it as removing ambiguity. Clear, accurate data makes it more likely that Google shows the right date, author and image for your content.

Where to add the code

Paste the script block into the <head> of the page or anywhere in the <body>. Google reads both. On a static site, add it to the article's HTML file. In WordPress, you can add it with a header-and-footer code plugin limited to that post, or with a custom HTML block inside the post.

Check your SEO plugin first

If you use Yoast SEO, Rank Math, SEOPress or All in One SEO, your posts almost certainly output Article schema already. They create it automatically from the post title, author, date and featured image. Adding this code on top creates a second Article for the same page, which can send mixed signals.

Use this generator when:

To see what a page already outputs, view its source and search for application/ld+json.

Improving the generated markup

The output covers the properties that matter most. You can extend it by hand:

After editing, run the code through the JSON formatter to catch missing commas or quotes.

Test before and after publishing

Use Google's Rich Results Test to confirm the markup is valid and eligible, and the Schema Markup Validator at schema.org for a general check. After publishing, Google Search Console reports structured data problems for your whole site.

Structured data must match what is visible on the page. Marking up an author or date that readers cannot see goes against Google's guidelines and can lead to the markup being ignored. The WordPress SEO guide on WPSekar.com covers how schema fits into on-page SEO.

Frequently asked questions

Which date format should I use?

The tool uses the date picker's YYYY-MM-DD format, which is valid ISO 8601. You can add a time and time zone, such as 2026-12-04T09:00:00+05:30, for more precision.

Can a page have more than one schema type?

Yes. A page can have Article, BreadcrumbList and Organization markup together. Just avoid two separate Article blocks for the same content.

Related tools

SEO

Meta Tag Generator

Generate HTML title and description tags.

Open tool →
SEO

Google SERP Preview

Preview an approximate search result and measure title and description lengths.

Open tool →
SEO

Robots.txt Generator

Create crawler directives and an optional sitemap reference.

Open tool →