How to use the Schema Markup Generator
- Choose the schema type that matches your page: FAQ, Local Business, Article, Organization or Product.
- Fill in the form. Empty fields are left out of the code, so only add what is true for your page.
- Click Copy Code and paste it in the head section of your page, or at the end of the body.
- Use Test in Google to check the page in the Rich Results Test, then request indexing in Search Console.
Which schema type should I use?
- FAQ Page: for a page that lists questions with answers written on the page.
- Local Business: for a shop, clinic, restaurant or service with a real address and opening hours.
- Article: for a blog post or news article, with author and dates.
- Organization: for the home or about page of a company, with logo and social profiles.
- Product: for a page that sells one product, with price and availability.
Tips for better results
- Only mark up what a visitor can see on the page. Schema that does not match the page can be ignored by Google.
- Use full web addresses that start with https://.
- Add one block of code per page and keep it up to date when prices, hours or dates change.
Frequently Asked Questions
What is schema markup?
It is extra code that tells search engines what your page is about, such as a business, an article or a product. It can make your result show extra details in Google.
Does schema markup improve rankings?
It is not a direct ranking factor. It helps Google understand the page and can make the result more eye-catching, which can bring more clicks.
Why JSON-LD and not microdata?
Google recommends JSON-LD. It sits in one block of code, so it is easier to add and change than markup spread through your page.
When should I use FAQ schema?
Only on pages that really show the questions and answers to visitors. Google shows FAQ results for a limited set of sites, so a rich result is not guaranteed.
Where do I paste the code in WordPress?
Use a header and footer scripts plugin, or the schema or custom code option of an SEO plugin such as Rank Math or Yoast. You can also paste it in an HTML block on the page.
How do I test my schema code?
Click Test in Google, paste your page address or the code into the Rich Results Test, and fix any errors it shows.
