Zahid Awais Get a free audit

Free Google Maps directions link generator

Type your business name or address and get a Google Maps directions link, or a search link to your listing, ready to paste on your site.

By Zahid Awais · Local SEO tools · Free, private, no sign-up

Google Maps Directions Link Generator: what it does and an example result

The free Google Maps directions link generator builds a link that opens Google Maps with the route to your business, or a search link that opens your place. It follows Google's documented Maps URLs format and runs in your browser.

Quick answer

A Google Maps directions link is a URL in the form https://www.google.com/maps/dir/?api=1 followed by a destination, and optionally an origin, a travel mode and a place ID. It opens directions in the Maps app or browser. If you leave out the origin, Google starts from the visitor's location when it is available.

What is a Google Maps directions link?

A Google Maps directions link is a web address that opens Google Maps with a route already set to a destination you choose. Google documents the format as Maps URLs: a directions link starts with https://www.google.com/maps/dir/?api=1, and a search link starts with https://www.google.com/maps/search/?api=1. Google says the api=1 parameter "is required in every request". The links work on phones and computers and need no API key.

Businesses put these links on contact pages, booking confirmations, emails and social profiles, so a customer gets a route in one tap. A search link is better when you want people to see your listing first, with photos, hours and reviews. If you want a map inside the page instead, use the Google Maps embed generator.

How do you use the Google Maps Directions Link Generator?

How to use the Google Maps Directions Link Generator: enter details, see the result and copy it
Real screenshot of the Google Maps Directions Link Generator with the example input from this page.
  1. Choose Directions to a place for a route, or Search or place link to open your listing.
  2. Type your business name and address the way people would search for it, for example Example Dental Clinic, 1 Main Street, Springfield.
  3. Optional: paste your place ID so Google opens exactly your listing.
  4. For directions, add a fixed starting point only if every visitor starts there, such as a station, then choose a travel mode.
  5. Copy the link or the HTML code and click Test in Google Maps to check that it opens the right place.

Why add a place ID to a Maps link?

A place ID ties the link to one exact listing, so Google Maps does not have to guess between businesses with similar names. Google defines it as "a textual identifier that uniquely identifies a place" and offers a Place ID finder. A place ID never works alone: a search link must still include query, and destination_place_id must come with destination. Google also says place IDs "may change over time" and recommends refreshing IDs older than 12 months.

Should a directions link include a starting point?

Usually not. If the origin is left out, Google Maps uses the most relevant starting location, such as the device location, when it is available, which is what most visitors want. Add an origin only when everyone starts from the same place, such as directions from a train station or a hotel to a venue. Without an origin and without location access, Maps may show a blank form where the visitor types a start.

How should addresses be encoded in a Maps URL?

Every value must be URL encoded. Google's documentation says to encode spaces as %20 or replace them with a plus sign, commas as %2C and the pipe character as %7C, and gives the example City+Hall%2C+New+York%2C+NY. Each Maps URL is limited to 2,048 characters. This tool encodes the text for you, uses plus signs for spaces and warns you if the link gets too long.

Quick reference: Maps URLs parameters

ParameterUsed inWhat it does
api=1All linksRequired, without it the parameters are ignored
destinationDirectionsEnd point as an address, name or coordinates
destination_place_idDirectionsExact place, needs destination too
originDirectionsStart point, optional
travelmodeDirectionsdriving, walking, bicycling, two-wheeler or transit
dir_action=navigateDirectionsStarts navigation or a route preview where available
query and query_place_idSearchText to search, with an optional exact place ID

Worked example

Example

Example: a made-up clinic, Example Dental Clinic, 1 Main Street, Springfield. With the default settings the tool builds https://www.google.com/maps/dir/?api=1&destination=Example+Dental+Clinic%2C+1+Main+Street%2C+Springfield&travelmode=driving, which has 3 parameters, 123 characters and 0 warnings. Adding the start point "Gate 3 & 4 | North Car Park" encodes the ampersand as %26 and the pipe as %7C. Typing "hello world" as the place ID gives a warning and the ID is left out of the link.

Learn more

Frequently asked questions

Do I need an API key for Maps URLs?

No. Google's documentation says: "You don't need a Google API key to use Maps URLs." The link simply opens Google Maps. Keys are only needed for embedded maps or other Maps Platform services that run on your own pages.

Will the link open the Google Maps app on a phone?

Yes, if the app is installed. Google describes Maps URLs as universal and cross platform: on Android and iOS the link opens the Maps app when it is installed, and Google Maps in a browser when it is not. Test it on both before printing.

Where do I find my place ID?

Search for your business in Google's Place ID finder on the Maps Platform documentation and copy the ID shown for it. Google recommends refreshing place IDs that are more than 12 months old, so check yours about once a year.

Can I add stops along the route?

Maps URLs support waypoints separated by the pipe character, with up to three on mobile browsers and up to nine elsewhere, according to Google. This tool focuses on a single destination, which is what most business websites need.

Can I track clicks on a directions link?

Yes. If Google Analytics 4 enhanced measurement is on, a click on a link to another website is recorded as a click event with the link URL. Clicks on the directions button inside your Business Profile show in its own performance report.

Is my data sent anywhere?

No. The generator builds the link with JavaScript in your browser, and nothing you type is uploaded or stored. Only the Test in Google Maps button opens Google Maps, and only when you click it.

Sources

Checked 23 Oct 2026. Facts checked against these official pages. Read how I check facts in my editorial policy.

Related free tools

All free tools

Local Citation Tracker

A local citation tracker is a tool or spreadsheet for recording business listings on directories, maps and…

Want a full audit instead?

Send your website and I will check it for you, free.

Get my free audit
Chat on WhatsApp
Free updates

Get new tools, guides and coupons first

One short email when something new goes live: articles, free SEO tools, package updates, discounts and price alerts. No spam, unsubscribe in one click.