How to implement FAQPage schema with JSON-LD examples

Implementing FAQPage schema with JSON-LD makes your FAQs instantly parseable for AI Overviews and rich results. Place visible FAQ content on the page first, then embed the script in the <head> or <body>—Google validates it via Search Console.

Basic JSON-LD Structure

Start with this minimal, Google-approved template. Replace questions and answers with your actual content matching on-page FAQs exactly—no hidden text.
json
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "What is AI schema markup?",
"acceptedAnswer": {
"@type": "Answer",
"text": "AI schema markup structures site data for machine reading, boosting visibility in Google AI Overviews and ChatGPT by clarifying entities and answers."
}
},
{
"@type": "Question",
"name": "Does FAQ schema guarantee rich results?",
"acceptedAnswer": {
"@type": "Answer",
"text": "No guarantee, but valid FAQPage schema makes you eligible and increases AI extraction by 36% per tests."
}
}
]
}
</script>

This uses mainEntity array for multiple Q&As. Keep answers 50-200 words, natural language.

Step-by-Step Implementation

  1. Write visible FAQs on your page using <h3> for questions and <p> for answers.

  2. Copy the JSON-LD above, customize name (question) and text (answer) fields.

  3. Paste into HTML <head> or before </body>.

  4. Validate at Google’s Rich Results Test.

  5. Submit updated sitemap in Search Console.

For WordPress, add via header.php or plugins like Schema Pro. Next.js uses dangerouslySetInnerHTML with JSON.stringify.

Achi Systems Example for Nairobi

Tailored for local services:

json
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "How much does AI optimization cost in Nairobi?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Achi Systems starts at KSh 50,000 monthly, including schema audits and AI Overviews setup for Kenyan businesses."
}
},
{
"@type": "Question",
"name": "When will I see AI search results?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Most clients rank in Google AI Overviews within 2-4 weeks after schema deployment and indexing."
}
}
]
}
</script>

Deploy this on service pages to capture queries like “AI SEO Kenya.” Achi Systems automates validation for instant compliance.

Validation Checklist

Step Action Tool
Content Match page FAQs exactly Manual check
Length Answers 50-200 words Word counter
Syntax Valid JSON JSONLint
Indexing Google recognition Search Console
Results Rich snippets/AI GSC Performance

Test live URLs post-implementation—errors block AI visibility

On a related note, our FAQs

 

Share your love
Achi Systems
Achi Systems

Website Design and Development Services, Responsive Web Design in Nairobi, Website Re-Design, Website Development and Hosting, Website Management, Social Media Marketing and Digital Marketing Services, Search Engine Optimization services. Have your Brand / Campaign moving with the help of a highly experienced Digital Services Professionals!

Articles: 4884