How to generate Article schema
- Enter the article headline.
- Enter the article URL.
- Enter the author's name.
- Choose the publication date.
- Add an image URL if the article has a main image. This is optional, but recommended.
- 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:
- Your site does not use an SEO plugin, or is not built on WordPress.
- You build landing pages or static pages outside your CMS.
- You want a clean example to compare with what your plugin outputs.
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:
- dateModified: add it when you update the article substantially. Only change it for real updates, not to make a post look fresh.
- author.url: link the author to an author page or profile. This helps Google connect the person to their other work.
- publisher: add an Organization with your site name and logo.
- Article type: change
ArticletoBlogPostingorNewsArticleif that describes the content better.
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.