Generate LocalBusiness schema markup in seconds

Enter your business details below and get ready-to-paste JSON-LD structured data for your website. Helps Google show your name, hours, rating and phone number directly in search results.

Enter your business details

Mon
Tue
Wed
Thu
Fri
Sat
Sun

Want this auto-generated from your Google Business Profile?

ReviewTactic pulls your business data directly from Google and generates schema markup automatically — along with review management, AI replies, competitor tracking, and more.

Start free — no card required

LocalBusiness schema markup is a snippet of structured data you add to your website's HTML. It tells Google exactly what your business is — name, address, opening hours, phone number, and rating — in a format search engines can parse directly. Without it, Google has to guess from your page content. With it, you're more likely to show up with rich results: star ratings, business hours, and click-to-call buttons right in the search results.

What is JSON-LD schema markup?

JSON-LD (JavaScript Object Notation for Linked Data) is Google's preferred format for structured data. It's a block of code you place in your website's <head> section that describes your business in a standardized way. Unlike microdata or RDFa, JSON-LD doesn't mix with your HTML — it sits in a separate <script> tag, so it's easy to add without touching your page layout.

Why does LocalBusiness schema matter for local SEO?

Search engines use structured data to understand your business better. When Google knows your exact business type, hours, and location, it can:

How to add schema to your website

  1. Fill in your business details in the form above.
  2. Click "Generate schema markup" to create your JSON-LD code.
  3. Click "Copy to clipboard" to copy the entire <script> block.
  4. Paste the code inside the <head> tag of your website's HTML.
  5. Validate with Google's Rich Results Test.

Which business type should I choose?

Schema.org has specific types for many industries — Restaurant, Dentist, HairSalon, Hotel, and more. Using the most specific type gives Google better context. If your category isn't listed, the default LocalBusiness type still works — it covers any brick-and-mortar business with a physical location.

Frequently asked questions

What is LocalBusiness schema markup?
LocalBusiness schema is structured data (JSON-LD) you add to your website's HTML that tells search engines exactly what your business is — name, address, phone, hours, and rating. It helps Google show rich results like knowledge panels and star ratings in search.
How do I add JSON-LD schema to my website?
Copy the generated code and paste it inside the <head> tag of your website's HTML. If you use WordPress, you can paste it in the header section of your theme settings or use a plugin like Insert Headers and Footers.
Does schema markup help with local SEO?
Yes. While schema markup alone won't guarantee higher rankings, it helps search engines understand your business better, which can lead to rich results (star ratings, hours, phone number) appearing directly in search. Pages with structured data are more likely to appear in knowledge panels.
What's the difference between LocalBusiness and Restaurant schema?
Restaurant is a more specific subtype of LocalBusiness in schema.org. Using the most specific type (Restaurant, Dentist, HairSalon, etc.) gives search engines more context. This tool automatically selects the right type based on your business category.
Is the schema generator free?
Yes. It's free, runs entirely in your browser, and needs no signup. Your data is not sent to any server.
How do I validate my schema markup?
After pasting it on your website, use Google's Rich Results Test (search.google.com/test/rich-results) or the Schema.org Validator (validator.schema.org) to confirm everything is correct.
Can I include my Google rating in the schema?
Yes. Enter your average rating and total review count in the form, and the tool adds an aggregateRating object to the schema. This can trigger star ratings in search results.

Want the full picture?

These free tools solve one problem each. The full platform monitors all your reviews, replies with AI, fights fakes, and benchmarks competitors, all on autopilot. Free to start.

See pricing