FAQPage JSON-LD Schema Generator
Form for generate JSON-LD Schema Markup
Use the following JSON-LD schema generator to generate the markup code for the FAQ page:
Press to add another Question/AnswerResult of JSON-LD markup generation
About Generation of JSON-LD FAQPage Schema
What is FAQPage Schema?
The FAQPage structured data indicates that the page is considered to have a section with Frequently Asked Question (FAQ) and answers to those questions.
Schema.org has more info on FAQ structured data and You can find Google documentation here.
Will emojis and HTML tags work with FAQPage Schema?
Google does seem to accept things like emoji and unicode characters like strikethrough text but according to Google officially the answer section can contain these HTML tags:
- h1, h2, h3, h4, h5, h6
- a
- br
- ol, ul, li
- p, div
- b, strong
- i, em
About this tool
The FAQ Page Schema Generator is free tool that can help you quickly create the required structured data for your FAQ pages to be eligible for display as a rich result in Google search. This tool is simple as possible so you can generate structured data markup in a few simple clicks and You not need any coding experience to use these.
When schema markup are created properly, search engines get the basic information needed to optimally rank and display your site's page in search results. If not used, rankings and clickthrough rate will suffer.
How it Works?
Just fill in and select the necessary options and click "Generate", and you will receive JSON-LD markup. Copy the generated schema into the head of your website. Test it via Structured Data Testing Tool, in case of any mistake go back to the Schema Generator of FAQ page tool and generate the code again.
Where to place the code?
The data, enclosed within the <script type="application/ld+json"> ... </script>
tags as shown in the examples below, may be placed in either the <head>...</head>
or <body>...</body>
region of the page. Google can also read JSON-LD data when it is dynamically embedded in page content, for example, using JavaScript code.
If it’s data about your page (or what this page is about), you could place the script element in the <head>...</head>
, because the head element is defined to contain metadata for the document.
In particular, a FAQPage is placed between <head>...</head>
tag.
Examples of FAQPage JSON-LD markup
<script type="application/ld+json"> { "@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [{ "@type": "Question", "name": "Can I just have one Question?", "acceptedAnswer": { "@type": "Answer", "text": "Of course you can, this is the JSON-LD required to do that." } }] } </script>
<script type = "application/ld+json"> { "@context": "http://schema.org", "@type": "FAQPage", "name": "Title of the page", "mainEntity": [{ "@type": "Question", "name": "Is this the first question?", "answerCount": 1, "acceptedAnswer": { "@type": "Answer", "text": "Yes, this is the first question."}, "image": { "@type": "ImageObject", "contentUrl": "https://www.example.com/image-relating-to-the-question.png" } }, { "@type": "Question", "name": "Can I add another question to this markup?", "answerCount": 1, "acceptedAnswer": { "@type": "Answer", "text": "Sure you can." } }] } </script>