In this article:

Google Sheets Geocode: Everything you Need to Know in 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

Automate everything you track in spreadsheets with Lido
Learn more

Automate manual tasks with Lido

Save hours on repetitive and tedious work. Lido is a new spreadsheet that connects your spreadsheets, forms, PDFs, and email inbox.

Trigger
Action
Select trigger
When a cell value in Google Sheets changes
Check Google Sheets for today's date
When a new row is added to Google Sheets
On new Google Form submission
Send me a daily reminder
On new Typeform submission
When a cell value in database changes
Check database for today's date
When a new row is added in database
When a new HubSpot customer is created
Select action
ADDCALENDAREVENT
Creates a one- or multiple-day calendar event with optional attendees
ADDHUBSPOT
Adds an object to Hubspot
ADDSLACKCHANNEL
Create a Slack channel, and optionally add a topic or members
CALLURL
Makes any HTTP request
CREATEGOOGLEDOC
Replaces [@column_name] values in a Google Doc with the corresponding table row's values
CREATEPDF
Replaces [@column_name] values in a Google Doc with the corresponding table row's values, then export it as a PDF
FETCH
Makes any HTTP request and returns the response
INSERTROWS
Inserts given array below defined values in given worksheet
SENDGMAIL
Sends an email using your Google account
SENDOUTLOOK
Sends an email using your Microsoft Outlook account
SENDSLACK
Sends a Slack message
SENDSMS
Sends an SMS message using your Twilio account
UPDATECELL
Updates cells with given values
UPDATEHUBSPOT
Updates a property of a Hubspot object
Trigger is required
Action is required
Get started