Free Local Business Schema Generator
Generate LocalBusiness structured data with your address, phone, opening hours, map coordinates and social profiles, for any type of local business.
Runs in your browser · nothing is uploaded
Before you publish
- Add the business name.
- Add the street address and city. Google needs a full address for local results.
- Use the exact same name, address and phone as your Google Business Profile.
Your code
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "LocalBusiness"
}
</script>How to use the free local business schema generator
- 01
Pick the most specific business type.
- 02
Enter your name, address and phone exactly as on your Google Business Profile.
- 03
Add the JSON-LD to your homepage or contact page.
Local schema and local rankings
LocalBusiness schema confirms your business details (name, address, phone, hours) to Google in a machine-readable way. Consistency matters most: the details should match your Google Business Profile and directory listings exactly, which is one of the signals behind the local map pack.
Use the most specific type available (Plumber rather than LocalBusiness) and put the markup on the page that shows your address, usually the homepage or contact page.
Tips for using the local business schema generator
Match your Google Business Profile
Name, address and phone must match exactly, down to abbreviations.
Add opening hours
Hours in your schema help Google show them correctly.
Link your profiles
Add Google, Facebook and Yelp URLs in "Profiles" so search engines connect them to you.
Work through the basics
Follow the rest of the local SEO checklist for the steps beyond schema.
Skip the manual work: get an article published to your site every day.
Rankfly finds the keywords your site can actually win, writes a full SEO article for each one, adds images, and publishes it to WordPress, Shopify, Webflow, Wix and more. Enter your website to see your free 30-day content plan.
3-day free trial · $66/month for 30 articles
Local Business Schema Generator FAQ
How do I test the markup?
Paste the page URL or the code into Google's Rich Results Test or the Schema.org validator after adding it.
I have several locations. What should I do?
Create one page per location, each with its own LocalBusiness markup and details.
Is anything uploaded?
No. The code is generated in your browser.
Does local business schema help rankings?
It helps Google confirm your details. Reviews, proximity and your Business Profile matter more for the map pack.
Should I add schema for a service-area business?
Yes. Leave the street address out if you don't serve customers there, and describe your service area on the page.
How do I find my latitude and longitude?
Right-click your location in Google Maps; the coordinates appear at the top of the menu.
Related free SEO tools
All 87 free toolsSchema Markup Generator
Pick a schema type, fill in the details, and copy valid JSON-LD structured data for your page.
FAQ Schema Generator
Paste your questions and answers to get valid FAQPage JSON-LD you can add to the page.
Meta Tag Generator
Fill in your page details to generate every essential meta tag: title, description, robots, canonical, Open Graph and X (Twitter) cards.
Product Schema Generator
Generate Product structured data with price, stock, brand, SKU and ratings, so Google can show price and availability in search results.
Open Graph Generator
Fill in the title, description and image you want people to see when your link is shared, and copy the Open Graph tags.
Hreflang Tag Generator
List each language version of a page to generate correct hreflang tags, as HTML or as XML sitemap entries, including x-default.
Let Rankfly do your SEO for you.
Enter your website for a free 30-day content plan: the keywords your site can win and the articles Rankfly would write and publish. About three minutes.
3-day free trial · $66/month after · Cancel anytime