Google Earth lets you bring in your own geospatial data to view, analyze, and share.
For cloud-based map projects, you can import the following file formats from your device or Google Drive:
- KML and KMZ (
.kml,.kmz) - GeoJSON (
.geojson,.json) - Shapefile (
.ziparchive containing.shp,.shx,.dbf, and.prjfiles) - CSV (
.csv) (Experimental) - Google Sheets (from Google Drive) (Experimental)
Depending on the size of your dataset and how you want to use it, you can import data in three ways:
- As map features: Best for datasets that you want to edit and organize (up to 10,000 features and 250,000 vertices per import). Features are added directly to your map project as individual editable placemarks, paths, and polygons, and don't count toward your Google Earth storage quota. If a file exceeds 10,000 features or 250,000 vertices, Google Earth automatically retries the import as a data layer instead.
- As data layers: Best for large datasets (more than 10,000 features or 250,000 vertices). Data layers are optimized for rendering performance and let you filter and style the layer by column values, but individual features are read-only. Data layers count toward your Google Earth storage quota.
- As local KML files: Open
.kmlor.kmzfiles stored on your device. These files aren't part of a cloud-based map project and are only visible on the device where they were opened.
For more information about the differences between layers, map features, and local files, see Learn about Google Earth projects and local KML files and Manage imported data layers and storage.
If you are migrating data from Google Earth Pro on desktop to Google Earth on web, see Migrate data from Google Earth Pro on Desktop to Google Earth Web.
Computer
Import as map features
Importing as map features converts your file into individual placemarks, paths, and polygons that you can edit, organize into folders, and customize in your project (up to 10,000 features and 250,000 vertices per import).
To import a file (.kml, .kmz, .geojson, .json, .zip Shapefile,
.csv, or Google Sheets) as map features:
- On your computer, open Google Earth and ensure you are signed in.
- Start an import from the home screen or from an open project:
- Into a new project (from the home screen): Click New Import file, then choose Upload from device or Import from Drive.
- Into an existing project: Open your project, click File Import file (or click + Add in the left panel), then choose Upload from device or Import from Drive.
- Select the file that you want to import.
- In the How do you want to add this data? dialog, select Map features and click Import.
How imported map features are organized:
- Folder organization: GeoJSON, Shapefile, CSV, and Google Sheets imports are automatically grouped into a new folder named after the file. KML and KMZ files preserve their own folder hierarchy when imported into a new project, or are grouped into a new folder when imported into an existing project. If an existing folder is selected when you start the import, the imported data is placed inside that folder.
- Feature names and attributes: Because GeoJSON, Shapefile, CSV, and Google Sheets files don't define a standard KML name tag, individual items inside the imported folder appear in the left panel as Untitled placemark, Untitled path, or Untitled polygon. Click any feature on the map to view all of its imported table columns and attributes in the floating info card, or click Edit in the right inspector panel to give the feature a custom title, icon, or color.
- Automatic fallback for large files: If your file exceeds 10,000 features or 250,000 vertices, Google Earth automatically retries importing the file as a read-only data layer instead. When this fallback occurs, a notification appears on your screen.
To go to the home screen, click Earth
.
Import as a data layer
Importing as a data layer is best for visualizing, filtering, and styling large datasets (more than 10,000 features or 250,000 vertices) by column values.
To import a file (.kml, .kmz, .geojson, .json, .zip Shapefile,
.csv, or Google Sheets) as a data layer:
- On your computer, open Google Earth and ensure you are signed in.
- Start an import from the home screen or from an open project:
- Into a new project (from the home screen): Click New Import file, then choose Upload from device or Import from Drive.
- Into an existing project: Open your project, click File Import file (or click + Add in the left panel), then choose Upload from device or Import from Drive.
- Select the file that you want to import.
- In the How do you want to add this data? dialog, select Data layer and click Import.
- The file will be uploaded and processed. You can track the progress in the import widget. Large files may take some time.
Once complete, the layer will be added to your open project or a new project if none was open.
Imported data layers are subject to storage quotas based on your Google Earth plan. For more information, see Manage imported data layers and storage.
Import CSV and Google Sheets (Experimental)
Whether you import a CSV or Google Sheets file as map features or as a data layer, the following table describes supported location formatting.
| Formatting type | Description | Example |
|---|---|---|
| Latitude and longitude (separate columns) | Two separate columns containing numeric coordinate values in
signed decimal degrees within WGS84 bounds (latitude -90.0 to 90.0,
longitude -180.0 to 180.0). Coordinates must not include degree
symbols (°) or cardinal direction letters
(N, S, E, W).
Negative values represent South latitude and West longitude. |
|
| Well-Known Text (WKT) | Columns containing standard WKT geometries (for example,
POINT, POLYGON, LINESTRING).
Coordinates must be in WGS84 decimal degrees (longitude -180.0 to
180.0, latitude -90.0 to 90.0) using standard Longitude
Latitude order (for example, POINT(-122.084
37.422)). WKT keywords and headers are case-insensitive. |
|
| Address column | Columns containing full street addresses. Google Earth recognizes single-column street addresses and geocodes them globally. | |
Additional non-spatial columns (such as names, dates, descriptions, categories, or numeric metrics) are automatically preserved as feature attributes and displayed in data tables and floating info cards.
Error handling and reporting import issues
If an individual row contains invalid coordinates or cannot be resolved by the geocoder, Google Earth still imports all other valid rows. If no geometry can be auto-detected in the file, an error guide dialog appears with guidance on checking your column formats.
If your file fails to import or completes with unsupported elements, click the underlined Failed or Completed status link in the import status tracker in the left-hand panel to open the Fixing issues with imported files dialog.
To report
a file import problem to the Google Earth team:
- From the error guide dialog: Click Report import issue at the bottom of the Fixing issues with imported files dialog to open the Google issue tracker in a new tab with your platform, Google Earth version, and diagnostic error codes automatically filled in. You may be required to sign in again with your Google Account.
- From the import status tracker: Click the feedback Report import issue icon in the header of the import status tracker while an import is running or after it finishes (including when a file imports with zero errors but does not appear as expected on the map).
If you've opted in to receiving notifications, you will receive updates if the report has any actions taken by the team.
Import a My Maps file into a new project
You can open a map created in Google My Maps directly from Google Drive and view it within the Google Earth interface.
To open and convert a My Maps file:
- On your computer, open Google Earth.
- Click New > Open My Maps from Drive.
- Locate your My Maps file in the Google Drive window, select it, and click
Insert.
- The My Maps file will now appear in Google Earth in view-only mode.
- To make the data editable, click Save as map project in the top toolbar (available on web only).
- You will be prompted to optionally rename the project title and update your sharing permissions. Once finalized, click OK.
Your map is now saved as a new, editable Google Earth map project. The original My Maps file remains untouched in your Google Drive.
Open local KML files in Google Earth
You can open a KML or KMZ file (without feature limits) from an older version of Google Earth as a local KML file.
To open local KML files in Google Earth:
- On your computer, open Google Earth.
- At the bottom left on the home screen, click Open local KML editor.
- Click Open KML from device.
- Select the KML file you want to open.
After you select the file you want to open, any changes must be explicitly saved or downloaded back to your computer's file system to avoid losing work. Autosave is supported only on Chromium-based desktop browsers.
To go to the home screen, click Earth
.
Import other file formats
Google Earth for web and mobile supports direct import of KML (.kml), KMZ
(.kmz), GeoJSON (.geojson, .json), Shapefile (.zip), CSV (.csv),
and Google Sheets as either map
features or data layers.
For other vector or raster formats (for example, GPX), convert these files to KML, GeoJSON, CSV, or Shapefile before importing them into Google Earth.
Learn how to use KML features.
Migrate data from Google Earth Pro on Desktop to Google Earth Web
If you are moving from Google Earth Pro (Desktop) to the web version, you can bring your "My Places" data with you.
Prepare your data for migration
Before importing, you must export your data from Google Earth Pro:
- Open Google Earth Pro on your computer.
- In the "Places" panel on the left, right-click on My Places or a specific folder.
- Select Save Place As....
- Save the file as a
.kmzor.kmlto your computer.
If you cannot open Google Earth Pro or need to find the raw source files
(typically named myplaces.kml), they are stored in the following directories.
Windows
Copy and paste the following path into your File Explorer address bar:
%USERPROFILE%\AppData\Local\Google\GoogleEarth.
macOS
Open Finder, press Command + Shift + G, and paste this path:
~/Library/Application Support/Google Earth.
What to look for:
myplaces.kml: This is your current, live data.myplaces.backup.kml: A backup created the last time you launched the app.myplaces.kml.tmp: A temporary file created during a session.
Import capabilities and limitations
When migrating "My Places," your choice of import method depends on the complexity of your data. For a detailed breakdown of supported KML elements, refer to the Google Earth KML Import Guide.
- Feature Counts: If you intend to import your data as map features (allowing you to edit icons, lines, and shapes), there is a limit of 10,000 features and 250,000 vertices per import (and up to 20,000 map features per project). If an import exceeds 10,000 features or 250,000 vertices, Google Earth automatically retries the import as a read-only data layer instead.
- Large "My Places" Files: For Google Earth Pro on desktop users that have
"My Places" files that exceed 10,000 features or contain several megabytes
of data we recommend you:
- Split your data: Divide your "My Places" into smaller, thematic
folders in Earth Pro and save each as a separate
.kmzfile. - Import as Data Layers: If you have tens of thousands of points and don't need to edit them individually, use the Data layer option.
- Split your data: Divide your "My Places" into smaller, thematic
folders in Earth Pro and save each as a separate
- Copy and Paste: You can also copy individual features or folders from Google Earth Pro and paste them directly into a Google Earth project. Simply select the feature in the desktop version, right-click to Copy (Ctrl + C or Cmd + C), go to your Google Earth browser tab, and Paste (Ctrl + V or Cmd + V) while a project is open.
Other viewing options
For temporary, local-only access, you can also open your KML files directly in Google Earth on web through the local KML editor experience.
To see data from multiple projects on the map at once, you can use the reference projects feature.
Android
Import a file into an existing Earth project
You can import a KML (.kml), KMZ (.kmz), GeoJSON
(.geojson, .json), Shapefile (.zip), CSV
(.csv) (Experimental), or Google Sheets (Experimental) file into an
existing Google Earth project as editable map features (up to 10,000 features
and 250,000 vertices per import) or as a read-only data layer. To import the
file into an existing Google Earth project:
- On your Android phone or tablet, open the Google Earth app
.
- In the home screen, tap an existing project.
- At the bottom, tap More Import file to project.
- To add a file from Google Drive, tap Import from Drive.
- To add a file directly from your device, tap Upload from device.
- Select the file that you want to import, choose Map features or Data layer, and tap Import.
- To return to the map and open the file, tap Back.
Import a file into a new project
You can import a KML, KMZ, GeoJSON, Shapefile (.zip), CSV
(Experimental), or Google Sheets (Experimental) file into a new Google Earth
project. To import the file into a new project:
- On your Android phone or tablet, open the Google Earth app
.
- At the bottom, tap New.
- To add a file from Google Drive, tap Import file to project from Drive.
- To add a file directly from your device, tap Import file to project from device.
- Select the file that you want to import, choose Map features or Data layer, and tap Import.
- To return to the map and open the file, tap Back.
Open local KML files in Google Earth
You can open a simple KML or KMZ file from an older version of Google Earth as a local KML file. To open local KML files in Google Earth:
- On your Android phone or tablet, open the Google Earth app
.
- Select the Local tab on the home screen.
- At the bottom right, tap New Local KML editor.
- Select Open KML/Z from device.
- To return to the map and open the file, tap Back.
After you select the file you want to open, it will automatically be stored in your local KML files tab on the home screen.
iOS
Import a file into an existing Earth project
You can import a KML (.kml), KMZ (.kmz), GeoJSON
(.geojson, .json), Shapefile (.zip), CSV
(.csv) (Experimental), or Google Sheets (Experimental) file into an
existing Google Earth project as editable map features (up to 10,000 features
and 250,000 vertices per import) or as a read-only data layer. To import the
file into an existing Google Earth project:
- On your iPhone or iPad, open the Google Earth app
.
- In the home screen, tap an existing project.
- At the bottom, tap More Import file to project.
- To add a file from Google Drive, tap Import from Drive.
- To add a file directly from your device, tap Upload from device.
- Select the file that you want to import, choose Map features or Data layer, and tap Import.
- To return to the map and open the file, tap Back.
Import a file into a new project
You can import a KML, KMZ, GeoJSON, Shapefile (.zip), CSV
(Experimental), or Google Sheets (Experimental) file into a new Google Earth
project. To import the file into a new project:
- On your iPhone or iPad, open the Google Earth app
.
- At the bottom, tap New.
- To add a file from Google Drive, tap Import file to project from Drive.
- To add a file directly from your device, tap Import file to project from device.
- Select the file that you want to import, choose Map features or Data layer, and tap Import.
- To return to the map and open the file, tap Back.
Open local KML files in Google Earth
You can open a simple KML or KMZ file from an older version of Google Earth as a local KML file. To open local KML files in Google Earth:
- On your iPhone or iPad, open the Google Earth app
.
- Select the Local tab on the home screen.
- At the bottom right, tap New Local KML editor.
- Select Open KML/Z from device.
- To return to the map and open the file, tap Back.
After you select the file you want to open, it will automatically be stored in your local KML files tab on the home screen.