免费Schema生成器

轻松创建JSON-LD结构化数据。用富摘要增强Google搜索结果展示。

Schema Details

生成的Schema

选择Schema类型,填入信息并生成。

什么是Schema标记?

Schema标记(结构化数据)是向搜索引擎详细描述页面内容的代码。以JSON-LD格式添加到HTML中,在搜索结果中显示为富摘要。

合适的Schema标记可在搜索结果中显示星级评分、价格、营业时间、FAQ等额外信息,大幅提高点击率。

选择Schema类型

Article Schema

Enhance blog posts and news articles with rich snippets showing author, date, and headline in Google search results.

LocalBusiness Schema

Display your business info, address, phone number, and hours directly in Google Maps and local search results.

Product Schema

Show product prices, availability, and ratings as rich results in Google Shopping and organic search.

FAQ Schema

Get expandable FAQ dropdowns directly in Google search results, increasing your SERP real estate and click-through rate.

Organization Schema

Control your brand's knowledge panel in Google with logo, social profiles, and company information.

Event Schema

Display event dates, venues, and ticket prices in Google search results and Google Events.

Schema标记建议

1

选择最相关的类型

选择与页面内容最匹配的Schema类型。

2

用Google工具验证

用Google的富结果测试验证Schema无误。

3

尽量填写所有字段

填写更多可选字段可增加显示富摘要的机会。

4

每页单独设置

为每个页面设置匹配其内容的Schema。

5

Use specific types when possible

Instead of generic 'Thing' or 'CreativeWork', use the most specific schema type. 'Restaurant' is better than 'LocalBusiness', and 'NewsArticle' is better than 'Article' for news content.

6

Add schema to every important page

Don't just add structured data to your homepage. Product pages, blog posts, FAQ pages, and contact pages all benefit from specific schema markup. More pages with valid schema means more rich result opportunities.

Schema生成器:Kleap vs 替代方案

功能KleapSchema.org GeneratorMerkleTechnicalSEO.com
价格完全免费Free免费Free
Schema类型12种Limited presets8种10+ types
Live previewReal-time JSON-LD previewNoYesYes
ValidationBuilt-in warningsNoBasicGoogle API integration
Google test linkOne-click testNoYesYes
网站构建器内置AI构建器NoNo

How to Add Structured Data to Your Website

Structured data is one of the highest-impact, lowest-effort SEO improvements you can make. Here's a step-by-step guide to implementing JSON-LD on your site.

Step 1: Choose the Right Schema Type

Match your schema type to your page content. Use Article for blog posts, Product for e-commerce pages, LocalBusiness for your contact or about page, FAQ for help/support pages, Organization for your homepage, and Event for event pages. Google only shows rich results when the schema type matches the page content.

Step 2: Fill in All Required Properties

Every schema type has required and recommended properties. Required properties are the minimum for valid markup. Fill in as many recommended properties as possible — more complete data means higher chances of getting rich results. Our generator highlights which fields are required.

Step 3: Add the Code to Your Page

Copy the generated JSON-LD and paste it in your page's <head> section. In WordPress, use a plugin like Yoast SEO or add it in your theme's header.php. In Next.js, use a <script> tag with dangerouslySetInnerHTML. In static HTML, paste it before the closing </head> tag.

Step 4: Validate and Monitor

After adding the code, test it with Google's Rich Results Test. Then monitor your structured data in Google Search Console > Enhancements. It may take a few days to weeks for Google to process your markup and start showing rich results. Fix any errors reported in Search Console promptly.

常见问题

Schema标记对SEO有效吗?+
是的。Schema可在搜索结果中显示富摘要,点击率可提高30%以上。
什么是JSON-LD?+
Schema标记的推荐格式,以script标签添加到HTML的<head>中。Google推荐的格式。
每个页面都需要Schema吗?+
非必须,但主要页面(首页、商品页、文章页、FAQ页)添加Schema最有效。
如何验证Schema?+
使用Google的富结果测试(search.google.com/test/rich-results)验证。
同一页面可以添加多个Schema吗?+
可以。例如可在同一页面添加LocalBusiness和FAQ Schema。
结果多久显示?+
Google重新抓取和处理可能需要几天到几周。在Search Console请求索引可加快。
Does JSON-LD work with all website platforms?+
Yes. JSON-LD is a standalone script tag that works on any platform — WordPress, Shopify, Wix, Squarespace, Next.js, static HTML, and more. Many CMS platforms have plugins that add JSON-LD automatically, but you can always add it manually by pasting the code in your page's HTML head.
How often should I update my structured data?+
Update your structured data whenever your page content changes. If a product price changes, update the Product schema. If you modify an article, update the dateModified. Stale or inaccurate structured data can lead to penalties from Google if the markup doesn't match the visible page content.
Is this JSON-LD generator free?+
Yes, completely free with no signup required. Generate unlimited JSON-LD schema markup for Article, Product, LocalBusiness, FAQ, Organization, and Event types. Copy the code and paste it into your website.
What rich results can I get with structured data?+
Depending on your schema type: Article schema can show headline, image, and date. Product schema shows prices, ratings, and availability. FAQ schema creates expandable Q&A dropdowns. LocalBusiness shows address and hours on Google Maps. Event schema displays dates and ticket info. Organization schema populates the Knowledge Panel.

构建SEO优化的网站

Kleap的AI构建器自动配置Schema标记。

免费开始构建
免费Schema生成器 | 结构化数据标记 | Kleap