JSON-LD Schema Generator
Create basic structured data for real facts, validate the JSON, then test it before publishing.
FreeNo sign-upRuns in your browser: your data is not uploaded
How to generate and validate JSON-LD
Start with the visible page you want to describe. Collect the facts shown to visitors, including the public URL and the exact name of the page or entity.
- Choose a Schema type. Use WebSite for the site itself, Organization for the entity behind it, Article for an editorial page, LocalBusiness for a business location or BreadcrumbList for a navigation trail.
- Enter the Name or headline and Canonical public URL. For Article, add the actual author and publication date. For LocalBusiness, enter the street address, city and country displayed on the page; region and postal code are optional. For BreadcrumbList, fill in only the breadcrumb rows.
- Click Generate JSON-LD and check each property. Use Copy code to keep the full script block. Add it once to the relevant page in your template or CMS.
- Check the pasted script or public URL with the Schema Markup Validator. To check Google eligibility for a supported feature and identify required fields, use the Rich Results Test.
Worked example for a help article breadcrumb
Suppose the visible trail is Home, Support, then Bike Care. Choose BreadcrumbList and paste these lines in Breadcrumbs.
Home | https://example.com/ Support | https://example.com/support/ Bike Care | https://example.com/support/bike-care
The generator creates three ListItem entries with positions 1, 2 and 3. Check the order and confirm each item URL matches the destination in the visible trail.
Common mistakes
- Picking a type for its search appearance. Match the page content first. Add Article markup to the article and use Organization markup where the organization is described.
- Copying example facts. Use the date, author and address readers can verify. Complete additional required fields for your intended Google feature before testing.
- Duplicating markup from a plugin. Inspect the live page for an existing block about the same entity. Update that block if it already supplies those facts.
For URL checks on the published page, including its redirects and canonical tag, open SEO Workbench.
FAQ
Where can I place the JSON-LD script?
How many breadcrumbs can I enter?
Which date should I enter for Article?
What does a passing Rich Results Test tell me?
What address does LocalBusiness require in this tool?
Link to this tool
Found it useful? Put a link in your docs, README or forum answer so others can use it too:
<a href="https://headsntail.com/tools/schema-generator">JSON-LD Schema Generator</a> (free, by HeadsNTail)
[JSON-LD Schema Generator](https://headsntail.com/tools/schema-generator)
Share: X LinkedIn Reddit WhatsApp
Need a website, HR or business system? HeadsNTail builds websites, HR and payroll apps and business tools. See services or ask a question.