How to Do Schema Markup for Content
Learn how to add accurate JSON-LD schema markup to a blog post, which types fit which pages, and how to validate the code before publishing.
What schema markup does for a content page
Schema markup is structured data, usually written as JSON-LD inside a script tag in the page head or body. It labels parts of a page in a format search engines can read without guessing: this is a blog post, this person wrote it, this date is when it was published. Readers never see the code, and the visible text stays the same.
For a content page, the job is narrow. Markup describes what is already on the page. It does not add facts that the article lacks, and it cannot make a thin article rank. If the markup says the author is a registered dietitian and the byline says nothing of the kind, the markup is wrong, whatever the schema type.
Which schema types fit which content pages
| Schema type | Use it when | Properties to fill in first |
|---|---|---|
| Article or BlogPosting | The page is a written piece with a named author and a publish date | headline, author, datePublished, dateModified, image |
| FAQPage | The page shows real questions and answers that a reader can see on the page | mainEntity, each item as a Question with an acceptedAnswer |
| HowTo | The page gives numbered steps for completing a task | name, step items with text. Check the current status of HowTo support in Google's documentation before relying on it |
| BreadcrumbList | The page sits inside a clear folder-style path of parent pages | itemListElement with position, name and item URL for each level |
| Organization | You want the site's publisher details described once | name, url, logo |
Writing the JSON-LD for one blog post
- 1Start from the visible page
Open the published article and list what a reader can actually see: the headline, the byline, the date, the main image. Write the markup from that list, not from memory of what you meant to publish.
- 2Choose one primary type
For a standard article, use BlogPosting or Article, not both. Add FAQPage only if the page has a real question-and-answer section, and add HowTo only if the page is genuinely a set of steps.
- 3Fill in the properties with exact values
Copy the headline exactly as displayed. Use the date format YYYY-MM-DD. Use the author's real name as shown in the byline. Leave out any property you cannot fill accurately rather than inventing a value.
- 4Place the script and keep it single
Put one JSON-LD block in the page. If a content management plugin already generates markup, check the page source before adding your own, because duplicate blocks can conflict.
A worked example of accurate markup
Example only, using invented details: a post titled "Planning a Spring Garden Layout" by a named author, first published on March 4, and last edited on April 2. The markup could read: {"@context": "https://schema.org", "@type": "BlogPosting", "headline": "Planning a Spring Garden Layout", "author": {"@type": "Person", "name": "Jordan Vale"}, "datePublished": "2024-03-04", "dateModified": "2024-04-02"}.
Every value there matches something a reader can see. If the byline said "Jordan Vale, Garden Editor" and the page showed the April 2 update note, the markup would be consistent. Adding a rating field that nobody on the page gave would not be.
Structured data that describes content a visitor cannot find on the page is a misuse of the format and can lead to manual action from search engines. Do not mark up FAQ answers that appear only in the code, do not claim reviews or ratings that were never displayed, and do not list an author who did not write the piece.
Edge cases that cause trouble
- A page with two FAQ blocks, one visible and one hidden in an accordion that is never rendered, should only mark up the questions a reader can open.
- An updated article keeps its original datePublished, and dateModified changes only when the content has actually been revised, not when a typo in the footer was fixed.
- An author page and a blog post that both claim the same person as author should use consistent name spelling so the connection is clear.
- A post that quotes a product review should not wrap its own opinion in Review markup as if an independent reviewer wrote it.
- Long descriptions stuffed with keywords in the description property are not helpful to readers and tend to be ignored at best.
Checking the result before you rely on it
Paste the live page URL into Google's Rich Results Test, which reports whether the structured data it finds is valid for the rich result types it supports. For a broader check of schema.org syntax, use the Schema Markup Validator. Both tools test the code, not your intentions, so a clean result still needs a human look at whether the values are true.
Rich results are never guaranteed. Google decides case by case whether to show enhanced results, and it changes which types it supports over time. Read the current Search Central documentation for each type you use, and treat markup as a clearer description of your page, not as a display promise.
Try it on your own text
Paste anything and watch the word count, character count, sentence and paragraph stats, reading time, and keyword density update in real time. No button needed — it just counts.
ParaphraserRebuild any passage sentence by sentence while your meaning, facts, and tone stay exactly where you left them. Two depths, from a light refresh to a full restructure.
Make your writing sound human
Humanize AI-generated text in one click with AI Humanizer Lab.
Try for free