Schema.org generator
Generate Schema.org JSON-LD for Article, Product, FAQPage, Organization, LocalBusiness, BreadcrumbList and Event, with editable fields plus required-field and format validation.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Fields
Generates code and validation results only — no URL is requested and nothing you type is uploaded.
JSON-LD
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "UniKit 工具箱发布:两百多个在线工具",
"description": "全部在浏览器本地运行的工具集合,输入不会离开页面。",
"image": "https://unikit.cc/og-zh.png",
"author": {
"@type": "Person",
"name": "UniKit 编辑部"
},
"publisher": {
"@type": "Organization",
"name": "UniKit"
},
"datePublished": "2026-10-01",
"dateModified": "2026-10-10"
}<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "UniKit 工具箱发布:两百多个在线工具",
"description": "全部在浏览器本地运行的工具集合,输入不会离开页面。",
"image": "https://unikit.cc/og-zh.png",
"author": {
"@type": "Person",
"name": "UniKit 编辑部"
},
"publisher": {
"@type": "Organization",
"name": "UniKit"
},
"datePublished": "2026-10-01",
"dateModified": "2026-10-10"
}
</script>Validation
All required fields are filled in and the formats look fine.
What this tool does
- Add structured data to an article, product, store or event page: pick a type, fill in a few fields and copy either the JSON-LD or the ready-to-paste script tag.
- Hand-written JSON-LD often ships a string price or forgets the schema.org prefix on availability — the validation names the exact field and reason.
- Build FAQ and breadcrumb markup by typing one “question | answer” or “name | URL” per line; mainEntity and itemListElement arrays are generated for you.
Example
Input
Type Article; headline=UniKit 工具箱发布:两百多个在线工具; author=UniKit 编辑部; publisher=UniKit; datePublished=2026-10-01; dateModified=2026-10-10; image=https://unikit.cc/og-zh.png; description=全部在浏览器本地运行的工具集合,输入不会离开页面。
Output
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "UniKit 工具箱发布:两百多个在线工具",
"description": "全部在浏览器本地运行的工具集合,输入不会离开页面。",
"image": "https://unikit.cc/og-zh.png",
"author": { "@type": "Person", "name": "UniKit 编辑部" },
"publisher": { "@type": "Organization", "name": "UniKit" },
"datePublished": "2026-10-01",
"dateModified": "2026-10-10"
}The real output is two-space-indented JSON (nested objects are collapsed above to save space) and empty fields never appear.
Frequently asked questions
JSON-LD or microdata — which should I use?
JSON-LD is what Google recommends: it lives in <script type="application/ld+json">, stays decoupled from your markup and is easy to generate from a template. Microdata requires attributes on your HTML tags and is easy to break during a redesign, so use JSON-LD for new pages.
Why should price be a number?
Offer.price is a Number in schema.org; a string price is rejected by some parsers. Values that parse as numbers are emitted as numbers (19.90 → 19.9), while unparseable ones are kept as text and flagged so you can spot the typo.
Why is availability a full URL?
schema.org enumerations must be absolute URIs such as https://schema.org/InStock; a bare InStock is not recognised by most parsers, so the tool adds the prefix for you.
Do FAQ rich results still exist?
Google narrowed FAQ rich results to authoritative sites, but FAQPage markup still helps machines understand the page and does no harm. Decide based on what kind of site you run.
Is the generated JSON-LD validated online?
No. Everything is assembled locally and checked once with JSON.parse; the tool never calls schema.org, never fetches the URLs you enter and never uploads anything.
Keywords:schema.orgjson-ld generatorstructured datarich resultsfaq schemaproduct schemaSchema.org 生成结构化数据JSON-LD富媒体摘要FAQPageBreadcrumbList