GeoJSON to TopoJSON Converter

Convert GeoJSON files to TopoJSON format instantly — free, private, and entirely in your browser. Ideal for D3.js choropleth maps and compact geographic data.

Drag & drop your .geojson or .json file here

or click to browse

or paste GeoJSON

Frequently Asked Questions

What is TopoJSON?

TopoJSON is a compact geographic data format created by Mike Bostock (creator of D3.js). It encodes topology by storing shared borders as arcs only once, making files typically 80% smaller than their GeoJSON equivalent. It is the preferred format for D3.js choropleth and thematic maps.

Why convert GeoJSON to TopoJSON?

TopoJSON files are much smaller than GeoJSON, which is important for web performance. If you are building D3.js maps or any visualization that uses the topojson-client library, converting to TopoJSON is a common optimization step.

What is the "object name"?

In TopoJSON, geometries are grouped under named objects inside the objects key. The default name is features. You can change it to match the data's purpose, such as states, countries, or roads.

What geometry types are supported?

All GeoJSON geometry types are supported: Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon, and GeometryCollection. Feature properties are preserved in the output topology.

Is my data private?

Completely. All conversion happens in your browser — your GeoJSON file is never uploaded to any server. This is ideal for sensitive or proprietary geographic data.

What is the maximum file size?

GeoDataTools supports files up to 30MB. For larger files, consider splitting your data or using the full GeoDataTools app which uses Web Workers for optimal performance.

Need more powerful geospatial tools? Try the full app with interactive maps, filtering, and more.

Open GeoDataTools App