Free tool · no signup · no API key

Free Google Maps Embed Generator

Type your business address, check the map, and copy the code to put it on your website. Works with Wix, WordPress, Squarespace, Shopify and plain HTML.

A full street address puts the pin in the right place most reliably.

Size

Only used to open the FlatRateChat demo on your own site afterwards, if you want to try it.

Runs in your browser: nothing you type is sent to FlatRateChat (unless you click the demo button, which carries your website address). The preview map loads from Google, like any map on a website.

How to embed a Google Map on your website

  1. Type your address above (or your business name and city) and choose a size.
  2. Check the preview. If the pin is in the wrong place, add more of the address.
  3. Copy the code and paste it into your website, using the steps for your website builder below.

The code is an <iframe>: a small window on your page that shows the map from Google. Visitors can drag it, zoom it and open directions in Google Maps.

Wix

  1. Wix has its own map element, and it is often the easiest choice: in the Editor, click Add Elements (the + on the left) and look under Contact & Forms for the map.
  2. To use this code instead: click Add Elements → Embed Code → Embed HTML.
  3. Click Enter Code, choose Code, paste the code and click Update.
  4. Drag the box to the size you want (choose “Full width of its box” above so the map fills it), then Publish.

WordPress

  1. Edit the page, click the + (Add block) button and search for Custom HTML.
  2. Paste the code into the block. Click Preview in the block's toolbar to see the map.
  3. Click Update (or Publish).
  4. Using Elementor? Drag in the HTML widget and paste the code there. In the classic editor, switch to the Text tab before pasting.

Squarespace

  1. Squarespace has its own Map block that only needs your address: that is usually the easiest choice.
  2. To use this code instead: edit the page, click Add Block (or the + where you want it) and choose Code.
  3. Paste the code, click outside the block and Save.
  4. Code blocks may depend on your Squarespace plan. Squarespace's help pages list which plans include them.

Shopify

  1. Go to Online Store → Themes and click Customize.
  2. Open the page where the map should go, click Add section and choose Custom Liquid (in most current themes).
  3. Paste the code into the section's box and click Save.
  4. For a normal page (like “Contact”): Online Store → Pages, open the page, click the Show HTML button (<>) in the editor's toolbar, paste the code and save.

Plain HTML

Paste the code where the map should appear, anywhere between <body> and </body>. “Full width of its box” fills its container; put it inside a <div> with a width if you want it narrower.

The official way: Google Maps → Share → Embed a map

Google Maps can give you embed code too, and it points at your exact Google listing rather than at a search for the text you type:

  1. Open Google Maps on a computer and search for your business.
  2. Click your business, then click Share.
  3. Open the Embed a map tab, choose a size and click Copy HTML.
  4. Paste it into your website the same way as the code from this tool.

Use the official code if your business has a Google Business Profile and you want the map to show that listing. Use this tool when you want to type an address and see the result straight away, or when you are on a phone.

What this tool does, and its limits

Questions

Is the Google Maps embed generator free?

Yes. No signup, no email, no card and no API key. It is made by FlatRateChat, a website chatbot company.

Do I need a Google Maps API key to embed a map?

Not for this code, and not for the official Share → Embed a map code either. You need a key only for Google's Maps Embed API and its other developer products.

Why does the map show the wrong place?

Google searches for the text you typed. Add the street number, street, city and ZIP or postal code. If your business has a Google listing, the official Share → Embed a map code always points at that listing.

How do I make the map fit on phones?

Choose “Full width of its box”. The map then takes the full width of the space it sits in, at the height you choose. On Wix, also drag the Embed HTML box to the size you want.

Will an embedded map slow down my page?

A little, like any map. The code includes loading="lazy", so browsers load the map only when a visitor scrolls near it.