What local business schema does
Schema markup is code that describes your business in a format search engines understand: your name, type of business, address, phone number, opening hours and profiles. It helps them connect your website with your business details and can make your pages eligible for richer search features. It does not guarantee them, and it works best alongside a complete Google Business Profile.
Choose the most specific type
Schema.org has types for many kinds of businesses, such as Dentist, Plumber, LegalService or Restaurant. Pick the most specific one that fits, and use LocalBusiness only when nothing more precise applies.
Keep details consistent
The name, address and phone number in your markup should match your website, your Google Business Profile and directory listings exactly. Mismatched details make it harder for search engines to trust any of them. Only mark up information that visitors can also see on the page.
Where to put the code and how to test it
Paste the code into the HTML of the page that represents your business, usually the homepage or the contact page. Many website builders and SEO plugins have a field for custom code in the page head. Then check it with Google's Rich Results Test and the Schema Markup Validator, and fix any warnings.
Several locations
If you have several branches, give each location its own page with its own markup, address, phone number and opening hours, instead of listing every branch in one block.
Questions, answered
Not directly. It helps search engines understand your business and can enable richer results, which can improve clicks. Content, reviews and your Business Profile matter more for local rankings.
JSON-LD is the format Google recommends and the easiest to add, because it sits in one block instead of being woven through your HTML.
They are optional. Add them if you know the exact location; your address is the main signal.