免费结构化数据与 Schema.org 验证器
验证您页面的 JSON-LD、Microdata 和 RDFa 结构化数据。检查 Schema.org 类型、必需属性,获取AI可读性建议。
为什么结构化数据很重要
结构化数据是AI系统用来理解您的品牌、产品和内容的机器可读层。实施良好的schema标记可以提升AI可见性、获得富媒体搜索结果,并确保品牌的准确呈现。
为什么它对AI很重要
- AI模型使用结构化数据来验证和引用您的品牌
- Schema标记可在 Google 和 Bing 中获得富媒体搜索结果
- 缺少schema会导致AI生成不准确的描述
我们检查什么
- JSON-LD、Microdata 和 RDFa 提取
- Schema.org 类型验证和属性检查
- 必需属性和推荐属性覆盖率
常见问题
结构化数据是添加到HTML中的机器可读代码(如 JSON-LD),帮助搜索引擎和AI模型理解您的内容。它使用 Schema.org 词汇来描述组织、产品、文章和活动等实体。ChatGPT、Claude 和 Google Gemini 等AI系统在很大程度上依赖结构化数据来准确呈现您的品牌和内容。
JSON-LD(用于链接数据的JavaScript对象表示法)是一种基于脚本的格式,位于页面的 <head> 部分。Microdata 使用HTML属性(itemscope、itemtype、itemprop)与内容内联。RDFa 使用 typeof 和 property 等属性。JSON-LD 是 Google 推荐的格式,因为它更容易实现和维护,且不需要更改HTML结构。
每个网站至少应该有一个包含名称和URL的 Organization 或 LocalBusiness schema。此外,添加与您内容匹配的schema:博客文章用 Article 或 BlogPosting,电商用 Product,FAQ部分用 FAQPage,导航用 BreadcrumbList,活动用 Event。您越准确地描述内容,AI模型就能越好地呈现它。
必需属性是schema类型有效且有用所需的最低限度字段——例如,Organization 需要 "name" 和 "url"。推荐属性是可选的但能增加丰富度——如 Organization 的 "logo"、"sameAs" 和 "contactPoint"。添加推荐属性增加了获得搜索富媒体结果和AI回答中更好呈现的机会。
AI模型使用结构化数据来理解实体关系、验证事实声明和提供准确的引用。当您的网站具有良好结构化的schema标记时,AI助手更有可能正确提及您的品牌、显示准确的商业信息并链接到您的内容。缺失或不正确的结构化数据可能导致AI模型错误呈现您的企业。
是的。GeoVector 的结构化数据检查器完全免费,无需注册。您可以扫描任何URL并获取带有可执行修复建议的即时结果。如需全站审计和持续监测,GeoVector 提供付费方案。
JSON-LD、Microdata 与 RDFa
三种写法表达同一套 Schema.org 词汇。本工具三种都解析;如果是新项目,用 JSON-LD。
| Format | Where it lives | Trade-off |
|---|---|---|
| JSON-LD | A <script type="application/ld+json"> block, usually in the head | Separate from the visible markup, so a template change cannot silently break it. This is what Google recommends and what most sites now ship. |
| Microdata | itemscope, itemtype, and itemprop attributes on existing HTML | Annotates markup you already have, which keeps data and display in sync — and couples them, so a redesign can drop properties. |
| RDFa | vocab, typeof, and property attributes on existing HTML | Same trade-off as Microdata, with a syntax that comes from the linked-data world. Rare on new builds. |
本工具检查的属性
缺少必需属性会报错误,缺少推荐属性会报警告。清单对应 Google 生成相应富媒体结果所需的字段。
| Type | Required by this checker | Recommended |
|---|---|---|
Organization | — | logo, sameAs, contactPoint |
LocalBusiness | name, address | telephone, openingHours, geo |
Product | name | description, offers, image, brand |
Article | — | headline, author, datePublished, image, publisher |
FAQPage | mainEntity | — |
BreadcrumbList | itemListElement | — |
WebSite | name, url | — |
Event | name, startDate | — |
HowTo | name, step | — |
VideoObject | name, uploadDate | — |
Person | name | — |
可直接粘贴的模板
放进 head,改成你的值,然后重新扫描。
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Example Analytics",
"url": "https://example.com",
"logo": "https://example.com/logo.png",
"sameAs": [
"https://www.linkedin.com/company/example",
"https://github.com/example"
],
"contactPoint": {
"@type": "ContactPoint",
"contactType": "customer support",
"email": "support@example.com"
}
}
</script><script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "How long does a scan take?",
"acceptedAnswer": {
"@type": "Answer",
"text": "A single page is usually checked in under ten seconds."
}
}
]
}
</script>{
"@context": "https://schema.org",
"@type": "Product",
"name": "Example Widget",
"offers": {
"price": "49.00",
"priceCurrency": "USD"
},
}offers 对象后面多出的逗号会让整段无法解析,于是页面上所有类型都丢失,而不只是这一个。offers 自身还缺了 "@type": "Offer",导致价格没有挂到任何东西上。这两处在浏览器里都毫无异样,扫描却能查出来。
来源与规范
本页所有内容都以下列一手文档为准。厂商一旦改规则,最先反映在那里。
- Getting started with Schema.org — Schema.org
- Intro to how structured data markup works — Google Search Central
- Structured data general guidelines — Google Search Central
- JSON-LD 1.1 specification — W3C
最后审阅于 。每当厂商更新规范,我们都会重新核对本页内容。