Free audit
Free tool

Free Google Maps embed generator

Embed code

Link that opens your business in Google Maps

"Get directions" link

What it does: type your business name and address. The tool writes the iframe code for a Google Map of your business, with your choice of map type, zoom and height. It also makes two links you can use anywhere: one that opens your business in Google Maps and one that starts directions to you. Everything runs in your browser.

The three things you get

  • Embed code: an iframe you paste on your contact or location page. It loads lazily and has a title for screen readers.
  • A Maps link: https://www.google.com/maps/search/?api=1&query=..., the search format in Google's Maps URLs documentation (read November 1, 2026). Add your place ID and it opens your exact listing. To find your listing's Place ID, see Google Place ID.
  • A Get directions link: https://www.google.com/maps/dir/?api=1&destination=..., which opens directions to your business in the Maps app on phones.

Where to use them

Put the map and directions link on your contact page and on each location page. Use the Maps link in emails, on invoices and in your social profiles. Keep the name and address exactly as they are on your Google Business Profile, so customers land on the right listing.

Does an embedded map help rankings?

Google does not say it does. An embedded map helps visitors find you. Your Maps rank comes from your Google Business Profile, relevance, distance and prominence. To see what the businesses above you have, run a free gap audit or read Google Maps ranking factors. To check that your website shows a map and the same name, address and phone as Google, run a NAP check.

More free tools: local business schema generator and all tools.

Frequently asked questions

Do I need a Google API key?

Not for this code. The links use Google's Maps URLs, and Google's documentation says you don't need an API key to use them. The map uses Google's public embed link.

Is there an official way to embed my map?

Yes. In Google Maps, open your business, choose Share, then Embed a map, and copy the HTML. This tool gives you the same kind of iframe with your own size, zoom and map type.

What is a place ID and where do I find it?

A place ID is Google's ID for your listing. Google's Place ID Finder page shows it when you search for your business. Adding it makes the links open your exact listing.

Will the map slow down my page?

The code loads the map only when it scrolls into view (loading="lazy"), so it does not hold up the top of your page.

Keep reading