Guides
for everything Geocodio
Guides
for everything Geocodio
Spreadsheet formatting
In order to ensure your spreadsheet is geocoded properly, you need to check three things before uploading:
Whether it has headers (such as "address" or "street" / "city" and so forth),
Formatting the addresses or coordinates consistently in either single column or multiple-column format, and
Including the country (if geocoding Canadian, Mexican, or UK addresses).
You can upload .xls, .xlsx, .csv, .tsv, and .zip files for geocoding. Download a sample list: .XLSX (shows all acceptable formats), .CSV (shows multiple-column format only).
When you upload a file, we only add columns. We won't delete any information from your spreadsheet. You can see an example geocoded file here.
Data quality
Your addresses do not need to be complete. They just need to be formatted the same way (i.e. either single column or multiple column) with any of the following combinations of data:
Street address, city, state/province, ZIP/postal code + country
Street address, ZIP/postal code + country
Street address, city, state/province + country
city, state/province + country
ZIP/postal code + country
Latitude/longitude
Country abbreviations
- Canada: you must give 'Canada' exactly, no abbreviations.
- Mexico: 'Mexico' or 'MX'
- United Kingdom: ‘UK’, ’GB’, ’United Kingdom’, 'England', 'Scotland', 'Wales', 'Northern Ireland'
- United States: 'US', 'USA', 'United States', or 'United States of America'
If no country is given, US will be assumed.
ZIP+4 Input
Geocodio can only accept five-digit ZIP codes as an input. If ZIP+4 is provided as an input, we will use the first five digits instead.
Spreadsheet Geocoding Formats
If you do not have data for a certain field (like postal code), you can just leave that blank.
Multiple-Column Format with Addresses
| 1785 Military rd #300 | City | State/Province | Postal Code | Country |
|---|---|---|---|---|
| 1785 Military rd | Niagara Falls | NY | 14304 | |
| 323 Yonge St | Toronto | Ontario | Canada | |
| Durango 200, Roma Nte. | 06700 | Mexico | ||
| 1432 Mackay street | H3G 2H7 | Canada | ||
| 146 south Main street | 01949 | |||
| 3211 wilson boulevard | arlington | va | ||
| 8421 NY-89 | Interlaken | NY | 14847 | United States |
| 29042 | ||||
| 462 Cuauhtemoc | Ciudad de México | CMX | 03020 | Mexico |
| 894 Independencia Norte | Guadalajara | Jalisco | 44340 | Mexico |
| 3959 Don Bosco Vallarta | Zapopan | Jalisco | 45049 | Mexico |
| 284 Leigh Rd | Wigan | England | ||
| 6 Charlotte Square | EH2 4DR | Scotland | ||
| Cardiff City Stadium, Leckwith Road | Cardiff | Wales | ||
| First Floor, 85 Great Portland Street | London | UK | ||
| BT57 8SU | Northern Ireland |
Single-Column Format with Addresses
| Address |
|---|
| 323 Yonge St., Toronto, ON M5B 1R7, Canada |
| Durango 200, Roma Nte., Cuauhtémoc, 06700 Ciudad de México, CDMX, Mexico |
| 1432 Mackay St, H3G 2H7, Canada |
| 1785 Military Road, Niagara Falls, NY 14304 |
| 3211 Wilson boulevard, arlington va |
| 8421 NY-89, 14847 |
| H3G 2H7, Canada |
| 29042 |
| 462 Cuauhtemoc, 03020 Ciudad de México, Mexico |
| 894 Independencia Norte, 44340 Guadalajara, Jal., Mexico |
| 284 Leigh Rd Wigan UK |
| 6 Charlotte Square EH2 4DR Scotland |
| BT57 8SU Northern Ireland |
| Cardiff City Stadium, Leckwith Road Cardiff Wales |
| First Floor, 85 Great Portland Street London England |
Multiple-Column Format with Latitude/Longitude Coordinates
Note: your columns must be in Latitude | Longitude order.
| Latitude | Longitude |
|---|---|
| 43.65687 | -79.380951 |
| 38.885496990291685 | -77.09966660383554 |
| 51.473249 | -3.211005 |
Single-Column Format with Latitude/Longitude Coordinates
Note: your columns must be in Latitude | Longitude order.
| Latitude/Longitude |
|---|
| 43.65687,-79.380951 |
| 38.885496990291685, -77.09966660383554 |
| 51.473249,-3.211005 |
1. Make sure your spreadsheet has headers
You can name the header columns anything you like
During the upload process, you'll get to choose which columns contain the address components.
| Street | City | State/Province | Postal code | Country |
|---|
| Address |
|---|
| Latitude | Longitude |
|---|
| Latitude/Longitude |
|---|
2. Consistently format the addresses in one column or multiple columns
You can put the address in a single column or split the address into separate columns
The street number and name must be in the same column
Addresses do not need to be complete; see here for a list of acceptable addresses
If your spreadsheet includes addresses in both formats, you will need to split them into different lists, or concatenate the multi-column addresses into a single column prior to uploading
If you choose to include ZIP Codes, use standard ZIP format instead of ZIP+4. We do not support ZIP+4 inputs.
Acceptable format: multiple-column Address data (street, city, state, ZIP) are split into multiple columns, and all addresses are formatted in the same way.
| Street | City | State/Province | Postal Code | Country |
|---|---|---|---|---|
| 1785 Military Rd | Niagara Falls | NY | 14304 | |
| 323 Yonge St | Toronto | Ontario | Canada | |
| 740 S Meadow St | 14850 | |||
| 2204 W 12th St | Erie | PA | ||
| Durango 200, Roma Nte., | Ciudad de México | CDMX | 06700 | Mexico |
| First Floor, 85 Great Portland Street | London | UK |
Acceptable format: single-column All of the address data is in a single cell, and all addresses are formatted the same way.
| Address |
|---|
| 323 Yonge St., Toronto, ON M5B 1R7, Canada |
| 1785 Military Road, Niagara Falls, NY 14304 |
| Durango 200, Roma Nte., Cuauhtémoc, 06700 Ciudad de México, CDMX, Mexico |
| 6 Charlotte Square EH2 4DR Scotland |
NOT acceptable: Mixed format Some addresses are formatted in a single cell, and some are spread across multiple cells. This would not process correctly. If your spreadsheet looks like this, you should split it into two spreadsheets. You can do this by filtering for addresses that have a blank second column and copy/pasting them into another spreadsheet.
| Address | |||
|---|---|---|---|
| 435 S Van Buren St, Shipshewana, IN 46565 | |||
| 1785 Military Rd | Niagara Falls | NY | 14304 |
| 6 Charlotte Square EH2 4DR Scotland |
3. If your spreadsheet includes addresses in Canada, Mexico, or UK, include a country column
With Canadian, Mexican, and UK addresses, a Country column must be present
Canada: "Canada" exactly
Mexico: “MX” or "Mexico"
United Kingdom: UK, United Kingdom, GB, Scotland, England, Wales, or Northern Ireland
If no country is given, USA will be assumed
Canada: For licensing reasons, note that you may input postal codes, but only partial postal codes will be returned in the results as the full postal codes are proprietary to Canada Post. If you include the full postal codes in your input, and the FSA (first three characters) match our internal data, the full postal code will be returned in the results for convenience. However, that postal code represents your original input, and has not been fully validated.
For Mexican addresses, the street number should be placed before the street name (e.g. "462 Cuauhtemoc" rather than "Cuauhtemoc 462")
Northern Ireland: Geocoding is only available at the postcode-level at this time.
| Street | City | State | Postal Code | Country |
|---|---|---|---|---|
| 323 Yonge St | Toronto | Ontario | Canada | |
| 100 City Centre Dr | Mississauga | ON | Canada | |
| 462 Cuauhtemoc | Ciudad de México | CMX | 03020 | Mexico |
| 894 Independencia Norte | Guadalajara | Jalisco | 44340 | Mexico |
| 6 Charlotte Square | Edinburgh | EH2 4DR | Scotland | |
| First Floor, 85 Great Portland Street | London | UK |
Uploading Your Spreadsheet
You can upload your spreadsheet using our Spreadsheet Geocoding tool:
You can also upload your spreadsheet directly through our API using our Lists endpoints. These endpoints allow you to create, check the status of, and delete spreadsheets programmatically.
You can also geocode spreadsheets via API. The Lists API requires some additional configuration, so please see our documentation first: