JSON-LD Schema Generator
Generate valid JSON-LD structured data for Google Rich Results. Supports Article, FAQ, Product, LocalBusiness, BreadcrumbList, Organization, HowTo, Review, Event, and more schema types.
Article Fields
Generated JSON-LD
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "",
"url": "",
"datePublished": "",
"author": {
"@type": "Person",
"name": ""
},
"publisher": {
"@type": "Organization",
"name": "",
"logo": {
"@type": "ImageObject",
"url": ""
}
}
}
</script>Validate your schema
After adding to your page, test it with Google Rich Results Test to verify eligibility and check for errors.
How to Use JSON-LD Schema Generator
- 1Select a schema type (Article, FAQ, Product, LocalBusiness, etc.).
- 2Fill in the required and optional fields.
- 3Copy the generated JSON-LD snippet and add it to your page's <head>.
Zenovay
Track your website performance
Real-time analytics, session replay, heatmaps, and AI insights. 2-minute setup, privacy-first.
Related Tools
Meta Tag AnalyzerAnalyze meta tags of any webpage. Check title, description, Open Graph, Twitter cards, and get SEO recommendations.
Open Graph CheckerPreview how your page looks when shared on Facebook, Twitter, and LinkedIn. Check all OG and Twitter Card tags.
HTTP Header CheckerInspect HTTP response headers of any URL. Check security headers, caching, content type, and more.
Robots.txt ValidatorValidate and analyze your robots.txt file. Check rules, sitemaps, and common crawling issues.
Frequently Asked Questions
What is JSON-LD and why use it for SEO?▾
JSON-LD (JavaScript Object Notation for Linked Data) is a method of encoding structured data using JSON. It's Google's preferred format for schema markup because it's easy to implement (placed in a <script> tag, not mixed into HTML), easy to maintain, and doesn't affect page layout. Schema markup helps Google understand your content and display rich results — star ratings, FAQ dropdowns, how-to steps, event dates, product prices — directly in search results. Rich results typically have 20–30% higher click-through rates than standard blue links.
What schema types are eligible for Google Rich Results?▾
Google currently supports rich results for: Article, Book, Breadcrumb, Carousel, Course, Dataset, Education Q&A, Employer Aggregate Rating, Event, Fact Check, FAQ, Home Activities, How-to, Image, Job Posting, Learning Video, Local Business, Merchant Listings, Movie, Practice Problems, Product, Q&A, Recipe, Review, Review Snippet, Sitelinks Searchbox, Software App, Speakable, Subscription/Paywalled Content, Vehicle Listing, Video. Note: not all schema types on Schema.org are eligible for rich results — Google supports a specific subset. Always test with Google's Rich Results Test tool.
How do I add JSON-LD to my website?▾
Add the <script type="application/ld+json"> block anywhere in your HTML <head> or <body> (Google recommends <head> for consistency). For dynamic sites: React — use next/head or react-helmet. WordPress — use a plugin like Rank Math or Yoast, or add via functions.php. Shopify — add to theme.liquid or product template. For multiple schema types on one page: use multiple <script> tags, or wrap them in a JSON-LD @graph array. After adding, validate with Google's Rich Results Test and Google Search Console's URL Inspection tool. Changes can take days to weeks to appear in search results.
What is the difference between JSON-LD, Microdata, and RDFa?▾
JSON-LD: standalone <script> tag containing machine-readable JSON. Preferred by Google. Easy to add without changing HTML structure. Microdata: HTML attributes (itemscope, itemtype, itemprop) directly in page markup. Older format, harder to maintain, closely tied to HTML structure. RDFa: similar to Microdata but more flexible syntax. Used in some academic and government contexts. All three formats are understood by Google, Bing, and Yandex, but JSON-LD is recommended by Google, easier to implement correctly, and doesn't risk breaking your layout if schema properties don't correspond to visible elements.
How do I test structured data after adding it?▾
Google Rich Results Test (search.google.com/test/rich-results): Tests a URL or code snippet. Shows which rich result types are eligible. Flags errors and warnings. Google Search Console → URL Inspection → "Test Live URL" → "Breadcrumbs" tab: Shows all structured data found on the page. Schema.org Validator (validator.schema.org): Validates against the full Schema.org spec (stricter than Google). Common errors: missing required properties (e.g., Product missing `name` or `offers`), using relative URLs instead of absolute URLs for `image` and `url`, incorrect date formats (use ISO 8601: "2024-01-15" not "January 15, 2024").