Skip to content
5pixel

Web and marketing

Structured data generator

Schema.org code for a business, product, FAQ, article, event or breadcrumbs, so Google and AI assistants know exactly what is on the page.

Price

10 free snippets
then 1 credit

Structured data generator in the client zone

You use the tool after logging in. The account is free and you get 10× snippet free every month.

How it works

You do not need to code to add structured data. Choose the type of content, fill in the form and you get ready-made JSON-LD code to add to the page.

What structured data is

Structured data is code that tells search engines and AI assistants exactly what is on a page: a business address and opening hours, a product price and availability, an article author or an event date. Google uses it to show rich results, such as star ratings, prices or breadcrumbs instead of the URL.

Which types to choose

Local business (LocalBusiness) suits the home or contact page, Product the product page, Article the blog, Event your events and BreadcrumbList every subpage. Add the FAQ type only where questions and answers are actually visible. Since 2023 Google shows expandable FAQ results only for selected government and health websites, but FAQ data still helps AI search engines.

How to add and test the code

Add the generated code to the page header or through a plugin such as Rank Math or Yoast. Then test it with Google's Rich Results Test and after a few days watch the Enhancements report in Google Search Console.

Common mistakes

The data in the code must match what is visible on the page. A rating that does not appear on the page, or a price different from the real one, can lead to a manual penalty. Also watch out for duplicate code when both the theme and a plugin add structured data.

Structured data also helps you get mentioned in AI answers in Google and ChatGPT. More in the article How to appear in ChatGPT answers and AI Overviews. The AI visibility app checks whether AI assistants already know about you.

How to do it

  1. 1

    Choose the type: local business, product, FAQ, article, event or breadcrumbs.

  2. 2

    Fill in the details exactly as they appear on the page.

  3. 3

    Copy the generated JSON-LD code.

  4. 4

    Add it to the page header or to a plugin.

  5. 5

    Test it with Google's Rich Results Test and keep an eye on Search Console.

Frequently asked questions

What is JSON-LD?

The structured data format Google recommends. It is a separate block of code in the page, so you do not have to change the content HTML.

Will structured data guarantee star ratings in Google?

No. Google decides for itself when to show a rich result. Without correct data, though, it certainly will not show one.

Where do I add the code in WordPress?

In the header, using a code snippet plugin or an SEO plugin such as Rank Math. The code can go in the header or the body of the page.

Why are my FAQ questions not showing in results?

Since 2023 Google only shows them for selected government and health websites. FAQ data still helps search engines understand the content.

Does structured data help with AI search?

Yes, it gives AI assistants clear facts about your business and products. More in the glossary under AI search.

Can you set up structured data across my whole site?

Yes. As part of SEO optimisation I set it up so it is generated automatically for every page and product.

Missing something in Structured data generator?

Suggest an improvement or a new feature. If a completely different tool would help you, tell me that too. Send your request from your free 5pixel account under Requests.

Log in and write

News by email

Tips, news and special offers by email

Choose what interests you. I only send that, and not often. You can unsubscribe with one click in every email.

By submitting, you agree to your email address being processed so that I can send you the selected news. You will confirm your subscription by email.