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 …
Short text, like “$$” or “100–300 DKK”.
<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
- Pick your business type, and fill in name, website, phone and address. Use the international phone format, like +45 12 34 56 78.
- Set the opening hours for each day, or tick “Closed”. Days with the same hours are grouped automatically.
- Add the optional fields if you have them: e-mail, price range, logo, a photo, coordinates.
- Copy the JSON-LD block and paste it into the <head> of your home page, or the page about the business.
- 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
How to make a website
Step by step, from domain to launch: the choices, the costs in Denmark and the rules your site must follow.Learn moreSEO tools
PlannedSEO for your website: the technical basics work today, and a full SEO and AI-search workspace is on the roadmap.Learn moreFast websites
A fast website out of the box: pages published as plain HTML and CSS, with no framework JavaScript slowing your visitors down.Learn moreYour own domain
Connect your own domain to your website with two DNS records. The HTTPS certificate is on us.Learn moreContact forms
Build a contact form for your website in the editor, keep spam out, and read every enquiry in your admin.Learn more
More free tools
Your website on Google
See how your website looks on Google before you publish, and whether Google cuts off your title and description.Learn moreOpen Graph preview
Preview your Open Graph share card on Facebook, LinkedIn, X and iMessage, and copy the meta tags.Learn moreQR code generator
A free QR code for your website, menu, review link or Wi-Fi, for flyers, cards and the window. Static codes that never expire, as SVG or PNG.Learn more