JSON-LD Schema Generator
Build rich results markup for Google. Choose a schema type, fill in the fields, and copy the script block straight into your <head>.
Article Fields
Product Fields
FAQ Items
Local Business Fields
Person Fields
Review Fields
Event Fields
How to Use
- Copy the generated
<script>block above - Paste it inside your page's
<head>tag - Test with Google's Rich Results Test
- Monitor in Google Search Console
The Complete Guide to JSON-LD Structured Data
Structured data is a standardised format for providing information about a page and classifying its content. When you add structured data to your web pages, search engines can better understand what your content is about — and reward you with rich results in search: star ratings, FAQ dropdowns, product prices, event dates, breadcrumbs, and more. These enhanced listings consistently achieve higher click-through rates than plain blue links.
What Is JSON-LD?
JSON-LD (JavaScript Object Notation for Linked Data) is Google's recommended format for structured data. It is implemented as a <script type="application/ld+json"> block in your page's <head> or <body>. Unlike Microdata and RDFa — older structured data formats that require you to annotate your HTML attributes — JSON-LD is completely separate from your content markup. This makes it much easier to implement, update, and maintain without risking breaking your HTML.
Schema Types and When to Use Them
Article schema is ideal for blog posts, news articles, and editorial content. It tells Google the headline, author, publisher, publication date, and featured image — all signals that help Google understand and surface your content in Google News, Discover, and AMP carousels.
Product schema enables rich results showing price, availability, and aggregate ratings directly in search results. For e-commerce, this is one of the highest ROI structured data implementations available. A product card with 4.5 stars, "In Stock," and a price of $49.99 gets dramatically more clicks than a plain search result.
FAQPage schema creates expandable FAQ sections directly in Google search results, effectively doubling your SERP real estate. Each question-answer pair becomes an interactive element users can expand without clicking through. This schema is particularly valuable for content pages that answer common questions.
LocalBusiness schema is essential for any business with a physical location. It tells Google your name, address, phone number, opening hours, and aggregate rating — all the information shown in local pack results and the Knowledge Panel. Consistent NAP (Name, Address, Phone) data across your website, Google Business Profile, and directory listings is a key local SEO ranking factor.
BreadcrumbList schema enables breadcrumb navigation to appear in search results below your URL. Breadcrumbs make your result look more structured and trustworthy, and they help users understand where a page sits within your site hierarchy before clicking.
Event schema enables event rich results showing date, location, and ticket availability. For event-focused websites, this schema is a must — it enables your events to appear in Google's dedicated event search experience.
How to Implement and Test Your Schema
Copy the generated <script type="application/ld+json"> block and paste it inside your page's <head>. Then test it using Google's Rich Results Test (search.google.com/test/rich-results). This tool validates your markup, shows which rich result types are eligible, and highlights any errors or warnings. For ongoing monitoring, check the Enhancements section in Google Search Console — it shows how many pages have valid structured data and reports any markup issues across your entire site.
Common Structured Data Mistakes
Never mark up content that isn't visible on the page. Google explicitly prohibits using structured data to describe content that users cannot see — this is considered spam and can result in a manual action. Every piece of structured data must correspond to visible, accurate content on the page.
Avoid fake reviews or inflated ratings in your AggregateRating schema. Using structured data for deceptive practices violates Google's guidelines and risks a site-wide penalty. Keep your review count and rating value consistent with what's actually displayed on the page.