How-to
Store Locations CSV Format
Almost every store locator, and Google My Maps, can import locations from a CSV file. Most failed imports are data problems, not app problems. Prepare the file once, correctly, and it works in any tool.
Every app names its columns differently. The columns below are the common set; check the import screen of the tool you use and rename headers to match.
The columns to include
| Column | Required? | Notes |
|---|---|---|
name |
Yes | Shop or stockist name |
address1 |
Yes | Street and number |
address2 |
No | Unit, floor, suite |
city |
Yes | |
region |
Where it exists | State, province or county |
postal_code |
Yes | Keep as text (see mistakes) |
country |
Yes | Two-letter ISO code (US, GB, DE, VN) is safest |
phone |
No | International format with + |
email |
No | |
website |
No | Full URL with https:// |
hours |
No | One consistent format, e.g. Mon-Fri 09:00-18:00; Sat 10:00-16:00 |
tags |
No | Used for filters: flagship, stockist, pickup |
lat, lng |
Optional | Fill only when geocoding gets it wrong; decimal degrees |
A copy-paste template
name,address1,address2,city,region,postal_code,country,phone,website,hours,tags,lat,lng
Main Street Store,12 Main Street,,Springfield,IL,62701,US,+1 555 123 4567,https://example.com/main,Mon-Sat 10:00-18:00,flagship,,
Harbour Stockist,4 Quay Road,Unit 2,Bristol,,BS1 4RB,GB,+44 117 000 0000,,Tue-Sun 09:30-17:30,stockist,,
Eight mistakes that break imports
- Postal codes turned into numbers. Excel drops the leading zero (UK, EU, US northeast codes). Format the column as Text before typing, and check after saving.
- The wrong encoding. Save as CSV UTF-8, otherwise accented names (Zürich, São Paulo, Hà Nội) turn into symbols.
- Commas inside fields without quotes. An address like
Unit 4, 12 Main Stmust be in quotes or split into columns. - Mixed country names. “USA”, “United States” and “U.S.” in one file confuse geocoders. Use ISO codes.
- Missing city or postal code. A street alone can geocode to the wrong town.
- Duplicate rows. The same shop twice shows two pins.
- Several addresses in one cell. One row per location.
- Phone or hours with odd characters copied from a website: paste as plain text.
Check before you import
- Open the CSV in a plain text editor to confirm the delimiter and quotes are right.
- Import five rows first and look at the pins. If the first five are in the right place, import the rest.
- After the import, scan the map for pins in the sea or the wrong country; those are failed geocodes. Fix the address, or add
latandlng. - Keep the CSV as your master copy. A shop that opens or closes is a one-line edit and a re-import.
Import Store Locations from Google Sheets
A spreadsheet is the easiest place for a person who is not a developer to keep a list of stores. The trouble starts when you export it. This page is a setup that keeps the data clean from sheet to locator.
One sheet, one row per location
Use the columns from store locations CSV format: at least name, street, city, region, postcode, country and phone. Add optional columns for tags, website and hours. Put the header in row 1, freeze it, and use one tab for the export.
Protect the data
- Leading zeros. A postcode like 02134 turns into 2134 if the column is a number. Format the postcode column as plain text before you type or paste.
- Spaces. Use
=TRIM(A2)in a helper column, or a Find and replace, to remove stray spaces that make “London ” and “London” different. - Country. Use one style, for example the full name or the two-letter code, not both.
- Phone numbers as text with the country code, to avoid a plus sign being read as a formula.
- Duplicates. Check with a formula or Data cleanup so one shop does not appear twice.
Add simple checks
- Data validation on the country and tag columns, with a drop-down list.
- Conditional formatting to highlight a blank postcode or city.
- A “ready” column set to yes only when the row has been checked, and export only those rows with a filter.
Export
- Filter to ready rows.
- Choose File, Download, Comma-separated values (.csv). This uses UTF-8, which keeps accented names intact.
- Open the CSV in a text editor once. Look at the first lines: the header should match what the locator asks for and the postcodes should keep their zeros.
- Import it into your locator. A good importer tells you which rows failed and why; fix them in the sheet and import again, rather than patching the CSV.
Make the sheet the single source
Decide that the sheet is the only place you edit. If you edit in the locator’s admin, the next import will overwrite it or, worse, create duplicates. Put one person in charge, and add a “last checked” date per row; review rows older than a year. For opening hours see opening hours on a store locator.
Keep short-lived entries apart
Markets and pop-ups end; shops do not. Keep events on their own tab and re-import them often: store locator for pop-up shops and events.
Coordinates
If your locator needs latitude and longitude, add two numeric columns and fill them in with a geocoding step: how to geocode store addresses. Do not paste coordinates from a source whose terms forbid storing them.
Once the file is clean, see how to add a store locator page in Shopify.
See also: Store Locator UX Checklist: 15 Checks