Schema Markup Generator
Generate valid JSON-LD structured data for any page type. Copy the output into your <head> and validate with Google's Rich Results Test.
Choose schema type
Article details
0 / 110
FAQ questions
Add up to 10 question–answer pairs. Answers should be plain text.
Local business details
Opening hours
Tick each open day and set hours.
Product details
Organization details
Social media profiles (sameAs, up to 8)
Breadcrumb items
Add 2–8 items in order from root to current page.
HowTo details
Supplies (optional, max 10)
Tools (optional, max 10)
Steps (required, max 15)
Event details
Video details
Recipe details
Ingredients (required, max 20)
Instructions (required, max 15)
JSON-LD output
Fill in the fields above to generate your JSON-LD.
Validation results
What is schema markup and why does it matter for SEO?
Schema markup is a vocabulary of structured data defined at schema.org and adopted by Google, Bing, and other search engines. You embed it in your HTML as JSON-LD, and search engines use it to understand your content beyond what they can infer from text alone.
When Google can confidently interpret your content — a recipe, FAQ page, or product listing — it may show a rich result in the SERP: star ratings, ingredient lists, answer boxes, event dates, or breadcrumb navigation. Rich results consistently improve click-through rates.
How to add JSON-LD to your page
Place a <script type="application/ld+json"> block in your <head>. Copy the JSON-LD from this tool and paste it between the tags. You can use multiple JSON-LD blocks on one page — one per schema type.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "Your article title"
}
</script> After publishing, run the Google Rich Results Test to confirm the markup is valid and check which rich result types your page qualifies for.
Choosing the right schema type
- Article / BlogPosting / NewsArticle — editorial content with a clear author and publication date.
- FAQPage — pages built around questions and answers. Each answer must be self-contained plain text.
- LocalBusiness — physical businesses. Use the most specific subtype (Restaurant, Dentist, Plumber) for better matching.
- Product — individual product pages. Aggregate ratings need a value and review count.
- Organization — brand or company pages. The
sameAsarray links social profiles, helping Google understand your entity. - BreadcrumbList — navigation trail. Google may show breadcrumbs in search results instead of the full URL.
- HowTo — step-by-step guides. Each step needs clear instruction text; image URLs per step improve visual rich results.
- Event — events with a start date. Always include
eventStatusandeventAttendanceMode. - VideoObject — video content. Thumbnail URL, upload date, and description are required by Google.
- Recipe — cooking recipes. Ingredients and instructions are required; ratings and nutrition info improve eligibility.
Frequently asked questions
What is schema markup?
Schema markup is structured data added to a webpage as JSON-LD, Microdata, or RDFa. It tells search engines what your content means, enabling rich results like star ratings, FAQs, and event listings in Google Search.
Does schema markup improve rankings?
Google states schema markup does not directly improve rankings. However, rich results can increase click-through rates, improving traffic and indirectly influencing authority signals.
What is JSON-LD and why is it recommended?
JSON-LD (JavaScript Object Notation for Linked Data) encodes structured data in a script tag. Google recommends it because it separates structured data from visible HTML, making it easy to implement and update.
How do I test schema markup?
Use the Google Rich Results Test at search.google.com/test/rich-results. Enter your page URL or paste your code to check for errors and see which rich result types your page qualifies for.
Which schema type should I use?
Use Article for blog posts, FAQPage for Q&A pages, LocalBusiness for physical businesses, Product for product pages, Organization for brand pages, BreadcrumbList for navigation trails, HowTo for guides, Event for events, VideoObject for videos, and Recipe for cooking content.