Schema markup tells Google exactly what your page is about — a local business, a product, a FAQ, a recipe. Adding it unlocks rich results in search: star ratings, FAQ dropdowns, business hours, prices. This generator creates valid JSON-LD code you can copy and paste into any website.
Select a schema type, fill in your details, copy the JSON-LD code.
Open Schema Generator| Schema Type | Rich Result | Best For |
|---|---|---|
| LocalBusiness | Business panel: hours, address, phone, map | Restaurants, stores, service businesses, clinics |
| Product | Price, availability, star rating, reviews | E-commerce product pages |
| Article | Headline, author, date, thumbnail in Top Stories | Blog posts, news articles |
| FAQPage | Expandable Q&A dropdowns in search results | FAQ pages, support pages, landing pages |
| HowTo | Numbered steps with images in search | Tutorial pages, DIY guides, recipe steps |
| Event | Date, time, location, ticket link | Concerts, workshops, webinars, conferences |
| Organization | Logo, social profiles, contact info | Company homepage |
| BreadcrumbList | Navigation path under URL in search | Every page (site-wide breadcrumb) |
| Video | Thumbnail, duration, upload date in video results | Pages with embedded videos |
| Recipe | Cook time, calories, rating, ingredient count | Recipe pages, food blogs |
<script type="application/ld+json"> block</head> or before </body>| Platform | Where to Add JSON-LD | How |
|---|---|---|
| WordPress (Yoast/Rank Math) | Plugin handles it | Configure in SEO plugin settings — no code needed |
| WordPress (manual) | Header/footer plugin or theme header | Paste in "Insert Headers and Footers" plugin |
| Shopify | theme.liquid | Paste before in theme editor |
| Wix | Settings → Custom Code → Head | Paste in site-wide head code |
| Squarespace | Settings → Advanced → Code Injection → Header | Paste in header injection |
| Static HTML | section | Paste before |
| Next.js / React | component or _document.js | Add as dangerouslySetInnerHTML or next/head |
FAQ schema is the fastest way to get rich results. If your page has a FAQ section (questions and answers), adding FAQPage schema can display expandable Q&A dropdowns directly in Google search results. This increases your search listing from 2-3 lines to 5-10+ lines — dramatically increasing click-through rates.
Requirements: each question must have a real, substantive answer on the page. Google may not show FAQ rich results if the answers are too short or if the page has thin content.
If you have a physical location, LocalBusiness schema is the most impactful. It powers the business knowledge panel showing: business name, address, phone, hours, reviews, and map. Required fields: name, address, telephone. Recommended: openingHours, geo coordinates, priceRange, image.
Generate valid schema markup in 60 seconds — unlock rich results in Google.
Open Schema Generator