Batch Convert TopoJSON to SpatiaLite
Convert hundreds of TopoJSON files to SpatiaLite in a single operation. Runs in your browser — no uploads, no file-count limits.
About TopoJSON
TopoJSON is a JSON extension to GeoJSON that encodes topology — shared boundaries between adjacent features are stored only once, reducing file size by 20–80% compared to equivalent GeoJSON. It was created by Mike Bostock and is widely used in web cartography for choropleth maps and visualisations built with D3.js.
You might convert from TopoJSON when you need to perform spatial analysis in a GIS that does not support the format, when you want to export individual layers from a multi-object TopoJSON topology, or when a downstream tool requires GeoJSON or Shapefile as input.
Frequently asked questions
Can TopoJSON be used with Leaflet directly?
Not directly — Leaflet requires GeoJSON. Convert the TopoJSON to GeoJSON first using this tool, then pass the result to L.geoJSON().
Does converting from TopoJSON to GeoJSON lose the topology?
Yes — GeoJSON does not store topology, so the converted file will have explicit coordinates for every boundary segment, including those shared between adjacent features. This is usually acceptable for analysis but does increase file size.
What is the difference between TopoJSON objects and GeoJSON FeatureCollections?
A TopoJSON file can contain multiple named objects (similar to layers), each of which can be converted to a separate GeoJSON FeatureCollection. This tool converts the first object found in the topology.
Only have one file?
Our single-file TopoJSON to SpatiaLite converter is free and handles one file at a time.