How to open a GPX file in Google Earth
Google Earth reads KML and KMZ, not GPX. Convert the GPX to KMZ in your browser at viewmygpx, then import at earth.google.com/web/ via Projects → New Project → Import KML file from computer. Earth drapes the route over its digital elevation model — climbs and valleys render in 3D against real terrain, which is the visualization you can't get from a 2D map.
Try it — drop a GPX file
The viewer below runs in your browser. Drop a .gpx, then click Download as KMZ from the action row, and open Earth Web in a new tab to import.
Drop your GPX file here
or browse to choose
Parsed locally · never uploaded
Steps
- Open viewmygpx and drop the GPX file onto the viewer. Visit viewmygpx.com and drag the .gpx in. Verify the route looks correct on the 2D map first — Earth's 3D rendering will reflect the same line.
- Click Download as KMZ to convert. The KMZ produces a single zipped KML file containing the route polyline and any waypoints. The conversion runs entirely in your browser.
- Open earth.google.com/web/ in a new tab. Sign in with a Google account if you want to save the project; anonymous viewing also works.
- Click the Projects icon in the left sidebar. The icon looks like a folder. Then click New Project and choose Import KML file from computer.
- Select the downloaded .kmz file. Earth processes the file and the route appears in the project tree. Click the route name to fly the camera to it.
- Tilt to 3D. Hold Shift and drag the view to tilt the camera off vertical. The route now drapes over the terrain — climbs, valleys, and alpine relief render in three dimensions.
What Earth shows that other Google products don't
Google has three products that read the same KMZ from viewmygpx, and each is useful for a different purpose. Earth's distinguishing capability is 3D terrain rendering.
- Climbs and valleys in profile. A flat 2D map hides what 3D shows: a 1,000 m climb up a single mountainside versus a 1,000 m climb spread over rolling hills, both with the same total elevation gain, look identical in 2D and completely different in 3D.
- Surrounding context. The mountainsides on either side of the route, the river you're paralleling, the ridge you're crossing — all visible in Earth's perspective view in a way they aren't on a topographic map.
- Aerial imagery overlay. Earth's base layer is high-resolution satellite/aerial imagery. The route renders against actual ground texture — useful for spotting landmarks visible from the air (parking lots, trail junctions, alpine cabins).
- Camera tours. Earth Pro's movie maker records a flythrough of the route as a video. Useful for briefings, route shares, or post-trip review where 3D perspective is more communicative than a static map.
Earth Web vs Earth Pro
Both products still exist, both read KMZ from viewmygpx, and the choice mostly comes down to how heavy a workflow you need.
- Earth Web (earth.google.com/web/) runs in the browser with no install. Imports KMZ via Projects → New Project → Import KML file from computer. Saves projects to Google Drive automatically. Best for one-off route visualization or quick screenshots.
- Earth Pro (downloadable desktop app, free since 2015). Imports KMZ via File → Open. Adds movie-recording, ruler measurements, polygon area calculation, historical imagery, and KML editing. Best for detailed analysis, presentations, or recorded flythroughs.
For most personal use, Earth Web is plenty. For media production or detailed terrain analysis, Earth Pro is worth the install.
Common pitfalls
Route line floats in the air above the terrain
The KMZ's altitudeMode is set to absolute (use the GPX's elevation values literally), and your file's elevation differs from Google's DEM. The fix: edit the KML inside the KMZ to set <altitudeMode>clampToGround</altitudeMode>, so Earth drapes the route on the terrain rather than floating it. viewmygpx's converter writes clampToGround by default; if you got a floating route, the converter that produced your KMZ wasn't viewmygpx, or the file was hand-edited.
Earth shows the route but no waypoints
Waypoint icons may be hidden by zoom level. Zoom in until individual waypoints become visible. If they're still missing, check the project tree — the waypoints layer may have been collapsed or hidden. Click the eye icon next to it to toggle visibility.
Project doesn't save
Earth Web saves to Google Drive; you have to be signed in. If you imported anonymously and the project disappears on reload, sign in and re-import. Earth Pro saves locally and is signed-in independent.
Performance lag with very large KMZ
A multi-day GPX with 50,000+ trackpoints produces a KMZ that Earth Web can struggle with. Decimate the trackpoints in the viewmygpx editor using elevation smoothing (which side-effect simplifies the polyline) before re-converting, or split the file into per-day segments for separate imports.
Alternatives
- Google My Maps for 2D editing and sharing. Earth shows terrain in 3D but doesn't edit; My Maps is the place to drag polyline vertices, drop additional pins, or embed the map on a website.
- The viewmygpx viewer for elevation profile. A chart of elevation versus distance — what Earth doesn't show. The viewer on viewmygpx.com has both the map and the profile side-by-side.
- Komoot for actually following the route in the field. Earth is a viewer, not a navigator — for turn-by-turn voice cues on a phone, Komoot is the right destination.
Why do I need to convert GPX to KMZ for Google Earth?
Google Earth reads KML and KMZ but does not read GPX. KML originated at Keyhole, the company Google acquired to build Google Earth in 2004; GPX originated at TopoGrafix in 2002 to bridge GPS devices and mapping apps. The two formats serve overlapping but distinct ecosystems. Conversion is mechanical — viewmygpx does it client-side, in your browser, without uploading the file.
What can Google Earth do with my GPX route that other tools can't?
3D terrain rendering. The same KMZ import in Google My Maps shows the route as a flat polyline on a 2D map; in Google Earth Web, it drapes over the digital elevation model and renders climbs, valleys, and alpine relief in three dimensions. For visualizing how a route sits in real terrain — useful for trip planning or post-trip review — Earth's perspective is hard to match elsewhere.
Is Google Earth Web different from the desktop Google Earth Pro?
Yes, both still exist. Earth Web (earth.google.com/web/) runs in the browser with no install and covers most use cases including KMZ import. Earth Pro is a downloadable desktop application with more advanced features (historical imagery overlays, video flythrough recording, polygon area measurement). Both read KMZ from viewmygpx; pick Web for a quick visualization, Pro for advanced editing or media production.
Will Google Earth display elevation values from my GPX file?
Earth uses its own digital elevation model to drape the route over terrain. The elevation values inside your GPX are preserved in the KMZ but are not what Earth uses for the 3D rendering — Earth always uses its DEM. If your GPX elevation differs from Google's DEM, the visual route in Earth follows the terrain (looks correct), not your file's elevation values. For comparing recorded altitude to terrain altitude, use the viewmygpx viewer; for visualizing the route on terrain, use Earth.
Can I share my Google Earth project with someone else?
Yes. Google Earth Web saves projects to your Drive; the share button on the project produces a shareable link. Recipients with the link can view the project in Earth Web without re-importing the KMZ. The link inherits Drive sharing permissions — for a public route, set the share to 'Anyone with the link can view'; for a private route, keep it restricted.
Does Google Earth support animated flythroughs of my route?
Earth Pro has a movie-maker feature; Earth Web has Tour and Camera controls but not full movie export at the time of writing. For a flythrough recording on Web, screen-record the manual fly-along; for a built-in tour exporter, use Earth Pro. KML's <gx:Tour> element can describe a flythrough programmatically but viewmygpx does not generate this — it produces a static KMZ. Hand-edit the KML inside the KMZ if you need a tour.
Why does my route's start/end point appear floating in the air?
Default KML interpretation is to clamp features to the ground or to render at absolute altitude depending on the altitudeMode tag. viewmygpx writes coordinates with altitudes from your GPX file; if those altitudes don't match Earth's DEM, the placemark may render at a different elevation than the visible terrain. Earth's default behavior for line strings is to clamp to ground; if you see floating, it usually means Earth interpreted altitudeMode as 'absolute'. Open the KML inside the KMZ and confirm altitudeMode is 'clampToGround' for the line, or accept the floating effect as a recorded-vs-Earth-DEM disagreement.
Related guides
Open GPX in Google My Maps
Convert GPX to KMZ in your browser, import into Google My Maps, view in standard Google Maps under Saved → Maps.
Open GPX in Strava
Upload a GPX activity to Strava on the web. Strava recomputes elevation from its own dataset.
Open GPX in Komoot
Upload a GPX as a Komoot Tour. Komoot's free tier accepts uploads; offline maps require a region purchase or Premium.
Open GPX in Garmin Connect
Import GPX as a Garmin Connect Activity. For navigable Courses on Edge or fenix, use Training → Courses instead.
Open GPX in Ride with GPS
Upload to Ride with GPS as either an Activity (recorded) or Route (planned).
Open GPX in AllTrails
Import GPX as a Custom Map in AllTrails+ (paid). Saves to your account and syncs to the mobile app for offline use.
Open GPX in Apple Maps
Apple Maps does not natively import GPX. The realistic Apple-stack workflows use third-party apps (WorkOutDoors, Footpath, Komoot, Maps.me) that handle GPX themselves.
All Open-GPX-in guides
Hub of platform-specific instructions for opening a GPX file across the major mapping and fitness platforms.
How to open a GPX file (universal guide)
The platform-agnostic answer covering iPhone, Android, Mac, Windows, and the major mapping apps in one place.