Home › Developer Tools › FAQ Schema Generator

FAQ Schema Generator

Type or paste your questions and answers and get ready-to-paste FAQPage JSON-LD for your page. The tool flags empty or duplicate entries and unsupported HTML, and shows how the FAQ could look in search results.

Last updated:

Questions and answers

    Answers may use basic HTML that Google allows: <p>, <br>, <ul>, <ol>, <li>, <a>, <b>, <strong>, <i>, <em>, <h1>–<h6> and <div>.

    
            
    Advertisement
    Advertisement

    How to use the FAQ Schema Generator

    1. Enter your questions and answers, or click Import from text to paste an existing FAQ.
    2. Fix any red errors: every question needs an answer, and empty pairs are left out.
    3. Choose the format: with the script tag for pasting into HTML, or raw JSON for a CMS field or tag manager.
    4. Copy the code and paste it into the <head> or <body> of the page that shows the same FAQ.
    5. Test it with Open Rich Results Test (the code is copied for you) and request indexing in Search Console.

    Anatomy of FAQPage markup

    Every FAQ schema block has the same three-level structure. The generator builds it for you, but it helps to know what each property means when you edit the code by hand.

    PropertyValueMeaning
    @contexthttps://schema.orgThe vocabulary used
    @typeFAQPageThe whole page is a list of frequently asked questions
    mainEntityarray of QuestionOne item per question, in the order shown on the page
    Question.nametextThe full question exactly as written on the page (required)
    acceptedAnswerAnswerThe single official answer (required)
    Answer.texttext or limited HTMLThe full answer as shown on the page (required)

    FAQPage, QAPage or HowTo?

    • FAQPage: you wrote the questions and the answers, and each question has one answer. Support pages, shipping and returns pages, product and service FAQs.
    • QAPage: one question per page, asked by a user, with answers from the community that can be voted on. Forums and Q&A sites.
    • HowTo: step-by-step instructions to complete a task. Use the Schema Markup Generator for HowTo, Product, Article, Organization and other types.

    Tips for a good FAQ section

    • Answer the real questions customers ask support, search for or type into your site search, not marketing slogans phrased as questions.
    • Lead with the answer. Put the direct answer in the first sentence, then add details. Search engines and AI assistants often quote only the first part.
    • Keep answers self-contained so each still makes sense when shown alone, without "as mentioned above".
    • Update the markup with the page. When you edit an answer on the page, regenerate the JSON-LD so both match.

    Frequently asked questions

    What is FAQ schema?

    FAQ schema is structured data using the schema.org FAQPage type. It describes the questions and answers on a page in a machine-readable format, usually JSON-LD, so search engines and AI assistants can understand that the page contains an FAQ and which answer belongs to which question.

    Does Google still show FAQ rich results?

    Since August 2023 Google shows FAQ rich results only for well-known, authoritative government and health websites; for other sites the markup is still valid but usually does not create the expandable FAQ in results. Other search engines such as Bing can still use it, and it helps machines understand your content.

    Where do I put the FAQ JSON-LD code?

    Paste the script tag anywhere in the HTML of the page, usually in the head or just before the closing body tag. In WordPress you can use a custom HTML block or a header-scripts plugin, and in Google Tag Manager a custom HTML tag also works, although Google recommends adding it to the page itself.

    Do the questions have to appear on the page?

    Yes. Google's guidelines require that all FAQ content in the markup is visible to users on the page, and the answers must be the same as on the page. Marking up content that users cannot see can lead to a manual action.

    Can I use FAQ schema for user-submitted questions?

    No. FAQPage is for pages where the site owner wrote both the questions and the single official answers. A page where users ask questions and others post answers, like a forum or product Q&A, should use the QAPage type instead.

    Can answers contain links and formatting?

    Yes. The answer text may include these HTML tags: h1 to h6, br, ol, ul, li, a, p, div, b, strong, i and em. Other tags are ignored by Google, and the tool warns you when it finds them.

    Is one FAQPage per page allowed?

    Use one FAQPage block per page that lists all its questions. If the same question appears on several pages of your site, mark it up on only one of them.

    Are all the tools on FreeToolCabin tested for quality and accuracy?

    Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

    Related tools

    Schema Markup Generator (JSON-LD)Create JSON-LD structured data for FAQ, Product, Article and more.Meta Tag GeneratorCreate SEO, Open Graph and X meta tags with live previews.SERP Snippet PreviewPreview your title tag and meta description with pixel-accurate truncation on desktop and mobile.Open Graph PreviewPaste OG tags and preview how links look on Facebook, X and LinkedIn.Question Keyword GeneratorFind the questions people ask about a topic, grouped by who, what, why, how, can and more.Privacy Policy GeneratorCreate a privacy policy for your website or app with CCPA, CalOPPA, COPPA and AdSense sections.UTM Campaign URL BuilderAdd UTM tracking parameters to links and make a QR code.Robots.txt GeneratorBuild a robots.txt file with rules, sitemap lines and AI-bot blocking presets.Sitemap GeneratorTurn a list of URLs into a valid XML sitemap file.Hreflang Tag GeneratorCreate hreflang tags, sitemap entries and Link headers for every language and region, validated.Canonical Tag GeneratorNormalize URLs and create rel=canonical tags and HTTP headers, for one page or a whole list.Content Security Policy GeneratorBuild a CSP header or meta tag with nonces, hashes, presets and report-only mode.Meta Tag AnalyzerPaste page HTML to audit title, description, canonical, robots, Open Graph and hreflang tags.Robots.txt TesterTest whether a URL is allowed or blocked by robots.txt for Googlebot and other crawlers.Sitemap URL ExtractorExtract every URL from a sitemap.xml or sitemap index, validate it and export to CSV or TXT.Cookie Consent Banner GeneratorDesign a cookie banner with accept, reject and settings buttons and copy the HTML/CSS/JS.Google Review Link GeneratorTurn a Google Place ID into a direct review link, QR code and printable review card.Keyword Suggestion ToolTurn one seed keyword into hundreds of Google and YouTube autocomplete keyword ideas.Local Business Schema GeneratorCreate LocalBusiness JSON-LD with address, geo, opening hours, holiday hours and sameAs links.Structured Data ValidatorCheck JSON-LD, microdata and RDFa against schema.org and Google rich result requirements.Terms and Conditions GeneratorCreate terms of service for a website, store, SaaS or app, with payments and governing law.Breadcrumb Schema GeneratorBuild BreadcrumbList JSON-LD plus the matching HTML breadcrumb from names and URLs.Cookie Policy GeneratorCreate a cookie policy with a ready cookie table for Google Analytics, AdSense, Meta Pixel and more.Disclaimer GeneratorWrite a website disclaimer for affiliate, health, finance or blog sites, with short post notices.Keyword CombinerCombine up to 4 keyword lists into every combination in broad, phrase and exact match.Long Tail Keyword GeneratorTurn a seed keyword into long-tail keywords with best, how to, near me, year and for X modifiers.On-Page SEO CheckerPaste page HTML and a keyword to audit title, meta, headings, alt text and keyword use.App Privacy Policy GeneratorCreate a privacy policy for your iOS or Android app from its SDKs, permissions and data.URL Tracking RemoverStrip utm, fbclid, gclid and other tracking parameters from one link or hundreds at once.YouTube Keyword ToolFind YouTube search suggestions for a video topic with A-Z expansion and copy them as tags.
    See all 28 SEO & Marketing Tools →