JSON-LD Structured Data Generator
Build valid schema.org JSON-LD for Article, Product, FAQ, Event, and more, then copy a ready-to-paste script tag. Your content stays in your browser.
The JSON-LD Structured Data Generator runs entirely in your browser. The page content you type — headlines, prices, addresses, questions, and answers — is turned into schema.org markup on your device and is never uploaded to ArrayKit.
Open the JSON Formatter
About JSON-LD Generator
The JSON-LD Structured Data Generator turns a simple form into valid schema.org markup you can drop straight into your page's <head>. Pick a type — Article, Product, FAQPage, LocalBusiness, Event, BreadcrumbList, Review, Recipe, Organization, or WebSite — fill in the fields that apply, and watch the tool assemble a clean <script type="application/ld+json"> block plus the raw JSON. Empty fields are omitted, and nested shapes like FAQ questions, breadcrumb positions, offers, and postal addresses are built for you so the output matches what Google's Rich Results Test expects. It is made for developers, SEOs, and content teams who want correct structured data without hand-writing brackets. Everything runs on your device — the page details you type are never uploaded.
Features
- Ten schema.org types: Article, Product, FAQPage, LocalBusiness, Event, BreadcrumbList, Review, Recipe, Organization, and WebSite
- Per-type form that only shows the fields each type actually uses
- Emits a paste-ready <script type="application/ld+json"> block and the raw JSON side by side
- Builds nested nodes for you — offers, aggregateRating, postal address, geo, author, and publisher
- Repeatable rows for FAQ questions and breadcrumb items, numbered automatically
- Blank fields are dropped so you never ship half-empty properties
- Angle brackets in your text are escaped so the JSON can't break out of the script tag
- Copy the script or JSON, or download the block as an HTML snippet
How to use the JSON-LD Generator
- Choose the schema.org type that matches your page
- Fill in the fields — add rows for FAQ answers or breadcrumb steps as needed
- Copy the generated <script type="application/ld+json"> block
- Paste it into your page's <head> and confirm it in Google's Rich Results Test
Example
Input
Type: Product
name: Wireless Headphones
price: 199.99 USD
availability: InStock
Output
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Wireless Headphones",
"offers": {
"@type": "Offer",
"price": "199.99",
"priceCurrency": "USD",
"availability": "https://schema.org/InStock"
}
}
</script>
A Product with pricing becomes a nested Offer inside a paste-ready JSON-LD block.
Common errors & troubleshooting
- The Rich Results Test says a required property is missing. — Different types need different required fields — a Product usually needs name, image, and an offer or rating. Fill in the flagged field and regenerate; blank fields are omitted, so an empty one simply won't appear.
- Google reports the wrong date format for datePublished or startDate. — Use ISO 8601. Date fields output YYYY-MM-DD and event start/end output a full date-time; avoid typing localized date strings into those inputs.
- The FAQ markup is rejected because answers are empty. — Every FAQ row needs both a question and an answer to emit an acceptedAnswer. Remove half-filled rows or complete the answer text.
- The page shows the JSON but no rich result appears. — Structured data makes a page eligible, not guaranteed. Make sure the markup describes visible on-page content and matches Google's guidelines for that result type.
Frequently asked questions
- What is JSON-LD and why does Google recommend it for structured data?
- JSON-LD is a lightweight way to embed schema.org data as a JSON object inside a <script type="application/ld+json"> tag. Google recommends it because it lives in one block, keeps markup separate from your HTML, and is the easiest format to add, read, and maintain.
- Which schema.org types can this JSON-LD generator create?
- It covers ten common types: Article, Product, FAQPage, LocalBusiness, Event, BreadcrumbList, Review, Recipe, Organization, and WebSite. Each has its own form with only the properties that type uses, including nested offers, ratings, and addresses.
- Where do I place the generated JSON-LD script tag on my page?
- Paste the <script type="application/ld+json"> block into the <head> of the page it describes. It also works before the closing </body> tag. Add one block per entity, and keep the markup consistent with what visitors actually see.
- Does adding this structured data guarantee rich results in search?
- No. Valid JSON-LD makes a page eligible for rich results, but Google decides whether to show them based on quality, guidelines, and whether the markup reflects visible content. Always confirm eligibility with the Rich Results Test.
- Can I build FAQPage or BreadcrumbList markup with several entries?
- Yes. FAQPage and BreadcrumbList use repeatable rows: add a row per question-and-answer pair or per breadcrumb step. The generator builds the mainEntity or itemListElement array and numbers breadcrumb positions for you.
- How does the tool build my markup without sending page details to a server?
- All parsing and JSON assembly happen in JavaScript on your device. The headlines, prices, addresses, and other details you type are turned into JSON-LD locally and are never uploaded to ArrayKit.
Related tools
- Meta Tag Generator — Generate SEO, Open Graph and Twitter Card meta tags for your page from a simple form.
- Open Graph Generator — Generate Open Graph & Twitter meta tags with a live social-card preview.
- robots.txt Generator — Visually build a robots.txt with user-agent rules, allow/disallow paths, crawl-delay and sitemaps.
- XML Sitemap Generator — Turn a list of URLs into a standards-compliant sitemap.xml with optional lastmod, changefreq and priority.
- JSON Formatter — Beautify, minify and validate JSON with error locations.
- CSP Header Generator — Build a Content-Security-Policy header from directive toggles, with report-only and copy output.
All ArrayKit tools