Schema.org JSON-LD Generator
Build valid structured data for articles, products, local businesses, FAQs, events, courses and more. Copy ready-to-paste JSON-LD — no signup, no tracking, everything runs in your browser.
1 · Schema Configuration
Select a schema type above to start building your JSON-LD.
2 · Generated Output
<head> or at the end of <body> of your page. Google recommends the <head> for cleaner markup separation.
Visual Preview
Generate JSON-LD to see a tree preview.
Fill out the form and click Generate to validate your structured data against Google's recommendations.
What is JSON-LD structured data?
JSON-LD (JavaScript Object Notation for Linked Data) is Google's recommended format for adding structured data to web pages. It's a block of JSON you place in your HTML that tells search engines exactly what your content is — an article, a product, a local business, a recipe, a video — and the relationships between its parts.
When search engines understand your content's structure, they can show rich results: star ratings in product listings, FAQ accordions below your result, recipe cards with photos and cook times, event dates, job postings, and more. Rich results consistently get higher click-through rates than plain blue links.
Most valuable schema types for SEO
Not all schema types are equal for organic search. These produce the most visible rich results:
| Schema type | Rich result | Best for |
|---|---|---|
| FAQPage | Expandable Q&A under result | Help pages, support docs, landing pages |
| Product | Price, availability, star rating | E-commerce product pages |
| Article | Carousel in Google Discover, news carousels | Blog posts, news, editorial content |
| LocalBusiness | Map pack, knowledge panel, hours | Physical stores, restaurants, services |
| Recipe | Photo, rating, calories, cook time | Food blogs, cooking sites |
| HowTo | Step-by-step carousel | Tutorials, guides, DIY content |
| Event | Date, venue, ticket info in results | Concerts, conferences, meetups |
| BreadcrumbList | Clickable path under page title | Any site with hierarchical navigation |
| VideoObject | Video thumbnail, duration, upload date | Video pages, embedded content |
| Organization | Knowledge panel on brand search | Company homepages |
The five mistakes that kill rich results
- Invisible content. Data in JSON-LD must match visible content on the page. Adding a fake 5-star rating or a price that doesn't exist on the page is a violation and can get your structured data manually demoted.
- Missing required properties. Google marks a type as eligible for rich results only if certain required fields are present. An
Articlewithoutheadlineorimagewon't qualify. - Wrong types. Using
Articlefor a product page orProductfor a service page creates confusion. Each schema type has a specific semantic purpose. - Invalid URLs. Image URLs, logo URLs, and canonical links must be absolute (start with
https://) and return a 200 response. Relative paths and broken links are the #1 validation failure. - Testing on production only. Always validate with Google's Rich Results Test before deployment, then re-test after each major template change.
How this generator works
Pick a schema type from the list, fill in the required fields, and the tool assembles a valid JSON-LD block with the correct @context, @type, and nested structures. Optional nested types (like Person for an author or Offer for pricing) only appear in the output when you actually fill them in — no empty objects cluttering your markup.
The validator checks required fields, URL format, and Google's published recommendations for each type. Warnings never block generation — they're guidance, not errors. Copy the JSON-LD, paste it into your page's <head>, and verify with Google's Rich Results Test.
Frequently asked questions
No. Structured data makes your content eligible for rich results, but Google decides whether to show them based on page quality, domain authority, content relevance, and user context. Schema is necessary but not sufficient. That said, sites with correct structured data consistently see higher CTRs even when rich snippets aren't always displayed.
Google recommends placing JSON-LD in the <head> section, which keeps markup cleanly separated from content. However, placing it anywhere in <body> also works — Google's crawler reads the whole document. For SPAs or dynamically-rendered pages, ensure the script is present in the server-rendered HTML, not just injected client-side.
Yes — and you should. A product page typically has Product, BreadcrumbList, Organization, and possibly AggregateRating. An article page often combines Article + Person (author) + Organization (publisher) + BreadcrumbList. Use separate script blocks or link them with @id references. Avoid duplicating data in multiple types.
Use Google's official Rich Results Test for types that produce rich snippets (Article, Product, FAQ, Recipe, HowTo, etc.). For general validation, the Schema Markup Validator at validator.schema.org catches syntax errors. Google Search Console's "Enhancements" reports show structured data status across your entire site once deployed.
All three formats (JSON-LD, microdata, RDFa) are supported by schema.org, but Google strongly recommends JSON-LD. It's a standalone JSON block that doesn't interleave with HTML, making it easier to generate, validate, and maintain. Microdata and RDFa are embedded directly in HTML attributes, which couples structure with presentation and makes updates painful.
No. All generation, validation, and exports happen locally in your browser using JavaScript. Your form data, generated JSON, and downloaded files never leave your device. The tool works fully offline once loaded.