Google Maps API Generator — Custom Markers, Places & Reviews

Set up a Google Map visually: choose a map style, add custom markers with info windows, turn on place search and show Google reviews. Preview it with your own API key, then copy ready-to-use code or paste it into Webflow.

Updated

This is a basic preview. Your map style, custom markers, search and reviews appear after you enter your own Google API key on the right. You can still set everything up and copy the code without one. Get a key from Google.

Turn these on in your Google Cloud project:

    Your data never leaves your computer. All processing happens 100% locally in your browser.

    How to use the Google Maps API Generator

    1. Set the location, zoom, map style and size.
    2. Add markers: give each one a color, a position and text for its info window.
    3. Turn on place search or Google reviews if you need them.
    4. Paste your API key to see the full preview, then copy the code or use Copy to Webflow.

    Getting a Google Maps API key

    1. Open the Google Cloud console and create a project with billing turned on.
    2. Enable the APIs this tool lists for your setup.
    3. Create an API key under Keys & Credentials.
    4. Restrict the key to your website’s address and to those APIs. A key in web code is public, so restrictions are what keep it safe.

    To use the live preview here, allow devpack.app/* as a website while you test, or use a separate test key.

    What it costs

    Google bills by usage and includes a free monthly allowance for each API. Reviews use a higher-priced Place Details request, so set a budget alert in Google Cloud. Check Google’s pricing page for current figures.

    About the generated code

    The search box and reviews use Google’s current Places API (New), because the older Places services aren’t available to new projects. Each marker can be a colored pin, dot, square or star, or your own image from a URL or an upload under 100 KB. Markers use google.maps.Marker so they work with JSON map styles. Google recommends Advanced Markers for new projects, but those require a Map ID and cloud-based styling, so this tool doesn’t generate them. Google’s terms ask you to show reviews with their attribution, and the generated code includes it.

    Just need a simple map without a key? Use the Google Maps Embed Generator. Related: Color Picker, CSS Button Styles.

    Also searched as: google maps custom marker, google maps javascript api example, custom google map, google maps styles, google reviews embed, google places api example, webflow google map.

    Tools that pair well with the Google Maps API Generator

    • Schema Markup Generator — Pick a schema type, fill in the form and copy ready-to-paste JSON-LD.
    • YouTube Embed Code Generator — Paste any YouTube link — a video, a Short or a playlist — and get responsive embed code with privacy-enhanced mode, start and end times, muted autoplay, loop and captions, or the lite “click to load” version that keeps your page fast.
    • Email Header Analyzer — Paste the raw headers of an email to see its whole journey: every server hop with the time it took, the SPF, DKIM and DMARC results, the originating IP, and warning signs like a mismatched Reply-To or Return-Path.
    • MIME Type Lookup — Search 200+ file extensions and MIME types — .webp, .woff2, .webmanifest, application/wasm … — or drop a file to detect its real type from its first bytes.

    Frequently asked questions

    Is my API key safe in this tool?
    The key stays in this browser tab for the preview. It isn’t saved, and it isn’t sent to devpack. It only goes to Google, as any Maps page does.
    Do I need an API key?
    Yes, for the Maps JavaScript API. Without a key, this page shows a basic location preview. For a simple map with no key, use the Google Maps Embed Generator.
    Why does the preview say the key is not authorized?
    Your key is probably restricted to your own website. Add devpack.app/* to its allowed websites while testing, or use a separate test key.
    How do I find a Place ID for reviews?
    Search for the business in Google’s Place ID finder and copy the ID, which usually starts with ChIJ.
    How many reviews can Google show?
    The Places API returns up to five reviews for a place, chosen by Google. You can’t request all reviews through this API.
    Can I paste the map into Webflow?
    Yes. Press Copy to Webflow and paste into the Designer. It arrives as an Embed element. Replace YOUR_API_KEY in the code unless you chose to include your key.
    Can I install Google Maps API Generator as a web app and use it offline?
    Yes. Google Maps API Generator is an installable web app (PWA) — installed from your browser, not downloaded from an app store. Click Install app at the top of this page in Chrome or Edge (Windows, macOS, Linux, ChromeOS) or on Android, use Share → Add to Home Screen on iPhone and iPad, or File → Add to Dock in Safari 17+ on a Mac. It then opens in its own window with its own icon, and because it runs entirely in your browser it keeps working offline. Firefox on desktop can’t install web apps. How installing works.

    Related tools