Skip to main content

Generate your business's LocalBusiness schema

Fill in your business details and you'll get the JSON-LD code to paste into your site's <head>. No account needed.

What you type here never leaves your browser. The code is generated on your own machine, not on a server.

Pick the closest match; use the generic option if you're not sure.

Only if you want it to show.

Opening hours

You can leave this blank if you'd rather not publish it. Hours that cross midnight (like 22:00–02:00) generate correctly.

Latitude and longitude, if you have them handy.

Social profiles (optional)

Add as many as you like; they're generated as a proper list, not a comma-separated string.

What's in this code

  • Business typeLocalBusiness

Your JSON-LD code

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "LocalBusiness"
}
</script>
You can check it yourself with Google's Rich Results Test (opens in a new tab).

How to use it

Below the form you’ll find the ready-to-use code, and above it a plain-language summary of what’s there and what’s missing. A "recommended field" note isn’t a requirement, but Google usually expects it for this type of business.

Limitations

This generates the markup; it doesn't validate it against Google. It makes no call to the Rich Results Test or anywhere else. If you want to check it, there's a link to Google's own tool, which you open yourself whenever you like.

This markup is one small piece of local SEO: it tells Google, without ambiguity, what your business is called and where it is.

Ask for a free review of your site.

The code's the easy bit. If you'd like to know how the rest of your local SEO is doing, I'll take a look at no cost.