A .gpx file is a GPS Exchange Format file that contains tracks, routes, or waypoints. If you download a GPX from a hiking site, a cycling platform, or a friend, you usually want to check it before importing it into a Garmin device or the Garmin Connect app.
If you are on an iPhone or Android phone, you do not need a desktop application to preview the file. You only need a tool that understands the GPX format.
Open the GPX Viewer to view a supported .gpx file directly in your mobile browser on iPhone or Android.
What is a GPX file?
GPX (GPS Exchange Format) is an XML-based format for storing GPS data. A single .gpx file can contain:
- Tracks (
<trk>) - a path you actually recorded, made of track points with timestamps - Routes (
<rte>) - a planned path, made of route points without timestamps - Waypoints (
<wpt>) - individual marked locations, such as a summit or a trailhead
Each point can include:
- Latitude and longitude
- Elevation
- Timestamp
- Name and description
- Symbol or icon
GPX is an open standard, which makes it widely supported by GPS devices, mapping apps, and online platforms.
Why you should check a GPX file before importing it to Garmin
Importing a GPX directly into Garmin without checking it first can cause problems:
- Wrong route: The file may not contain the route you expected.
- Too many points: Some Garmin devices have a waypoint or track point limit.
- Missing elevation: Elevation data may be absent or incorrect.
- Wrong activity type: The file may be a track when you need a route, or vice versa.
- Corrupted data: A bad download can produce an invalid file.
- Too large: A very detailed file may be slow or fail to import.
Previewing the file on your phone lets you confirm it is correct before you send it to your Garmin.
Quick answer: what should you do?
Choose the method based on what you actually need.
| What you need to do | Better approach |
|---|---|
| Quickly preview a track or route | Use a GPX viewer |
| Check elevation or distance | Use a viewer with statistics |
| Verify waypoints | Use a viewer that lists waypoints |
| Check the file before importing to Garmin | Preview in a viewer first |
| Import to Garmin Connect | Use the Garmin Connect app or website |
| Edit the route | Use a desktop or web route editor |
| Convert GPX to another format | Use a viewer with export support |
For a quick preview, FileViewerHub is designed to show supported GPX file contents in your browser without requiring a desktop app.
Method 1: Open the GPX file in FileViewerHub
This method is useful when you need to preview the track, check waypoints, or verify statistics before importing the file to Garmin.
Step 1: Open the GPX Viewer
Go to the FileViewerHub GPX Viewer in your mobile browser on iPhone or Android.
The viewer supports .gpx files and processes supported file contents locally in the browser for standard viewing.
Step 2: Select the GPX file
Tap the upload area and choose the GPX file from your device. On iPhone, the file may be in the Files app; on Android, it may be in Downloads or a file manager.
Before parsing begins, FileViewerHub may show a large-file warning when the file exceeds the recommended size for the current device. Files above the viewer's hard browser-safety limit should be blocked rather than opened.
This limit is intentional. A GPX file with thousands of track points can expand significantly after parsing.
Step 3: View the track on the map
After the file opens, verify that:
- The track or route renders on the map.
- The start and end points are in the expected location.
- The path follows the expected roads or trails.
- Waypoints are shown as markers where supported.
FileViewerHub can parse standard GPX files produced by hiking apps, cycling computers, and mapping platforms where supported.
Step 4: Check statistics and elevation
For a track or route, the useful details are often in the statistics rather than just the map line.
Use the viewer to inspect:
- Total distance
- Elevation gain and loss
- Minimum and maximum elevation
- Number of track points or waypoints
- Estimated duration (if timestamps are present)
If the statistics look wrong, the file may be missing data or may not contain the route you expected.
Step 5: Check waypoints
If the file contains waypoints, review the list to confirm:
- Waypoint names are correct
- Locations are in the expected places
- Descriptions are present where expected
- Symbols or icons are shown where supported
This is especially important if you plan to navigate to specific waypoints on your Garmin.
Step 6: Export only what you need
If the viewer supports export for the current file, export the track or waypoints to a cleaner format before importing to Garmin.
You can then:
- Import a simplified file into Garmin Connect
- Share the route with someone else
- Save a backup in another format
This avoids forcing your Garmin to handle data you do not need.
Method 2: Import the GPX into Garmin Connect
If you have confirmed the file is correct, you can import it into Garmin Connect.
On iPhone or Android (Garmin Connect app)
- Open the Garmin Connect app.
- Go to More > Courses (or Activities > Import).
- Choose Import File or Open and select the
.gpxfile. - Review the imported course.
- Save or send it to your Garmin device.
On the web (Garmin Connect website)
- Go to connect.garmin.com in your browser.
- Log in to your account.
- Go to Courses > Create a Course > Import from File.
- Upload the
.gpxfile. - Review and save the course.
- Sync your device to send the course to your Garmin.
Limitations
- Garmin Connect may simplify or resample very detailed tracks.
- Some Garmin devices have a maximum number of course points.
- Waypoints may not transfer the same way as tracks or routes.
- The import may fail if the file is corrupted or uses an unsupported GPX variant.
Method 3: Use a mobile GPS app
If you need to follow the route on your phone rather than a Garmin, several mobile apps can open GPX files:
- On iPhone: Apple Maps does not import GPX, but third-party hiking and cycling apps do.
- On Android: Google Maps does not import GPX directly, but third-party apps do.
Common app categories include:
- Hiking and trail apps
- Cycling and fitness apps
- Offline navigation apps
- GPS recording apps
These apps can usually open a GPX and display it on a map, but they are not a substitute for previewing the file before importing to Garmin.
What if the GPX file still won't open?
Even with a viewer, some GPX files can be difficult to read. Common causes include:
1. The file is not actually a GPX file
Some files use the .gpx extension but are not valid GPX. For example, a renamed file or a file from another application may carry the extension without the correct XML structure.
If the viewer cannot parse the file, check the source and confirm it is a GPX file produced by a GPS app or mapping platform.
2. The file is corrupted
GPX files can be corrupted during download, especially through:
- Email attachments
- Cloud sync
- Incomplete downloads
Symptoms include:
- Missing track data
- Parser errors
- Truncated paths
- Wrong coordinates
If you suspect corruption, try to obtain a fresh copy of the file from the original source.
3. The file uses an uncommon GPX variant
GPX is a standard, but some apps add custom extensions or use non-standard elements. If the viewer shows partial content, the file may use extensions that the parser does not fully understand.
Common extensions include:
- Garmin-specific extensions
- Strava extensions
- Custom heart rate or cadence data
- Power data
The core track and waypoints should still display even if some extensions are not supported.
4. The file has no track or route data
Some GPX files contain only waypoints, or only a route, or only a track. If you expected a track but see only waypoints, the file may not contain what you thought.
Check the file contents in the viewer to confirm what data is present.
5. The file is very large
A GPX file with thousands of track points can be large. A very large file may exceed browser memory limits or take a long time to parse on a mobile device.
If the file is large, check whether you need the full track or just a preview.
6. The coordinates are in the wrong format
GPX uses decimal degrees (latitude and longitude). If the coordinates look wrong on the map, the file may have been exported with an error, or it may use a different coordinate system that was incorrectly converted.
How to open a GPX file on an iPhone
On iPhone, there is no built-in app that opens GPX files directly. Options include:
- Browser-based viewer: Open the GPX Viewer in Safari or Chrome. No installation required.
- Files app: The GPX file may be in the Files app if you downloaded it.
- Third-party apps: Hiking and cycling apps can import GPX files.
- Garmin Connect app: Import the file directly if you are ready to send it to your Garmin.
For a quick preview on iPhone, a browser-based viewer is usually the fastest option.
How to open a GPX file on Android
On Android, there is no built-in app that opens GPX files directly. Options include:
- Browser-based viewer: Open the GPX Viewer in Chrome or Firefox. No installation required.
- Files app: The GPX file may be in Downloads or a file manager.
- Third-party apps: Hiking and cycling apps can import GPX files.
- Garmin Connect app: Import the file directly if you are ready to send it to your Garmin.
For a quick preview on Android, a browser-based viewer is usually the fastest option.
How to get a GPX file onto your phone
If you received a GPX by email, download, or share link, here is how to get it onto your phone:
From email
- Open the email on your phone.
- Tap the attachment.
- Save the file to your device (Files app on iPhone, Downloads on Android).
From a website
- Open the download link in your mobile browser.
- The file downloads to your device.
- Open the GPX Viewer and select the downloaded file.
From a cloud service
- Open the cloud app (Google Drive, Dropbox, iCloud, etc.).
- Download the GPX file to your device.
- Open the GPX Viewer and select the file.
From AirDrop or share
- Accept the AirDrop (iPhone) or share (Android) transfer.
- Save the file to your device.
- Open the GPX Viewer and select the file.
Is it safe to open a GPX file in an online viewer?
GPX files contain location data, which can reveal your home, workplace, or travel patterns.
For standard viewing, FileViewerHub processes supported GPX file contents locally in your browser rather than uploading the file to FileViewerHub servers.
You should still:
- Use a device you trust.
- Avoid opening files from unknown sources.
- Review the file before sharing it with someone else.
- Be aware that exported files may retain metadata such as timestamps and device information.
Limited technical diagnostics may be processed when a viewer fails, but diagnostic logging should exclude filenames and file contents.
GPX viewer vs Garmin Connect: which should you use?
Use a GPX viewer when your main goal is:
- Quick preview
- Checking distance and elevation
- Verifying waypoints
- Confirming the route before importing
- Opening a file on your phone without installing an app
Use Garmin Connect when you need:
- Sending the route to your Garmin device
- Creating a course for navigation
- Syncing across devices
- Adding the route to an activity
Use a route editor when you need:
- Modifying the route
- Simplifying or resampling track points
- Merging multiple GPX files
- Converting between tracks and routes
The tools solve different problems. A GPX viewer does not need to replace Garmin Connect to be useful; it can help you verify the file before deciding whether to import it.
