AI Tools Free

TopoJSON to GeoJSON Converter

Unpack `TopoJSON` topologies into standard RFC 7946 `GeoJSON` `FeatureCollection` objects—automatically accumulating delta-encoded integer coordinates, applying `transform.scale` and `transform.translate`, and stitching reversed (`~i`) shared boundary arcs.

Free to useNo sign-upRuns in your browser
Enter your details

Enter the inputs, then select Convert TopoJSON to GeoJSON.

Optional key inside topology.objects (e.g. 'counties' or 'states'). Leave blank to merge all named objects.

Decimal digits to keep after applying x = x_acc * scale_x + translate_x (6 decimals ≈ 11 cm precision).

Paste a valid TopoJSON object with "type": "Topology", "arcs", and "objects".

Your result
Enter your details

Result will appear here

How the TopoJSON to GeoJSON Unpacker Works

Paste any TopoJSON document (`"type": "Topology"`) to inspect and export its decoded GeoJSON features.

Delta De-quantization: qx_k = sum_{j=0..k} dx_j; lon = qx_k * scale[0] + translate[0]; Bitwise NOT arc index: ~i = -(i + 1) reverses arc i and stitches shared vertices without duplication.

Decodes quantized (`transform.scale` + `transform.translate`) and unquantized TopoJSON topologies across Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon, and GeometryCollection objects.

TopoJSON to GeoJSON Converter workflow overview
Workflow overview for TopoJSON to GeoJSON Converter.

TopoJSON vs. GeoJSON Structure & Arc Indexing Reference Table

Key differences between TopoJSON topology encoding and expanded RFC 7946 GeoJSON features.

ConceptTopoJSON RepresentationExpanded GeoJSON EquivalentConversion Rule
Quantized Vertex `[dx, dy]`Integer delta from previous vertex`[lon, lat]` IEEE 754 float`lon = (sum dx) * scale[0] + translate[0]`
Forward Arc Reference `i >= 0``arcs: [[0, 2]]`Concatenated coordinate arrayAppend `arcs[0]`, then `arcs[2].slice(1)`
Reversed Arc Reference `i < 0``arcs: [[-1]]` (`~0`)Reversed coordinate arrayLookup `arcs[-i - 1]` and reverse vertex order
Named Topology Object`objects.parcels` (`GeometryCollection`)`FeatureCollection` (`features: [...]`)Each child geometry becomes a GeoJSON `Feature`

How to use TopoJSON to GeoJSON Converter step by step

Enter the values for your scenario, verify the units, and run the calculation.

Enter the inputs

Start by entering the required fields in the TopoJSON to GeoJSON Converter form above.

TopoJSON to GeoJSON Converter step 1: Enter the inputs
Step 1 workflow overview for TopoJSON to GeoJSON Converter.

Verify units and assumptions

Match each value to the unit or format shown next to the input box before running the calculation.

TopoJSON to GeoJSON Converter step 2: Verify units and assumptions
Step 2 workflow overview for TopoJSON to GeoJSON Converter.

Run and export your result

Select Convert TopoJSON to GeoJSON, inspect the primary metric and breakdown cards, then use Copy result or Download result.txt.

TopoJSON to GeoJSON Converter step 3: Run and export your result
Step 3 workflow overview for TopoJSON to GeoJSON Converter.

Worked examples for TopoJSON to GeoJSON Converter

Compare baseline and alternative runs for TopoJSON to GeoJSON Converter before exporting the result.

Baseline example

Convert TopoJSON Topology files into standard RFC 7946 GeoJSON FeatureCollections by de-quantizing delta-encoded arcs, resolving shared ~arc references, and validating geometry rings.

TopoJSON to GeoJSON Converter example 1: Baseline example
Worked example 1 for TopoJSON to GeoJSON Converter.

Comparison scenario

Delta De-quantization: qx_k = sum_{j=0..k} dx_j; lon = qx_k * scale[0] + translate[0]; Bitwise NOT arc index: ~i = -(i + 1) reverses arc i and stitches shared vertices without duplication.

TopoJSON to GeoJSON Converter example 2: Comparison scenario
Worked example 2 for TopoJSON to GeoJSON Converter.

Boundary check before exporting

Decodes quantized (`transform.scale` + `transform.translate`) and unquantized TopoJSON topologies across Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon, and GeometryCollection objects.

TopoJSON to GeoJSON Converter example 3: Boundary check before exporting
Worked example 3 for TopoJSON to GeoJSON Converter.

How to interpret the TopoJSON to GeoJSON Converter output

Review the calculated output alongside your entered parameters and unit conventions.

Decodes quantized (`transform.scale` + `transform.translate`) and unquantized TopoJSON topologies across Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon, and GeometryCollection objects.

How to interpret TopoJSON to GeoJSON Converter results
Result interpretation guide for TopoJSON to GeoJSON Converter.

Pre-Export GeoJSON Verification Checklist

Verify these three items before using the exported GeoJSON.

Delta De-quantization: qx_k = sum_{j=0..k} dx_j; lon = qx_k * scale[0] + translate[0]; Bitwise NOT arc index: ~i = -(i + 1) reverses arc i and stitches shared vertices without duplication. Decodes quantized (`transform.scale` + `transform.translate`) and unquantized TopoJSON topologies across Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon, and GeometryCollection objects.

Scope limits and assumptions for TopoJSON to GeoJSON Converter
Assumptions and input boundaries for TopoJSON to GeoJSON Converter.

TopoJSON to GeoJSON Converter: common questions

Answers about using TopoJSON to GeoJSON Converter and understanding its results.

How does TopoJSON store shared boundaries differently from GeoJSON?

GeoJSON stores every Polygon ring as a standalone array of [longitude, latitude] coordinates, duplicating shared borders between adjacent regions. TopoJSON extracts border segments into a top-level "arcs" array and references them by integer index inside each geometry. When two adjacent polygons share border arc 0, one references [0] (forward) and its neighbor references [-1] (bitwise NOT ~0, meaning arc 0 reversed).

What does a negative arc index like -1 or -5 mean in TopoJSON?

In the TopoJSON specification, a negative arc index uses two's-complement bitwise NOT (~i = -i - 1) so that even index 0 can be negated. Thus -1 means arc 0 in reverse vertex order, -2 means arc 1 reversed, and in general negative index k refers to arcs[~k] = arcs[-k - 1] with its coordinate array reversed.

How does TopoJSON delta-encoding and quantization work?

When a "transform" object with "scale": [sx, sy] and "translate": [tx, ty] is present, each arc stores integer deltas [[x0, y0], [dx1, dy1], [dx2, dy2], ...]. To reconstruct floating-point coordinates, you first accumulate running integer sums (qx_i = qx_{i-1} + dx_i, qy_i = qy_{i-1} + dy_i) and then apply lon = qx_i * sx + tx and lat = qy_i * sy + ty.

Why are adjacent arc endpoints dropped when stitching multiple arcs into a ring?

When a LineString or Polygon ring concatenates multiple arcs (such as [1, -1]), the last vertex of the first arc is identical to the first vertex of the next arc. Per the TopoJSON specification, the converter drops the duplicate starting vertex of each subsequent arc so the stitched GeoJSON ring has no repeated interior vertices.

Try your own values

Choose another tool for your next calculation, conversion, or text task.

Convert TopoJSON to GeoJSON