<!-- Import Map Pins from CSV or Google Sheets | Maps Docs -->
Page: https://spotthemes.com/docs/maps/pins-csv-google-sheets/

# Pins from a CSV file or a Google Sheet

Maps Pro adds pins in bulk from a CSV file or keeps them in sync with a Google Sheet. Only name, lat and lng are needed; the other columns add popup text, a link, a group, store address, opening hours, tags and phone. CSV import adds pins; a Google Sheet replaces all pins on every save and twice a day.

- The free plugin adds pins one by one in the builder.
- Rows without a valid latitude and longitude, or outside the chosen map, are skipped and counted.
- Google Sheets sync needs the world or US map, and a docs.google.com link.

Updated 29 Nov 2026 · Tested with Interactive Maps 1.0.0 · By SpotThemes

On this page

- [Columns](#columns)
- [Two ways in](#two-ways-in)
- [Example](#example)
- [Coordinates](#coordinates)
- [Related docs](#related-docs)

## Columns

Header names, any order, capitals and spaces ignored. Only `name`, `lat` and `lng` matter for the pin to exist.

| Column | Other names read | What goes in it |
| --- | --- | --- |
| `name` | `title` | Pin title. |
| `lat` | `latitude` | Latitude, -90 to 90, dot or comma decimal. Required. |
| `lng` | `lon`, `long`, `longitude` | Longitude, -180 to 180. Required. |
| `text` | `popup`, `description` | Popup text. Simple HTML allowed. |
| `link` | `url` | Link for the popup. |
| `group` |  | Group name (up to 30 characters). Two or more groups add filter pills. |
| `label` | `tag` | Small label above the title (up to 40), for example `Head office`. |
| `address` | `addr` | Store address line (up to 120). Store locator search uses it. |
| `open` | `opens` | Opening time, `HH:MM` 24 hour, for example `08:00`. |
| `close` | `closes` | Closing time, `HH:MM`, for example `23:00`. |
| `tags` |  | Comma separated (up to 80 characters), for example `Drive-thru`. Shown as filters in the store locator. |
| `phone` |  | Phone (up to 30). |
| `size` |  | Pin size 8 to 40 (Google Sheets only; CSV import uses 14). |

Rows without a valid latitude and longitude, or outside the chosen map, are skipped and counted.

## Two ways in

- **Import pins from CSV** (Map builder): choose a `.csv` file or paste the text, press "Use these rows". Pins are **added** to the map. Result: "N added, M skipped (no valid latitude and longitude, or outside this map)." Comma or tab separated. A file with no header row is read in the order name, lat, lng, text, link, group, label, address, open, close, tags, phone.
- **Google Sheet link** ("Google Sheet link (pins update twice a day)"): in Google Sheets, File, Share, Publish to web, CSV, and paste that link (a normal shared `/edit` link also works). The sheet **replaces all pins** on every save and twice a day. Needs the world or US map. Only `docs.google.com` links are accepted.

## Example

name,lat,lng,text,link,group,label,address,open,close,tags,phone Clifton,24.81,67.03,Block 5,,Stores,,Block 5 Karachi,08:00,23:00,Drive-thru, Berlin office,52.52001,13.40495,<b>Berlin</b><br>Team of 12,https://example.com/berlin/,Offices,Head office,,,,, Austin store,30.26715,-97.74306,Downtown store,https://example.com/austin/,Stores,,600 Congress Ave,09:00,21:00,"Parking, Pickup",+1 512 555 0100The first row is the example shown in the plugin's import box.

## Coordinates

- Copy latitude and longitude from Google Maps: right-click a place and click the numbers at the top of the menu.
- 5 decimals are enough (about 1 metre). The plugin keeps 5 decimals.
- Spain: the Canary Islands are drawn as an inset next to the mainland, so pins there land on the inset.

See it working on the [Interactive Maps page](https://spotthemes.com/maps/), or compare plans on [Pricing](https://spotthemes.com/pricing/).

## Related docs

- [Show a map: block, shortcode, Elementor and settings](https://spotthemes.com/docs/maps/show-a-map/) Show a map with the block, [spotthemes_map id="123"] or Elementor, plus every map, pin and store locator setting, free and Pro.
- [Map types, colored regions and heat maps](https://spotthemes.com/docs/maps/regions-and-heat-maps/) Every Interactive Maps map type (world free; US, UK, Europe, Canada and more in Pro), region ids, colored regions and how to paste heat map rows.
- [Troubleshooting](https://spotthemes.com/docs/maps/troubleshooting/) Every message Interactive Maps and Maps Pro show and what to do: place not found, outside this map, skipped CSV rows, Google Sheet errors, heat map rows, Pro key.

Was this missing something? Email [support@spotthemes.com](mailto:support@spotthemes.com)
