Robots.txt Tester
Check which URLs your robots.txt actually allows and blocks.
Address, hours, phone and geo as LocalBusiness JSON-LD.
Address
Ranges and lists both work: Mon-Fri, Mon,Wed,Fri. Write closed or 24 hours instead of times where they apply.
Your generated code appears here.
The LocalBusiness Schema Generator produces structured data for a physical business: name, address, phone, price range, coordinates and the openingHoursSpecification blocks that hand-written markup usually gets wrong. Write hours the way they appear on your door and the tool converts them into the day and time structure schema.org expects.
Enter your address, phone number and opening hours and the generator writes the LocalBusiness JSON-LD, including the openingHoursSpecification blocks that most hand-written markup gets wrong. The type picker offers the specific subtypes — Restaurant, Dentist, Plumber, Store and the rest — because a specific type describes you better than the generic one.
Opening hours are the part worth doing properly. schema.org wants a list of specifications, each naming its days and its open and close times in 24-hour format, and it needs a way to say "closed" that is not simply an omission. This tool takes hours the way you would write them on a door — Mon-Fri 9:00-17:30, Sat 10:00-14:00, Sun closed — and converts them into the correct structure. The NAP details you enter should match your Google Business Profile character for character, because the value of this markup is largely in corroborating what is already there.
Restaurant, Dentist, Plumber, Store and dozens more, because a specific type describes you better than the generic one.
Write "Mon-Fri 09:00-17:30" and get proper openingHoursSpecification objects out.
Days marked closed are omitted rather than written with matching open and close times, which means something else entirely.
Latitude and longitude for addresses a postcode alone does not pin down.
The panel prompts you to match your Google Business Profile exactly, which is where most of the value comes from.
Pick the most specific type that fits. Restaurant beats LocalBusiness, and Dentist beats MedicalBusiness.
Name, address and phone, written exactly as they appear on your Google Business Profile.
One line per block, in plain form: Mon-Fri 09:00-17:30. Write "closed" for the days you are shut.
Latitude and longitude help disambiguate a shared address; price range is a run of currency symbols.
Paste it into the head of your contact or homepage — whichever URL you claim as the business.
One page per physical location, usually the homepage for a single-location business and a dedicated location page for each branch of a multi-location one. Repeating the same LocalBusiness block on every page of the site adds nothing and muddies which URL represents the business.
Leave Sunday out of your open specifications entirely, or write it as closed here and this tool omits it. A specification with identical opening and closing times is how you say "open 24 hours", not how you say "closed".
Not required, but useful when the postal address is ambiguous — a unit inside a mall, a rural address, or a building shared with other businesses. Take the coordinates from your own map pin rather than guessing them.
No. The map pack is driven by your Google Business Profile, proximity and reviews. LocalBusiness markup corroborates the details Google already holds and helps it trust your site as the business it claims to be, which supports the profile rather than replacing it.
What people who use the LocalBusiness Schema Generator think of it. Reviews come from visitors and are posted as written.
No ratings yet
Yours would be the first.
0 reviews
Newest first
No reviews yet
Be the first to rate the LocalBusiness Schema Generator. It takes half a minute and no account.
Write the first reviewCheck which URLs your robots.txt actually allows and blocks.
Find every image with no alt text, or bad alt text.
Turn a list of old and new URLs into Apache redirect rules.
Build nginx rewrite and return rules from a redirect map.
Write a valid ads.txt so your ad inventory is not spoofed.
Cross three lists of words into every combination.
Compare two pages and find the passages they share.
Strip comments and dead whitespace out of a page.