Structured data

Schema.org JSON-LD generator.

Generate valid structured data for Google Rich Results. Choose a schema type, fill in your details, and copy the ready-to-paste JSON-LD script tag.

Schema builder

Choose a schema type

Select the structured data type that matches your page content. Fill in the fields below and copy the generated JSON-LD.

Local Business Fields

Address

Business name is required
At least street or city is recommended
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "LocalBusiness",
  "priceRange": "$$",
  "address": {
    "@type": "PostalAddress",
    "addressCountry": "IN"
  }
}
</script>

How to Use

  1. Fill in the required fields on the left panel
  2. Click "Copy to Clipboard" to copy the complete script tag
  3. Paste the script tag into your page's <head> section
  4. Validate using Google's Rich Results Test

How the builder works

Five schema types

LocalBusiness, FAQ, Article, Product, and Breadcrumb โ€” the five most impactful schema types for Google Rich Results and featured snippets.

Live validation

Real-time field validation warns you about missing required properties before you deploy, reducing errors in Google Search Console.

One-click copy

Copy the complete script tag including the JSON-LD payload. Paste directly into your HTML head section โ€” no manual formatting needed.

How to use it

Getting a useful result.

  1. Pick the type that matches what the page actually is. A local business, a service, an article, an FAQ โ€” one page, one primary type.
  2. Fill in only what is true and visible on the page. Structured data is a machine-readable summary of the page, not an extra place to make claims.
  3. Copy the generated block and paste it into the page's <head>, or into the SEO plugin's schema field if you are on WordPress.
  4. Check it afterwards in Google's Rich Results Test. Malformed data is silently ignored โ€” the rich result simply never appears and nothing tells you why.

Structured data does not improve your ranking on its own. What it can do is change how your entry looks: opening hours and a map pin for a local business, an FAQ that expands underneath your link, a recipe or event card. Those change how many people click, which is a different and often larger lever than position.

The rule that catches people out is that the markup must describe something a visitor can see on the page. Marking up review stars you do not display, or an FAQ that exists only in the schema, is against Google's guidelines and can cost you rich results across the whole site โ€” not just on that page.

For a local business, the details here must match your Google Business Profile exactly: same name, same address, same phone number. Two versions of your address is one of the quieter ways local ranking gets suppressed.

Common questions

Will adding schema improve my ranking?

Not directly. Google is clear that most structured data is not a ranking factor. It affects presentation โ€” the extra lines, the map, the expandable questions โ€” which affects your click-through rate. Treat it as making your existing position work harder rather than as a way to move up.

Can I add review stars to my own website?

Not for your own business on your own site. Google specifically disallows self-serving review markup, and the penalty is losing rich results more broadly. Real reviews collected on your Google Business Profile do show stars, which is why that profile is worth more attention than the markup.

Where exactly do I paste this?

Inside a script tag with type application/ld+json, anywhere in the head or body of the page it describes. On WordPress your SEO plugin will have a field for custom schema, which is safer than editing a theme file that an update will overwrite.

Free Learning Guide

How to show star ratings & shop details on Google

Not sure how Schema Markup helps your business? Read our simple, jargon-free guide that explains how Ramesh got stars on Google for his Varanasi hotel and gained more clients.

Read Simple Guide โ†’

Structured data is groundwork, not a ranking trick. It sits alongside the technical and local SEO work in โ€” digital marketing.