Neweb / Free tools / Google Maps Embed Code Generator

Google Maps Embed Code Generator.

To embed a Google Map on your website, paste an iframe whose address points at the map, such as https://maps.google.com/maps?q=YOUR+ADDRESS&output=embed. Type your address or business name, choose the zoom, map type and size, and copy responsive embed code plus a "Get directions" link that opens Google Maps.

Preview the map

Preview opens the map in a new tab. Paste the code into a custom HTML or embed block. Maps are displayed by Google and subject to Google's terms. Runs in your browser; your address is not sent to Neweb.

Need a website to put this on? Neweb builds one in about 90 seconds. Free to start.

Start free
Embed this tool on your website

Add the google maps embed code generator to your own site or blog for free. Paste this code into any HTML block (WordPress, Wix, Squarespace, Webflow or plain HTML). It runs in the visitor's browser, nothing they type is sent to Neweb, and the frame resizes itself to fit.

Preview the embed
What this tool does

Google Maps Embed Code Generator is a free online tool from Neweb (neweb.ai) for small businesses, with no sign-up. To embed a Google Map on your website, paste an iframe whose address points at the map, such as https://maps.google.com/maps?q=YOUR+ADDRESS&output=embed. Type your address or business name, choose the zoom, map type and size, and copy responsive embed code plus a "Get directions" link that opens Google Maps.

CostFree, no account, no sign-up
Built forsmall businesses, freelancers and sole proprietors
Made byNeweb, the AI website builder and online presence manager (free plan; paid plans from $9/month billed yearly)

Facts checked October 2026.

Sample output

What you'll get.

A real example of what this tool produces. Run it above with your own inputs.

Full-width map, zoom 15, no API key
<iframe src="https://maps.google.com/maps?q=Pike%20Place%20Market%2C%20Seattle%2C%20WA&amp;t=m&amp;z=15&amp;output=embed" width="100%" height="400" style="border:0;display:block;max-width:100%" allowfullscreen loading="lazy" referrerpolicy="strict-origin-when-cross-origin" title="Map of Pike Place Market"></iframe>
"Get directions" link (Google Maps URLs, no key needed)
<a href="https://www.google.com/maps/dir/?api=1&amp;destination=Pike%20Place%20Market%2C%20Seattle%2C%20WA" target="_blank" rel="noopener">Get directions</a>
Sample output for a public landmark. Enter your own address above.

An embedded Google Map is an iframe: a small window on your page that loads the map from Google. You paste one line of HTML where the map should appear, on a contact page, a location page or in the footer, and visitors can zoom, pan and open the place in Google Maps. It works on WordPress, Wix, Squarespace, Webflow and any site that accepts custom HTML.

This generator builds that code from an address or place name. Choose the zoom level, a map or satellite view, a fixed or full-width size and an optional language, and copy the iframe. It also gives you a "Get directions" link, which opens Google Maps with your address set as the destination.

Three ways to embed a Google Map

1. Share, then Embed a map (official, no key). On a computer, open Google Maps, find your place, open the menu or the place's Share button, choose Embed a map and Copy HTML (Google Maps Help). This is Google's own method, but every change of size or zoom means repeating it.

