JSON-LD Generator
Generate valid JSON-LD structured data for Article, Product, FAQPage, HowTo, LocalBusiness, Event, Recipe, BreadcrumbList, and Organization schemas from a simple form.
JSON-LD Generator — Pick a Schema.org type, fill in the matching form fields, and get a clean, valid JSON-LD block you can paste into your page — both the raw object and a ready-to-use inline JSON-LD script wrapper (a script type="application/ld+json" block). Empty fields are dropped automatically, so the markup stays tidy. Everything is generated in your browser; nothing you type is uploaded or sent anywhere.
What is JSON-LD Generator?
JSON-LD Generator is a free in-browser tool that builds Schema.org structured data without making you hand-write JSON. Choose a schema type from the dropdown — Article, Product, FAQPage, HowTo, LocalBusiness, Event, Recipe, BreadcrumbList, or Organization — and the form swaps to show only the fields that type needs. SEO specialists, developers, and content marketers use it to add rich-result markup so Google can display stars, prices, FAQs, breadcrumbs, recipes, and event details directly in search. List-style types use one item per line: FAQPage takes "Question | Answer" pairs, HowTo and Recipe take one step per line, and BreadcrumbList takes "Name | URL" pairs. The tool only outputs the data you enter — it does not crawl your site, validate against Google, or invent values.
How to use JSON-LD Generator
- Choose the schema type that matches your content from the type dropdown.
- Fill in the fields that appear for that type, such as name/headline, description, URL, and image.
- For FAQPage and BreadcrumbList, type one item per line using the "left | right" format shown in the placeholder.
- For HowTo and Recipe, write one step (or ingredient) per line.
- Copy the JSON-LD output, or copy the <script> wrapper to paste straight into your page's <head> or body.
- Optionally run the result through Google's Rich Results Test to confirm eligibility before publishing.
Examples
Article schema
Input
Type: Article Headline: How to Bake Sourdough Author: Jane Doe Date published: 2026-01-31
Output
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "How to Bake Sourdough",
"datePublished": "2026-01-31",
"author": {
"@type": "Person",
"name": "Jane Doe"
}
}Product with price
Input
Type: Product Name: Wireless Headphones Price: 29.99 Currency: USD
Output
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Wireless Headphones",
"offers": {
"@type": "Offer",
"price": "29.99",
"priceCurrency": "USD"
}
}FAQ pairs to Questions
Input
Type: FAQPage Is it free? | Yes, completely. Do you store data? | No, it runs locally.
Output
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "Is it free?",
"acceptedAnswer": { "@type": "Answer", "text": "Yes, completely." }
}
]
}Frequently asked questions
- Which schema types are supported?
- Article, Product, FAQPage, HowTo, LocalBusiness, Event, Recipe, BreadcrumbList, and Organization. Selecting a type changes the form to show only the fields that type uses, and the output reflects the corresponding Schema.org properties.
- How do I add multiple FAQs, steps, or breadcrumbs?
- Use one line per item in the multi-line boxes. FAQPage and BreadcrumbList expect a "left | right" pair on each line (Question | Answer, or Name | URL). HowTo steps and Recipe ingredients and instructions are simply one entry per line.
- Does it produce both raw JSON and a script tag?
- Yes. The first output box holds the raw JSON-LD object, and the second wraps it in <script type="application/ld+json">…</script> so you can paste it directly into your HTML without editing.
- Does this validate my markup or guarantee rich results?
- No. It builds syntactically valid JSON-LD from your input, but it does not check Google's eligibility rules or required fields for a specific rich result. Run the output through Google's Rich Results Test or the Schema Markup Validator to confirm.
- Is my data sent to a server?
- No. The JSON-LD is assembled entirely in your browser with JavaScript. Nothing you type — names, prices, URLs, or descriptions — is uploaded, stored, or transmitted, so it is safe for private or pre-launch pages.
Related tools
Hreflang Tag Generator
Generate hreflang link tags for a multilingual page from a list of locale and URL pairs, with an optional x-default and a self-referencing tag.
Keyword Density Checker
Analyze any text to count word frequency and keyword density as 1-, 2-, or 3-word phrases, with an over-optimization warning.
Meta Tag Generator
Generate SEO, Open Graph, and Twitter Card meta tags for your page from a title, description, canonical URL, image, site name, and card type.
Open Graph & Social Card Preview
Preview how a link unfurls into a social card on X, LinkedIn, Slack, Discord, and Facebook from a title, description, image URL, and page URL.