Schema Markup Generator
Quick Access to SEO Tools
Go straight to the SEO utility you need.
How to Use the Schema Markup Generator
Select the schema type
Select the schema type.
Fill in the required fields
Fill in the required fields.
Copy the generated JSON-LD markup
Copy the generated JSON-LD markup.
Schema Markup Generator — Add Structured Data for Rich Search Results
When you search for a recipe on Google, you don't just get a list of blue links — you see a photo, cooking time, star rating, and calorie count right in the results page. That's the power of structured data. Schema markup is a standardized vocabulary (defined by Schema.org, a collaboration between Google, Bing, Yahoo, and Yandex) that you embed in your HTML to tell search engines exactly what your content is and what it means. Not just "this is a page" but "this is a product, priced at $49.99, with 4.7 stars from 328 reviews."
This generator produces valid JSON-LD — the format Google recommends — for the most common schema types. Select a type, fill in the properties, copy the output, and paste it into your page's <head>. Then validate it with Google's Rich Results Test before publishing. The whole process takes five minutes and can meaningfully improve your search visibility.
Why Structured Data Matters (Even Though It's Not a Ranking Factor)
Google has confirmed that structured data doesn't directly influence rankings. A page with perfect schema markup won't outrank a page without it, all else being equal. But "all else" is rarely equal, because structured data enables rich results — enhanced search listings that include visual elements like star ratings, images, prices, event dates, FAQ accordions, and recipe cards.
Rich results take up significantly more screen real estate than plain blue links. A product listing with a star rating, price, and thumbnail image occupies roughly twice the vertical space of a text-only result. That extra visual space translates directly into higher click-through rates — multiple studies show 20–35% more clicks for rich results compared to plain listings for equivalent positions.
Here's a real-world example. Two competing e-commerce pages rank on page 1 for "wireless noise-cancelling headphones." One has schema markup — the result shows a 4.5-star rating from 1,247 reviews, the price ($299), and a product image. The other is a plain text link. The enhanced result gets more clicks even if it ranks in the same position, because it provides instant trust signals (reviews) and information (price) before the user even visits the page.
JSON-LD — The Recommended Format
Google supports three formats for structured data: JSON-LD, Microdata, and RDFa. Google explicitly recommends JSON-LD (JavaScript Object Notation for Linked Data) because it's the easiest to implement and maintain. Microdata and RDFa require you to add itemprop and itemscope attributes directly to your HTML elements, which means restructuring your existing markup. JSON-LD lives in a standalone <script> block that doesn't touch your HTML structure at all.
A basic JSON-LD block looks like this:
<script type="application/ld+json">{"@context":"https://schema.org","@type":"Article","headline":"How to Check Keyword Density","author":{"@type":"Person","name":"Jane Smith"}}</script>
Place it anywhere in the <head> or <body>. Google recommends the <head> section for earliest parsing, but both work. You can have multiple <script type="application/ld+json"> blocks on a single page — search engines process them all.
Common Schema Types and What They Enable
Not all schema types produce rich results. Here are the ones that matter most for typical websites:
Article: Enables article-specific rich results including headline, author, date published, and image. Used for blog posts, news articles, and editorial content. Google uses this schema to understand the article's authorship and publication date, which affects how the content appears in Top Stories and Discover feeds.
Product: Enables product rich results with price, availability, review ratings, and images. Essential for e-commerce sites. Requires name, image, and offers with a valid price and priceCurrency. Without this schema, your products appear as plain links while competitors show prices and ratings directly in search.
FAQ: Enables FAQ rich results — expandable question-and-answer pairs displayed directly in the search listing. Only works for pages where the FAQ content is visible on the page itself (you can't hide FAQ content and still get the rich result). FAQ rich results dramatically increase the visual prominence of your listing.
LocalBusiness: Enables business information in search results — address, phone number, hours of operation, and review ratings. Critical for any business with a physical location. Works with Google Business Profile to provide consistent information across Google Search and Maps.
Recipe: Enables recipe rich results with cooking time, calorie count, ingredient list, step-by-step instructions, and ratings. One of the most visually prominent rich result types — recipe cards with photos and ratings get enormous click-through rates from food-related searches.
Event: Enables event rich results showing date, location, ticket price, and event name. Essential for concert venues, conference organizers, and event listing sites. The event may also appear in Google's Events search tab.
Rich Snippets — How They Appear in Search
Rich snippets are the visual enhancements that appear when your structured data is recognized and processed by Google. Here's what each schema type typically produces:
Product: Price, availability ("In Stock"), and star rating appear below the title. Example: A product titled "Sony WH-1000XM5" might show "★★★★★ 4.7 (1,247) · $299.00 · In Stock" beneath the link.
Article: Author name, publication date, and site name appear. In some cases, the article image is shown alongside the snippet. In Google Discover, articles with proper Article schema get preferential placement.
FAQ: Two or three questions from your page appear as expandable accordions directly in the search result, occupying significant vertical space. This is one of the most impactful rich result types for information-heavy pages.
LocalBusiness: Business name, address, phone number, hours, and review rating appear in the knowledge panel and in local search results. This is especially important for "near me" searches.
Rich results aren't immediate — after adding or updating schema, it can take days to weeks for Google to re-crawl your page and update the search display. Check Google Search Console's "Enhancements" section to monitor which rich results Google has detected on your site and whether there are any errors.
Testing and Validating Your Structured Data
Never publish structured data without testing it first. Invalid markup won't produce rich results and may cause Google to flag errors in Search Console. Two tools cover the validation workflow:
Google Rich Results Test (search.google.com/test/rich-results): Paste your page URL or HTML source code. The tool parses your JSON-LD, identifies the schema types, and reports any errors or warnings. It also shows you which rich results your markup is eligible for. Fix all errors before publishing — warnings are usually informational but worth reviewing.
Schema Markup Validator (validator.schema.org): A more thorough validator that checks your markup against the full Schema.org specification, not just Google's subset. Use this when you need to verify that your markup is standards-compliant beyond what Google requires.
After publishing, monitor Google Search Console's "Enhancements" tab (or "Rich Results" in the older interface) to track which structured data Google has detected and indexed. Errors here indicate markup that Google found but can't use — fix them promptly.
Frequently Asked Questions About Schema Markup
<head> section of your HTML. Google also accepts it in the <body>, but <head> ensures it's parsed before the page content loads. In WordPress, add it via your SEO plugin's custom code section (Rank Math, Yoast), the theme's header.php template, or a "Header and Footer" plugin. In Shopify, add it to theme.liquid. In static HTML, paste it right after the opening <head> tag.
search.google.com/test/rich-results) to paste your URL or HTML and check for errors. Fix all errors — they prevent rich results from appearing. You can also use the Schema Markup Validator at validator.schema.org for a more thorough check against the full Schema.org specification. After publishing, monitor Google Search Console's Enhancements tab for ongoing error reports.
<script type="application/ld+json"> blocks or combine them in a single block using the @graph array. Search engines read and use all valid structured data they find on the page.
itemscope and itemprop attributes. It's tightly coupled with your HTML, which makes it harder to maintain as your page evolves. JSON-LD lives in a separate <script> block, completely decoupled from your HTML. Google recommends JSON-LD for all new implementations because it's easier to add, update, and debug. If you're starting fresh, always use JSON-LD. If you have existing Microdata, it still works but migrating to JSON-LD simplifies maintenance.