About schema generator
Schema markup is structured data that describes the content of a page to search engines in a standard vocabulary. It can make a page eligible for rich results such as FAQ dropdowns or product details.
Types available
- FAQ: a list of questions and answers that appear on the page.
- Article: headline, author, dates and image of a news or blog post.
- Product: name, image, price and availability.
- Breadcrumb: the path to a page in the site structure.
- Organization: your official name, logo and links.
Rules to follow
Markup must describe content that visitors can actually see on the page. Do not mark up hidden or misleading content, or search engines may ignore it or take action. After adding the code, test it with Google's Rich Results Test.
No guarantee
Valid markup makes a page eligible for rich results, but Google chooses when to show them.
A worked example
For an FAQ page you list each question and its answer in the FAQPage schema. The markup must match the questions and answers shown on the page. When it does, the page can become eligible for expandable answers in search results.
Testing your markup
- Paste the code into Google's Rich Results Test.
- Fix every error and review warnings.
- Use schema on pages where the content really fits the type.
