Schema Markup Generator
Generate valid JSON-LD or Microdata structured data for 16 schema types. Select a schema type, fill in the fields, and copy the markup to your site. Not sure where the code goes once you have it? Read how to add schema markup to your website for the exact steps on WordPress, Shopify, Wix, and custom sites.
LocalBusiness Fields
Your entries for other schema types stay saved when you switch tabs.
Opening Hours
Structured Data Output
Template incomplete: 2 fields need attention
- - Business name is required
- - Address is required
Google rich-result check
Google has a related rich-result feature for this type. Eligibility also depends on page content, type-specific policies and Google’s test; a rich result is never guaranteed.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "LocalBusiness",
"name": "",
"address": {
"@type": "PostalAddress",
"streetAddress": "",
"addressLocality": "",
"addressRegion": "",
"postalCode": "",
"addressCountry": "GB"
},
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": "Monday",
"opens": "09:00",
"closes": "17:00"
}
]
}
</script>Validate by copy, open and paste
Copy the markup, open a validator, choose its code option where shown, then paste. The validators do not support a reliable prefilled-code link.
How this could appear in Google
Simplified SERP preview
Example valuesexample.com
Acme Plumbing
LocalBusiness · London, Greater London
Acme Plumbing
123 High Street, London, Greater London, SW1A 1AA
+44 20 1234 5678
Monday 09:00–17:00
Preview only. Google decides whether to show rich results; valid markup does not guarantee them.
Want schema added and validated across your whole site? Request a free SEO diagnosis.
What is LocalBusiness schema?
LocalBusiness schema states your business name, type, address, phone number, opening hours, and geographic coordinates in a machine-readable format. Google lists a local business feature that can show hours, ratings, directions, and booking options, but for most businesses the local pack and Maps listing are driven primarily by your Google Business Profile, not by page markup.
What LocalBusiness schema does reliably is corroborate the details in your Google Business Profile with an independent, structured statement on your own site, using one of 29 specific business types from Plumber to Dentist rather than the generic LocalBusiness type alone. Fill in the fields below, including opening hours and price range, and generate either JSON-LD or Microdata output. Keep the name, address, and phone number here identical to your Google Business Profile listing.
Frequently asked questions
Will adding this schema get me into the Google local pack?
No single piece of markup does that. The local pack is driven mainly by your Google Business Profile, proximity, relevance, and reviews. LocalBusiness schema on your site supports and corroborates those signals rather than replacing them.
Which business type should I pick?
Choose the most specific type that fits, such as Dentist or Plumber, rather than the generic LocalBusiness type. A specific type gives search engines a clearer statement of what the business does.
Do I need latitude and longitude?
They are optional but useful if your address alone does not pinpoint your location precisely, for example in a large retail park. Leave them blank if you are not sure of the exact coordinates.
Does the address here need to match my Google Business Profile exactly?
Yes. Inconsistent name, address, and phone details between your site and your Google Business Profile are a known source of local ranking confusion, so keep them aligned.
Want your structured data reviewed and validated by a human? The technical SEO audit includes a full schema markup review. Not sure where to paste the code above? Read how to add schema markup to your website.
Other schema types
Get Started
Want Your Schema Reviewed by a Human?
Tell me your site and CMS. The £495 audit reviews and validates your existing structured data against Google's Rich Results Test and gives you developer-ready fixes. Implementation is quoted separately or covered in a retainer.
- Focus on your biggest search problem
- Review the evidence you already have
- Identify the most useful next step
- Answer your priority SEO question
Usually responds within a few hours
Currently accepting new clients
More free SEO tools
SEO Prompt Library
20 customisable ChatGPT, Claude, and Gemini prompts for demand mapping, topical maps, briefs, schema, and AI search.
Website Grader
Get an instant A-F grade covering SEO, page speed, security, and content quality.
Keyword Suggestions
Scrape Google Autocomplete suggestions across 8 regions with a-z expansion.