Skip to the converter

TopoJSON to WKT converter, without the upload.

Turn TopoJSON map files into WKT. 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 WKT

  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. WKT is already chosen

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

  3. Download

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

Why ToAny

  • Private by construction

    The TopoJSON to WKT 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 WKT: what to expect

TopoJSON needs a library to unpack it, and not every GIS tool reads it. WKT is what spatial databases and GIS libraries accept as text. TopoJSON is at home in compact boundary maps for the web; WKT is the usual choice for writing a single geometry in a database or script.

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. WKT describes shapes only, so names and properties are left out; each feature is written on its own line.

TopoJSON vs WKT

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
WKT

Well-known text geometry

WKT writes a geometry as text, for example POINT (30 10) or POLYGON ((30 10, 40 40, 20 40, 10 20, 30 10)). Spatial databases such as PostGIS use it. It describes shape only, without names or other attributes.

Opens in Text editors, PostGIS, QGIS and GIS libraries

WKT converter
TopoJSON compared with WKT
TOPOJSONTopoJSON map dataWKTWell-known text geometry
Stands forTopoJSONWell-Known Text
TypeGeographic dataGeometry text
CompressionNone (JSON text, topology-encoded)None
Introduced2012, by Mike Bostock1999, by the Open Geospatial Consortium
Opens inD3, Mapshaper, QGIS and web mapping librariesText editors, PostGIS, QGIS and GIS libraries
Best forCompact boundary maps for the webWriting a single geometry in a database or script
File extension.topojson.wkt

Questions

Are my map files uploaded anywhere?

No. The TopoJSON to WKT 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 WKT?

The values are kept. Anything WKT 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 WKT 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 WKT. 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.