How to create structured data (schema) for Google
Structured data tells Google who you are, where you are based, what you sell or which questions a page answers. In the generator you fill in a form and get ready-made JSON-LD code to add to your website.
5 min 6 steps 5pixel apps
App from this guide 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. Open-
1
Open the generator
Open the Structured data generator and sign in with a free account. The usage card above the tool shows your free generation limit.
-
2
Choose what to mark up
Under What do you want to mark up, choose Local business, Organisation, Product, FAQ, Article, Event or Breadcrumbs. Each type has a short explanation below it. Use Local business for premises that customers visit, and Organisation for an online shop or a company without premises.
-
3
Fill in the form
Fill in the fields exactly as the details appear on the page. For a local business, also enter the Opening hours; the Copy Monday to Tuesday–Friday button saves you typing. Add FAQ questions with Add question and breadcrumb levels with Add level.
-
4
Generate the code
Click Generate and confirm the use. Code to add to the page appears on the right. If something is missing or entered incorrectly, the Data check section will tell you.
-
5
Add the code to your website
Copy the code with Copy code or save it with Download .json. Add it to the page header; in WordPress, for example, with a plugin for inserting code into the header.
-
6
Check the code in Google
Click Check in Google Rich Results Test, choose Code in the test and paste the code. If the test reports errors, correct the details in the form and generate the code again. I can set up structured data for the whole website as part of SEO optimisation.
Related guides
All guides- WordPress · 4 min How to set a page title and description for Google How to set the text shown in search results using the Yoast SEO or Rank Math plugin.
- Google · 6 min How to verify your website in Google Search Console Search Console shows which words people use to find you in Google, which pages are indexed and whether Google has found any errors or malware.
- Google · 2 min How to ask Google to index a new page quickly A new page, article or updated text shows up on Google sooner if you tell Google about it yourself.