← Blog | November 29, 2026
How to Add Article Schema to Your Blog Posts (With Free Generator)
Every blog post you publish is a piece of text for people. Article schema is a way to describe that same post to machines: the headline, the author, the date and the image. Search engines can use this extra information to understand your page better.
In this guide you will learn what article schema is, which details to include, how to add it to a post and how to test it. You can create the code in seconds with our free Article Schema Generator, and our own articles use the same kind of markup.
What is article schema?
Schema markup is a standard vocabulary for describing content. The Article type has a home at schema.org, and the format most people use is JSON-LD, which is a small block of code placed in the page. If you are new to the idea, our schema markup for beginners guide is a good starting point.
Why add it?
- Clear facts. You tell search engines the real headline, author and publish date, instead of letting them guess.
- Consistency. Every post follows the same format.
- Possible extras. Google may use this information in how it understands and displays articles.
Be realistic: structured data does not guarantee a better ranking or a special result. Google explains how it uses article markup in its article structured data guide.
Article, BlogPosting or NewsArticle?
These are three closely related types. Article works for most written content. BlogPosting is more specific for blog posts. NewsArticle is for news. If you are unsure, Article is a safe and common choice, and it is the type our generator creates.
The details to include
| Property | What it is | In our generator |
|---|---|---|
| headline | The title of the post | Yes |
| author | The writer's name | Yes |
| datePublished | The day you published | Yes |
| image | A picture for the post | Yes |
| publisher | Your site or company name | Yes |
| dateModified | The day you last updated | Add by hand |
Google lists which properties it recommends in its guide. Keep the information true and match what readers see on the page.
What the code looks like
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "How to Add Article Schema",
"author": { "@type": "Person", "name": "Your Name" },
"datePublished": "2026-11-29",
"image": "https://example.com/image.jpg",
"publisher": { "@type": "Organization", "name": "Your Site" }
}
</script>How to create it with our free tool
- Open the Article Schema Generator.
- Type the headline of your post.
- Add the author name, publish date, image address and publisher name.
- Press Generate.
- Copy the code.
If you want to add a modified date or other extras, edit the code by hand before you paste it.
How to add it to your page
Paste the whole script block into the head section of the post, or anywhere in the body. On a static site, open the post file in a text editor and place the code before the closing head tag. On a platform such as WordPress, SEO plugins can add article markup for you, and you can also paste custom code in the page settings.
How to test it
- Open the Rich Results Test from Google.
- Paste your page address, or paste the code.
- Read the result. Fix any errors, then re-test.
You can also use the Schema Markup Validator, which checks that the markup is valid, even when no special search result is offered.
A real example from this site
Every article on our blog has an Article block in its code. It includes the headline of the post, the publisher name and the date it was published. When we publish a new post, we change the headline and date, and we keep everything else consistent. You can view the page source of any of our articles to see it.
Author: person or organisation?
The author can be a person or an organisation. If a named writer wrote the post, use their name as a Person. If the post is published under the site's name, an Organisation is fine. Do not invent an author just to fill the field, because the information should match what readers see on the page.
Date format
Dates in structured data use the format year, month, day, for example 2026-11-29. This is the standard format that machines read most reliably. If you also add a modified date, use the same format and update it only when you make a real change to the content.
Image tips
- Use a clear image that really belongs to the post.
- Make sure the image address works and can be opened by anyone.
- Use a full web address, starting with https.
- Prepare your pictures properly. Our guide to how to resize an image without losing quality can help.
A quick checklist before you publish
- The headline matches the visible title.
- The author and publisher names are real.
- The date is correct and in year, month, day format.
- The image link opens.
- The code passes the Rich Results Test or the Schema Markup Validator.
Common mistakes
- Wrong details. A headline or date that does not match the visible page
- Missing or broken image links
- Fake authors or invented dates. Always use real information
- Copying the same code to every post without changing it
- Forgetting to update the modified date after a real edit
Works well with other markup
Article schema is only one piece. If your post answers common questions, you can also add a FAQ section, as explained in our guide to a FAQ section for SEO. And always write clear titles and descriptions, as described in our meta description examples.
When to update your markup
Come back to your schema when something real changes: you rewrite the headline, you update the article in a meaningful way, you replace the main image or the author changes. Small spelling fixes do not need a new date. Keeping the markup honest and in sync with the page is more important than adding more fields.
Do you need a plugin?
On a static site, pasting code by hand works well and gives you full control. On a larger site with many posts, a plugin or a template can add the markup automatically, so each new post gets it without extra work. Whichever way you choose, test a few pages to make sure the output looks right.
Quick answers
Do I need schema on every post? It is optional, but easy once you have a routine.
Will it make me rank first? No. It helps search engines understand the page, nothing more.
Is the generator free? Yes. It needs no signup and runs in your browser.
Final thoughts
Article schema takes a minute per post and keeps your technical details tidy. Use the Article Schema Generator, test your result and keep the information honest. Once your posts are ready, you can earn links to them with our link building service.