2. Simple embed URL (this generator's default, no key). The generator writes the classic maps.google.com/maps?q=...&output=embed address with your place, zoom and map type. When we checked it on 19 November 2026 it redirected to Google's embed page and displayed the map. Google does not document this URL format, so it could change; if a map ever stops loading, regenerate it with method 1 or 3.

3. Maps Embed API (official, needs a key). The documented route is the Maps Embed API, which needs an API key from a Google Cloud project. As of November 2026, Google's usage and billing page says Maps Embed usage is available at no charge, with no per-second or per-day request limits. Restrict the key to your own website in the Cloud console so nobody else can use it.

How do I make an embedded map responsive?

Set the iframe width to 100 percent and keep a fixed height, which is what the full-width option does. The map then stretches to the width of its column on desktop and shrinks to fit a phone screen. A height of 300 to 450 pixels suits most contact pages; on a page with little else, a taller map is fine.

Add a directions link as well

Many visitors want directions more than a map. The directions link uses Google Maps URLs, a documented format that, in Google's words, needs no API key, and it opens the Google Maps app on phones that have it. Put it next to your address and opening hours.

Maps, your address and local search

A map helps people find you, but it does not replace the basics of local search: show the same business name, address and phone number on your site as everywhere else, add LocalBusiness schema to your homepage, and claim and manage your Google Business Profile yourself so the place on the map has your hours, photos and reviews.

How to use the google maps embed code generator

  1. Type your address or the exact place name as it appears on Google Maps. A full street address with postcode or ZIP is most reliable.

  2. Add your business name so the map has a descriptive title for screen readers.

  3. Keep the simple embed, or choose the Maps Embed API and paste your key.

  4. Pick the zoom, map type, width and height, then click Preview the map to check it shows the right place.

  5. Copy the embed code into a custom HTML block on your contact or location page, and add the directions link beside your address.

Tips for better results

  • If the map shows the wrong place, use the full address with postcode or ZIP, or the business name exactly as Google Maps lists it.
  • Zoom 15 or 16 usually shows enough streets for a visitor to get their bearings.
  • Embedded maps load extra data from Google. The code includes loading="lazy", so the map only loads when a visitor scrolls near it.
  • Show your address as text next to the map too: it can be copied, read by screen readers and understood by search engines.
  • Point customers at your reviews with the Google review link generator, and print a QR code for the directions link with the QR code generator.
  • If the map is blank on your own site but works in the preview, your site may block iframes from Google. Check its content security policy or ask your host.

Example

A real-world walkthrough

A bakery's contact page lists its address but no map, and visitors keep calling for directions. The owner types the street address and the bakery's name, keeps the simple embed at zoom 15, chooses full width and a height of 400 pixels, and previews the map to confirm the pin is on the right corner.

She pastes the iframe into an HTML block under the opening hours and puts the "Get directions" link next to the address. On a phone, the map fits the screen width and the directions link opens the Maps app with the bakery as the destination.

Frequently asked questions

How do I embed a Google Map on my website?

Copy an iframe that loads the map and paste it into your page where the map should appear. Build the code here from your address, or in Google Maps on a computer choose Share, then Embed a map, then Copy HTML. In WordPress, Wix or Squarespace, paste it into a custom HTML or embed block.

Do I need an API key to embed Google Maps?

Not for a basic map. Google's own Share and Embed a map option and the simple embed URL from this generator work without a key. The documented Maps Embed API does need a key, and Google's Maps URLs for directions and search links do not.

Is embedding Google Maps free?

Yes for these methods. As of November 2026, Google's usage and billing page for the Maps Embed API says Maps Embed usage is available at no charge, with no per-second or per-day limits, and the Share and Embed a map option has no fee. Use of Google Maps is still subject to Google's terms.

How do I make an embedded Google Map responsive?

Give the iframe a width of 100 percent and a fixed height, for example width="100%" height="400". Choose the full-width option in this generator to get that code. The map then fits the width of its column on any screen.

Can I embed a map with several locations?

Not with a single place embed, which shows one location. Embed one map per location on separate location pages, or build a custom map with several pins in Google My Maps, a separate Google product with its own sharing and embed options.

Why is my embedded map not showing?

Check that the whole iframe was pasted, including the closing tag, and that it went into an HTML block rather than a text block, which shows code as text. Some sites block iframes with a content security policy, and some builders restrict custom code on certain plans. If the preview link works but the map does not show on your site, the cause is on the site side.

Does an embedded map help my local SEO?

Google does not list an embedded map as a ranking factor. It helps visitors, and visitors who find you easily are more likely to call or visit. For local search, keep your name, address and phone number consistent, add LocalBusiness schema, and claim and manage your Google Business Profile yourself.

All industries →  ·  Pricing  ·  All free tools

Your entire online presence, on one subscription.

All industries and more. AI website builder, managed hosting and AI search optimization. Free to start; paid plans from $9/month billed yearly ($19 month-to-month) include a free domain for the first year.