In this article:

Google Sheets Geocode: Everything you Need to Know in 2024

November 14, 2024

What is Geocode in Google Sheets?

Google sheets geocode

Geocodes are simply the coordinates of a location: the latitude and the longitude. In school, we have learned that the latitudes and longitudes are expressed with a direction. For example, the coordinates of the White House are:

38.8977° N, 77.0365° W

The difference is that, unlike in the typical latitude and longitude coordinates format, the directions in the geocode are indicated by the positive and negative signs. For the latitude, the negative sign means that the latitude is at the south; for the longitude, the negative sign means that the longitude is at the west. The geocode for the White House becomes

38.897957, -77.036560

How to Convert Address to Geocode in Google Sheets

1. Copy the Address to Geocode Converter by Lido.app

Get a copy of the Google Sheets address to geocode converter developed by Lido.app by clicking the link below:

Address to Geocode Converter by Lido.app

A new tab or window will load with the following prompt:

Address to geocode google sheets‍

Click Make a copy. A new tab or window will appear, and you will get a copy of the Address to Geocode Converter by Lido.app.

Address to geocode in google sheets

2. Input the Addresses in the Address Column

The sheet contains four columns. The first one is for the address to be converted, while the next three are for the latitude, longitude, and for the combined coordinates, also called geocode. Add the addresses in the first column, one address per row. 

google sheets address to geocode

3. Click CONVERT

Once you are done adding the addresses, click the CONVERT button.

As it is your first time running the script in the sheet, you will be asked to give permission for the script to run. Click Continue.

Convert Address to geocode in google sheets

A new window will load. First, you will be asked to choose the Google account that will run the script. Select the account in the list. Most of the time, only the active account will be listed. 

Choose the account to run the address to geocode converter in google sheets

You will next get the message that Google hasn’t verified the script. Click the small link labeled Advanced. Another link will appear below it. Click Go to addtogeo (unsafe).

Enable the script in the address to geocode converter‍

Next, a list of permissions needed by the script will be listed. 

Permissions needed by the address to geocode converter by Lido.app‍

Click Allow. The window will close.

The converter now works! Click the CONVERT button again. You can see each address being converted real-time.

how to convert address to geocode in google sheets‍

The sheet will also ignore the addresses that already have the coordinates in the other columns.

Interested? Click the link again below to copy the converter!

Address to Geocode Converter by Lido.app

Get Google Sheets productivity and automation tips delivered straight to your inbox
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
We'll email you 1-3 times a week — and never share your information.

Work less, automate more!

Use Lido to connect your spreadsheets to email, Slack, calendars, and more to automate data transfers and eliminate manual copying and pasting. View all use cases ->