Use this free local business schema markup generator to create LocalBusiness schema for your website in under a minute. Choose your business type, add your details, hours and areas served, then copy the JSON-LD code into your site and test it with Google’s Rich Results Test. Free, with no sign-up.
Local Business Schema Generator
Fill in your details to get LocalBusiness JSON-LD schema code to paste into your website. Test it afterwards with Google’s Rich Results Test.
What Is Local Business Schema?
Local business schema is structured data code that tells search engines exactly who you are, where you are, when you’re open and which areas you serve. It’s written in JSON-LD, the format Google recommends, and it helps both Google and AI tools read your business details accurately.
| Field | Example | Why it matters |
|---|---|---|
| @type | Plumber, Dentist, LegalService | Tells Google what kind of business you are |
| name, url, telephone | Smith Plumbing | Core identity, must match your Google profile |
| address | Street, city, postcode | Location signals (hide street for service-area businesses) |
| openingHoursSpecification | Mon–Fri 08:00–18:00 | Accurate hours |
| areaServed | Austin, Round Rock | Service-area coverage |
| sameAs | Google Maps, Facebook links | Connects your profiles |
How Do I Add Schema to WordPress?
Paste the code into a Custom HTML block on your homepage or contact page, or into your SEO plugin’s custom schema field (Rank Math and others support this). Then test the page URL in Google’s Rich Results Test.
Does Schema Improve Rankings?
Schema doesn’t directly guarantee higher rankings or rich results. It makes your information easier to understand, which helps accuracy in Google and AI answers. Only include true information that matches what’s visible on your page.
Frequently Asked Questions
Which business type should I choose?
The most specific one that fits, such as Plumber rather than LocalBusiness.
Should a service-area business include its street address?
No. Tick “service-area business” to hide the street and list areas served instead.
