First, set expectations
Structured data describes your content in a format machines can read. It does not force any special display. In 2023 Google announced two changes that matter here: FAQ rich results would mainly be shown for well-known, authoritative government and health websites, and HowTo rich results would no longer be shown at all.
So why add it? The markup is still valid schema.org vocabulary. It makes the structure of a page explicit, other search engines and tools can read it, and a page with a clean FAQ section is useful to readers whatever happens in the results. Just do not add it expecting extra lines under your listing, and do not let it replace writing a good answer.
What JSON-LD looks like
JSON-LD is a block of JSON inside a <script type="application/ld+json"> tag. Google recommends it over the older microdata and RDFa formats because it sits apart from your HTML, so you can add or change it without touching the visible page. Here is a two-question FAQ for a dog-grooming page:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "How long does a full groom take?",
"acceptedAnswer": { "@type": "Answer", "text": "Most dogs take two to three hours, depending on size and coat." }
},
{
"@type": "Question",
"name": "Do I need to book in advance?",
"acceptedAnswer": { "@type": "Answer", "text": "Yes. Saturday slots usually fill a week ahead." }
}
]
}
</script>
Every question and answer in that block must also appear as visible text on the page. That is the most important rule in structured data: describe what is there, nothing more.
Step by step: adding FAQ schema
- Write the FAQ on the page first. Real questions your customers ask, each with a direct answer.
- Open the schema generator, choose FAQPage and copy each question and answer into a row. Use + Add question for more rows and Remove for spares.
- Copy the script tag. The generator builds the JSON with a proper serializer, so quotes and special characters are escaped correctly.
- Paste it into the page. In plain HTML, put it in the head or at the end of the body. In WordPress, use your SEO plugin's schema settings, a header-and-footer code plugin, or a custom HTML block.
- Publish and test. Run the live URL through Google's Rich Results Test or the Schema Markup Validator. Fix any errors they report, then check again.
A HowTo example
HowTo markup lists the steps of a task, with optional supplies, tools and total time. Time uses ISO 8601 duration format, so 90 minutes is PT1H30M; the generator converts minutes for you.
{
"@context": "https://schema.org",
"@type": "HowTo",
"name": "How to reseal a bathroom window",
"totalTime": "PT1H30M",
"supply": [{ "@type": "HowToSupply", "name": "Silicone sealant" }],
"tool": [{ "@type": "HowToTool", "name": "Caulking gun" }],
"step": [
{ "@type": "HowToStep", "position": 1, "text": "Cut out the old sealant with a utility knife." },
{ "@type": "HowToStep", "position": 2, "text": "Clean and dry the gap completely." },
{ "@type": "HowToStep", "position": 3, "text": "Run a steady bead of new sealant and smooth it." }
]
}
Google no longer shows HowTo rich results, so treat this markup as documentation of your page rather than a ranking tactic. If your time is short, spend it on the steps themselves: clear wording, photos of the tricky parts, and an honest time estimate.
Writing FAQ questions worth marking up
The markup is only as good as the questions behind it. A strong FAQ section answers things people really ask before they buy, book or act, in the words they use. Good sources are your support inbox, sales calls, reviews and the questions people type into search, which a keyword tool can help you list.
Keep each answer short and complete: one to three sentences that make sense on their own, without "see above". Put the most useful questions first. Five to eight is plenty for most pages; a page with forty questions is usually a help centre and deserves its own structure.
Avoid questions nobody asks, written only to repeat a keyword ("What is the best cheap dog groomer near me?"). They read badly on the page, and they add nothing to the markup. If an answer changes, such as a price or an opening time, update the visible text and the JSON-LD together, because a mismatch between the two is exactly what structured data guidelines warn against.
Common mistakes
- Marking up text that is not on the page. Hidden FAQs in the markup break Google's structured data guidelines and can lead to a manual action.
- Using FAQ markup for user questions. If visitors post questions and several people answer, that is a forum or Q&A page, not an FAQ.
- Copying one FAQ across the whole site. Mark up a given FAQ on one page, where it belongs.
- Answers that are ads. "Call now for 20% off" is not an answer.
- Broken JSON. A missing comma or a stray quote invalidates the whole block. Hand-edited markup is the usual cause; if you must edit it, run it through a JSON formatter first.
- Two plugins printing the same schema. View the source and search for
FAQPage; it should appear once.