Structured data · 4 min read
How to add Article schema to a blog post with JSON-LD
Turn a blog post’s headline, byline, image and publication dates into BlogPosting JSON-LD. Edit a worked example and check the markup on the published page.
By Tool Studio · Published
Put the walkthrough into practice
Open the sewing journal example in the schema generator. Change its headline, byline and dates to see which values appear in the script.
1. Start with the published byline and dates
Imagine a sewing journal has published “How to mend a torn pocket”. Maya Patel wrote it on May 12. On May 19 she added a photo and a new step for reinforcing the seam. The page shows Maya’s byline, both dates and the repair photo. Those details give us the headline, author, publication date, modification date and image for the markup.
Use BlogPosting for a post in a blog or journal. Article is a broader option. Enter the address where readers can open the individual post, and use the visible headline even if your HTML title also includes your site name.
2. Build the BlogPosting JSON-LD
The example below uses fictional names and addresses. Maya is the author. Cedar Sewing Journal is the publisher. If an organization wrote the post and the byline credits that organization, select Organization for the author type.
For your own post, use a representative image that a signed-out visitor can open. Leave the modification date empty on a first publication with no later edit. The generator accepts calendar dates. If your CMS records exact publication times, keep its ISO 8601 timestamps with their time-zone offsets.
{
"@context": "https://schema.org",
"@type": "BlogPosting",
"headline": "How to mend a torn pocket",
"url": "https://example.com/journal/mend-a-torn-pocket/",
"image": "https://example.com/images/pocket-repair.jpg",
"datePublished": "2026-05-12",
"dateModified": "2026-05-19",
"author": {
"@type": "Person",
"name": "Maya Patel"
},
"publisher": {
"@type": "Organization",
"name": "Cedar Sewing Journal"
}
}3. Check what your CMS already publishes
Open the published page source and search for application/ld+json. A theme or SEO plugin may already describe the post inside an @graph. If you find that article, update its headline, byline or image through the CMS fields that feed it. Two descriptions of the same post with different authors or dates make maintenance harder.
If the post has no article markup, choose Copy in the generator. It includes the surrounding script element. Add it to the template that renders this post. Use the Code tab of Google’s Rich Results Test to check the draft, then test the public URL after publishing. Testing the URL also catches a CMS that strips the script or inserts it as visible text.
4. Read the detected article
Expand the article in the test results. If the author is listed as the journal when the page credits Maya, check the author field in the CMS. If the image is missing, open its address directly and check whether Google can fetch it. When the detected values agree with the page, record the URL you tested so you can repeat the check after a template change.
Google lists recommended Article properties and decides how an individual search result appears. A successful test confirms that Google can read eligible markup. Search Console shows how the page subsequently performs.
Before you finish
- The headline and author match the post
- Publication and update dates reflect the page history
- The image URL opens directly
- The published URL has been tested
Further reading
Put this guide to work
Edit the blog post example ↗Schema Markup Generator (JSON-LD)
Build JSON-LD structured data for 10 schema types, including Product, Recipe, and Article. Copy the markup and check it in Google’s Rich Results Test.
JSON Formatter
Format, minify, and validate JSON. Includes key sorting and structural stats.