Black Friday: 50% off the full report and report packs until Tuesday 1 December.

Start a free scan

Free tool

Structured data generator

Fill in a few fields to get the JSON-LD markup for a local business, an organization, a product, an FAQ or an article, ready to paste into your page.

Everything happens in your browser: nothing you type is sent anywhere.

What structured data does

Structured data describes a page in a form search engines read without guessing: this is a dentist, open these hours, at this address; this product costs £24 and is in stock. Google uses it to understand pages and to show some of them with extras, such as prices, ratings or opening hours.

It makes a page eligible for those extras; it doesn’t guarantee them, and it isn’t a ranking boost on its own. The markup must match what the page shows: describing things that aren’t on the page breaks Google’s rules.

Which type to choose

  • Local business: customers visit you or you serve an area. On the homepage or the contact page.
  • Organization: any business, online-only included. On the homepage, with your logo and profiles.
  • Product: one product a page, with its price. Most shop platforms add this for you, so check before adding a second copy.
  • FAQ: questions and answers shown on the page. Google now shows FAQ results only for well-known government and health websites, so for most sites it won’t change how Google shows the page.
  • Article: blog posts and news, with the author and dates.

Where to paste it, and how to test it

The code goes anywhere in the page’s HTML, usually the head. Platforms that don’t let you edit it often have a “custom code” or “code injection” setting for one page, and SEO plugins can add it for you. The fix library has the steps for each builder.

Then test the page in Google’s Rich Results Test, which shows what Google can read and any errors, and in the Schema.org validator for types Google doesn’t show as rich results.

Questions

Will structured data get me stars in Google?

Only for reviews of products and some other things, collected on the page by fair means. Google doesn’t show stars for reviews a business writes about itself, so don’t add ratings the page doesn’t show.

Does my site already have some?

Possibly: many themes, shop platforms and SEO plugins add it. Run your page through the Rich Results Test first, and add only what’s missing, so you don’t end up with two conflicting blocks.

JSON-LD, microdata or RDFa?

JSON-LD, which Google recommends: it sits in one block instead of being woven through the page, so it’s easy to add and to check.

Let siseo take a look at your site

Enter your address and see your score and the three fixes that matter most, in about two minutes. No sign-up, nothing to install.