JSON-LD schema generator
What is a Json Ld Schema Generator?
Structured data tells search engines exactly what a page is about: a product with a price, an article with an author, a local business with opening hours, or a list of FAQs. Google uses it to display rich results such as star ratings, prices and breadcrumbs. JSON-LD is Google's recommended format because it lives in a single script tag, separate from your HTML. This generator builds valid schema.org JSON-LD from a form.
How to use it
- Choose the schema type, such as Article, Product, Organization, LocalBusiness or FAQPage.
- Fill in the fields.
- Copy the generated script and paste it into the page's HTML head or body.
- Test it with Google's Rich Results Test.
Example: Organization
<script type='application/ld+json'>
{
'@context': 'https://schema.org',
'@type': 'Organization',
'name': 'Acme Tools',
'url': 'https://www.acme.example',
'logo': 'https://www.acme.example/logo.png'
}
</script>(Real JSON-LD uses double quotes.)
Rules Google enforces
- Mark up only visible content. FAQ answers, prices and reviews in the JSON-LD must also appear on the page.
- Fill required properties for each type, such as name and offers or review for Product.
- Use absolute URLs for images and links.
- Structured data makes a page eligible for rich results, but does not guarantee them, and it is not a direct ranking factor.
Note on FAQ rich results
Since 2023 Google shows FAQ rich results mainly for well-known government and health sites, but FAQPage markup is still valid and helps other search engines and AI systems understand your content.
Frequently Asked Questions
What is JSON-LD?
A JSON-based format for structured data. Google recommends it for schema.org markup because it is placed in a single script tag.
Where do I put JSON-LD on my page?
In a script tag of type application/ld+json, usually in the head, though the body also works.
Does structured data improve rankings?
Not directly. It makes pages eligible for rich results, which can improve click-through rates.
How do I test my structured data?
Use Google's Rich Results Test or the Schema Markup Validator at validator.schema.org.