Skip to content

Free tool · no signup

LocalBusiness JSON-LD schema generator

Fill in your business details and get ready-to-paste code that tells Google, Bing and AI assistants who you are, where you are and when you’re open.

New to schema? Read the guide with 3 examples →
Your business

1 · Your business

130 types from schema.org. Type to search, e.g. “nail” or “hostel”.

Address

2 · Address

Map coordinates (optional)

Right-click your pin on Google Maps and click the numbers to copy them. Use at least 5 decimal places.

Opening hours

3 · Opening hours

  • Monday–
  • Tuesday–
  • Wednesday–
  • Thursday–
  • Friday–
  • Saturday–
  • SundayClosed

Closing after midnight, like 18:00 to 02:00? Just enter it: we write it the way Google expects.

More details

4 · More details optional, recommended

Price range
Your profiles: Google Maps, Instagram, Facebook, Tripadvisor
Your code · JSON-LD
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Restaurant",
  "openingHoursSpecification": {
    "@type": "OpeningHoursSpecification",
    "dayOfWeek": [
      "Monday",
      "Tuesday",
      "Wednesday",
      "Thursday",
      "Friday",
      "Saturday"
    ],
    "opens": "09:00",
    "closes": "18:00"
  }
}
</script>

Required: add your business name and city and country5 recommended missing: phone, website, street, photo, coordinates

  1. Paste the code into the <head> of your homepage. How, in WordPress, Wix and others
  2. Check it in Google’s Rich Results Test.
  3. Make sure the same name, address and hours are written on the page.
Paste it into your homepage’s <head>

Schema done. Is AI recommending you?

The free check asks AI the questions your customers ask, and shows whether you’re named, who’s named instead, and what else to fix.

Get my UP Score

What this generator makes

LocalBusiness structured data in JSON-LD, the format Google recommends. It uses the most specific schema.org type for your business, Google’s required fields (name and address) and the recommended ones you fill in: phone, opening hours, photo, price range, coordinates and links to your profiles.

Everything runs in your browser: nothing you type is sent to us or stored on our servers. It’s the same kind of code our full check writes for your website, from what it reads there.

Read: LocalBusiness schema (JSON-LD), a copy-paste guide with examples →

Questions

Does schema help me appear in AI answers?

It helps machines read your facts, but it won’t make AI recommend you on its own. Google says AI Overviews and AI Mode need no special schema, only that it matches your page; Microsoft says schema helps its AI models understand content.

Where do I paste the code?

In the head of your homepage, or of the page about this location. Website builders call this custom code, code injection or header code; on WordPress use your SEO plugin or a plugin that adds code to the header.

I have several locations. What now?

Make one code per location and paste each on that location’s own page, with its own address, phone and opening hours.

Should I add my reviews or star rating?

No. Google recommends review markup only for sites that collect reviews about other businesses, and ratings that aren’t from real users on your page can lead to a penalty. This generator leaves them out.