Runs entirely in your browser — your inputs never leave this page.
How this tool works
- 1
Uses @tmcw/togeojson to parse XML trees into standardized GeoJSON FeatureCollections.
Common uses
- Garmin and Strava GPS track inspection
- Google Earth KML previewing
- GIS file format conversions
Frequently asked questions
Files up to 50MB can be processed smoothly in-browser.
More in Map Makers
- Map DrawerDraw custom lines, polygons, circles, and point markers directly on vector maps. Customize colors, labels, and export as GeoJSON, KML, or PNG.
- Pin Drop MapDrop up to 100 colored pins on the map, label each marker with custom notes, and generate a persistent shareable link with the state in the URL.
- CSV to MapUpload any spreadsheet or CSV with latitude/longitude or addresses. Instantly visualize up to 5,000 points with auto-clustering and heatmaps.
- Country Size CompareDrag any country or US state over any other region on the globe to observe true geographic size undistorted by Mercator projection.
- Map Embed GeneratorGenerate responsive, clean HTML iframe embed code for Google Maps with custom dimensions, zoom levels, and satellite/street modes.
- Color a MapPick a color and click any US state or world country to fill it in. Build a visited-states map, a sales territory map, or a classroom coloring page, keep a tidy list of every region you colored, then download a print-ready PNG or print the map straight from your browser.
- Map Legend MakerAdd a title, drop labeled markers in your own colors and symbols, and draw shaded areas on a real map — every item appears in a tidy legend panel automatically. Share the finished map with a link, or copy a ready-made HTML embed with the map and legend for your own website.
Checking a Snowdonia Hike Recording, Then Converting GPX to KML
A hiker from Manchester spends a weekend in Snowdonia, Wales, and records the classic horseshoe-style loop over Snowdon with a GPS watch. Back home she exports the recording as a GPX file and opens it in the viewer to check what she actually walked before sharing it with her hiking club. The viewer draws the full track on the map and reports the stats: about 11.6 miles (18.7 km) with roughly 2,900 feet (880 m) of total climbing. The elevation profile shows the long steady climb, the flatter ridge section, and the steep descent, and one stray spike near the start where the watch lost signal in the car park and jumped for a moment.
The file holds about 4,300 track points, one every few seconds of walking, and she scrolls through a few of them to spot-check the route. The halfway point of the track, near 5.8 miles, sits exactly at the summit waypoint she saved, which confirms the watch recorded cleanly all day and the distance figures can be trusted. For the club's monthly slideshow she converts the GPX to KML, because KML opens directly in Google Earth and lets everyone tilt the view and fly along the ridge in 3D. The waypoint she saved at the summit keeps its name in the KML, so the flyover pauses at the top.
The club website, though, needs the route as GeoJSON to draw it on their own map page. She converts the same GPX a second time, this time to GeoJSON, and sends that file to the webmaster. One recording, three formats, each matched to where it will be used, and the original GPX stays untouched in her folder as the master copy. The same viewer settles a planning question the following week. She recorded a shorter Sunday walk from the same car park, and its stats read 6.3 miles (10.1 km) with about 1,450 feet (440 m) of climbing, a little over half the big loop on both measures. For the club's beginners' walk she picks that route, converts its GPX to KML for the preview evening, and quotes both sets of numbers side by side so new members can judge the two days honestly.
She finishes with a small filing habit the club now copies. Every walk gets one folder, named by route and date, holding the original GPX from the watch plus the KML and GeoJSON conversions beside it. When the club secretary asks six months later which file went on the website, the answer is in the folder, not in someone's memory. The viewer is what made the habit possible, because checking a file before filing it takes less than a minute once you can see its track, stats, and waypoints at a glance.
Common mistakes to avoid
- Expecting colors and styles inside a GPX. GPX stores tracks, waypoints, and elevation, but not your line colors or icons. If styling matters, share the KML version instead, which keeps the presentation.
- Deleting the original after converting. Every conversion is a copy, and small details such as timestamps can differ between formats. Keep the watch's original GPX file as your permanent record of the day.
- Sharing a track that starts at your front door. Recordings made from home publish your home address to anyone who opens the file. Trim the first and last few minutes of the track before you share it with a wider group.
Pro tips
- Read the elevation profile before converting; a flat line usually means the file lost its elevation data on export.
- Use GPX for GPS devices and watches, KML for Google Earth, and GeoJSON for websites and code.
- Rename waypoints with short clear names, such as Summit or River Crossing, before converting, because the names carry over.
Cartography & Printable Maps: The Craft of Good Maps
Every flat map lies a little — the craft is choosing honest lies. Learn projections, design rules that make maps readable, and how to print crisp maps at any size. Written for KML, GeoJSON & GPX Viewer & Converter and the everyday mapping tasks around it.
Projections: Why Every Flat Map Lies
You cannot peel an orange and lay the skin flat without tearing it. Map projections face the same impossible task, and each one chooses what to sacrifice: shape, area, distance, or direction. There is no perfect projection — only the right one for your purpose.
The infamous Mercator projection preserves direction, which made it beloved by sailors, but it inflates everything near the poles. Greenland appears as large as Africa; in reality Africa is fourteen times bigger. Every world map in a classroom quietly teaches this distortion.
Equal-area projections like the Albers fix the size lie and are the right choice for thematic maps — election results, demographics, anything where area carries meaning. Web maps use Web Mercator because it makes zooming math simple, not because it is honest. Knowing which lie your map tells is the first cartographic skill.
For local work the problem nearly vanishes. A city map spans such a small slice of Earth that any reasonable projection looks fine. Projection choice matters most for continents and the whole world — exactly where beginners notice it least and experts care most. When in doubt for a US-focused map, the Albers equal-area conic is the safe default.
Design Rules for Readable Maps
A map is an argument: it says "look here, this matters." The best cartographers ruthlessly remove everything that does not serve that argument. Start every map by deleting half the labels, then see if anything important vanished. It rarely did.
Color carries meaning before words do. Use sequential shades (light to dark blue) for amounts like population, and never use rainbow gradients — they create false boundaries where none exist. About 1 in 12 men has color vision deficiency, so test your palette in grayscale; if the story survives, your colors work.
Labels are typography, not decoration. Big bold type for big places, italics for water, and never more than a few words per label. A label that overlaps its neighbor is a label that should not exist. Let the map breathe — white space is a design element, not wasted space. When two labels compete, the more important place wins and the other waits for a deeper zoom.
Every published map needs four things: a title saying what it shows, a legend decoding the symbols, a scale bar for distance, and a north arrow (or a note when north is not up). Skip any of them and readers will misread your map with confidence. These four elements are non-negotiable — they are what separate a real map from a mere illustration. Omit them and even experts will misread your work.
This page shows the first two chapters. Read the complete Map Makers & Importers field guide →