DA

Free tool

Local business schema generator. Tell Google the facts.

LocalBusiness schema markup tells Google your name, address, phone and opening hours in a format it reads without guessing. Fill in your details, and copy a finished JSON-LD block for your website. Free, no sign-up.

International format, like +45 12 34 56 78.

Two letters: DK, SE, DE …

Opening hours
Mon
Tue
Wed
Thu
Fri
Sat
Sun

Short text, like “$$” or “100–300 DKK”.

JSON-LD
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Bakery",
  "name": "Bakery on the Corner",
  "url": "https://www.example.dk",
  "@id": "https://www.example.dk/#business",
  "telephone": "+45 12 34 56 78",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "Nørregade 12",
    "postalCode": "8000",
    "addressLocality": "Aarhus C",
    "addressCountry": "DK"
  },
  "openingHoursSpecification": [
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": [
        "Monday",
        "Tuesday",
        "Wednesday",
        "Thursday",
        "Friday"
      ],
      "opens": "07:00",
      "closes": "17:30"
    },
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": "Saturday",
      "opens": "07:00",
      "closes": "14:00"
    }
  ]
}
</script>

Paste this into the <head> of your home page, or the page about the business. Then check it with Google’s Rich Results Test.

What is LocalBusiness schema?

Structured data is a small block of code that states facts about a page in a format search engines understand without guessing. LocalBusiness is the schema.org type for a business with a physical place customers visit, or a local service area: a bakery, a salon, a dentist, a garage.

It spells out your name, address, phone, opening hours and website, so Google, Bing and AI assistants read them correctly, instead of scraping them from a footer, possibly wrong.

How to add local business schema to your website

  1. Pick your business type, and fill in name, website, phone and address. Use the international phone format, like +45 12 34 56 78.
  2. Set the opening hours for each day, or tick “Closed”. Days with the same hours are grouped automatically.
  3. Add the optional fields if you have them: e-mail, price range, logo, a photo, coordinates.
  4. Copy the JSON-LD block and paste it into the <head> of your home page, or the page about the business.
  5. Test the page with Google’s Rich Results Test and the Schema Markup Validator.

Pick the most specific type

schema.org has hundreds of subtypes of LocalBusiness. Use the most specific one that fits: Bakery rather than FoodEstablishment, HairSalon rather than LocalBusiness. If nothing fits, plain LocalBusiness or ProfessionalService is fine.

Example: what the markup contains

For a bakery in Aarhus, the block says, in code:

  • @type: Bakery, the kind of business
  • name, url and telephone
  • address: street, postal code, city and country code (DK)
  • openingHoursSpecification: Monday to Friday 07:00–17:30, Saturday 07:00–14:00

Where it goes, and how to test it

One block per location: a business with two shops gets a page and a block for each.

The details must match what visitors see on the page. Structured data that contradicts the page can be ignored. The url should be your own domain, the same address you give on your Business Profile.

Google Business Profile comes first

For showing up on Google Maps and in the map box at the top of local searches, your free Google Business Profile matters more than any markup. Create or claim it at google.com/business, verify it, and fill in everything: the category, opening hours, photos, the area you serve and a link to your website.

Then make sure your name, address and phone number are written exactly the same way on your profile, in your schema markup, in your website’s footer and in directories like Krak. Small differences, such as “Nørregade 12” in one place and “Nørreg. 12, st.” in another, make it harder for Google to trust that they are the same business.

Step 7 of how to make a website puts the profile, Search Console and your titles and descriptions in order.

Does schema markup help me rank?

Structured data is not a ranking boost on its own, and it doesn’t guarantee any special look in the results. What it does is remove doubt: correct hours, the right phone number and a clear business type help your listing, your Google Business Profile and AI answers agree. Useful pages and a fast website still do the heavy lifting.

Common mistakes

  • Opening hours in the markup that differ from the ones on the page or in your Business Profile.
  • A phone number without +45, or a relative logo address instead of a full https:// one.
  • Plain LocalBusiness when a more specific type fits.
  • One block listing several shops instead of one per location.
  • Changing your hours on the profile and forgetting the code on the website.

Frequently asked questions

Not guaranteed. Valid markup makes your details easy for Google to read and use, but Google decides what to show. For the map results, your Google Business Profile counts most.

Google recommends JSON-LD. It sits in one block, separate from your HTML, so a redesign can’t break it by accident.

Use the closing time as it reads on the clock, e.g. opens 18:00, closes 02:00. Open around the clock? Use opens 00:00 and closes 23:59.

No. Latitude and longitude are optional; a complete street address is enough for search engines to place you. Add them if your address is hard to find on a map.

Run the page through Google’s Rich Results Test and the Schema Markup Validator. Both show the data they found and any errors.

Yes, the basics. Once your company name and CVR number are filled in, Striive adds LocalBusiness data with your name, CVR, address and contact details to every page. Opening hours and a more specific business type are part of the planned SEO tools; until then, this generator covers them.

Read on

More free tools

May we use Google Analytics to see which pages get read? It sets cookies and sends details of your visit to Google, including in the US. We don’t use it for advertising. About cookies