Skip to the converter

TopoJSON to GPX converter, without the upload.

Turn TopoJSON map files into GPX. It is converted in your browser, so the file never leaves your device.

Drop TopoJSON files here

or choose from your computer paste with Ctrl V

Ready · other file types work too0 bytes uploaded, ever

Convert to

How to convert TopoJSON to GPX

  1. Add your TopoJSON map files

    Drop TopoJSON files onto the box above, or click it to choose them. ToAny reads the file's contents to detect the type, so a wrong extension does not matter.

  2. GPX is already chosen

    Press Convert. There is nothing else to set. The work happens in this tab.

  3. Download

    Save the GPX, or download everything as one ZIP if you converted several files.

Why ToAny

  • Private by construction

    The TopoJSON to GPX converter is part of this page and runs inside your browser. Your map files are never sent to ToAny or to anyone else.

  • No upload, no queue

    Nothing has to travel to a server and back, so the conversion starts the moment you press Convert, even on a slow connection.

  • Free, without an account

    No sign-up, no email address and no watermark. Add several files and download them together as a ZIP.

TopoJSON to GPX: what to expect

TopoJSON needs a library to unpack it, and not every GIS tool reads it. GPX is read by practically every GPS device and fitness app. TopoJSON is at home in compact boundary maps for the web; GPX is the usual choice for GPS tracks, routes and waypoints.

Every format is read into plain GeoJSON features and written out from there, so coordinates, names and properties carry over wherever the target has a place for them. Every object in the topology is expanded back into ordinary shapes. Points become waypoints and lines become tracks; GPX has no areas, so polygon outlines are written as track segments. Elevation and time are kept.

TopoJSON vs GPX

TOPOJSON

TopoJSON map data

TopoJSON is an extension of GeoJSON that encodes shared borders once, as arcs, instead of repeating them in every neighbouring shape. Maps of countries or counties come out far smaller. Libraries such as D3 read it, and many general GIS tools need it converted first.

Opens in D3, Mapshaper, QGIS and web mapping libraries

TopoJSON converter
GPX

GPX track file

GPX is the open XML format for GPS data and the common language of hiking, cycling and running apps. It records waypoints, planned routes and recorded tracks with time and elevation. Almost every GPS device and app can import and export it.

Opens in Garmin BaseCamp, Strava, Komoot, Google Earth, QGIS and nearly every GPS app

GPX converter
TopoJSON compared with GPX
TOPOJSONTopoJSON map dataGPXGPX track file
Stands forTopoJSONGPS Exchange Format
TypeGeographic dataGPS track data
CompressionNone (JSON text, topology-encoded)None (XML text)
Introduced2012, by Mike Bostock2002, by TopoGrafix
Opens inD3, Mapshaper, QGIS and web mapping librariesGarmin BaseCamp, Strava, Komoot, Google Earth, QGIS and nearly every GPS app
Best forCompact boundary maps for the webGPS tracks, routes and waypoints
File extension.topojson.gpx

Questions

Are my map files uploaded anywhere?

No. The TopoJSON to GPX conversion runs inside your browser, on your own phone or computer. The file is not sent to ToAny or to anyone else.

Is anything lost when converting TopoJSON to GPX?

The values are kept. Anything GPX has no way to express, such as formatting, formulas or nesting, is simplified or left out.

Can I convert several TopoJSON files at once?

Yes. Add as many as you like, convert them together and download each result or all of them as one ZIP.

How do I convert TopoJSON to GPX on Windows, Mac, iPhone or Android?

The steps are the same everywhere because ToAny runs in the web browser: open this page in a current version of Chrome, Edge, Safari or Firefox, add the TopoJSON file, press Convert and save the GPX. There is nothing to install.

Is there a file size limit?

Yes. Files up to 150 MB are accepted; a larger file is refused with a message. Beyond that the limit is your device's memory, since nothing is uploaded; a computer copes with large files better than a phone.