GeoJSON Formatter

Pretty-print or minify GeoJSON, with a map preview.

Map Tools

Paste GeoJSON below to get a clean, pretty-printed version and a minified version, side by side, with a map preview.

Formatted locally in your browser — your GeoJSON is never sent to our server.

Computed entirely in your browser — nothing you enter here is sent to our server.

How This Works

Paste any valid GeoJSON — messy, minified, or already formatted — and this tool re-indents it for readability (pretty-printed) and also produces a compact single-line version (minified) for when file size matters. A map preview confirms the geometry parsed correctly.

FAQ

Does this validate my GeoJSON?

It checks that the JSON is valid and the top-level “type” is a recognized GeoJSON type. For deeper structural checks (like unclosed polygon rings), use our GeoJSON Validator.

Is my data uploaded anywhere?

No. Formatting happens entirely in your browser — nothing you paste here is sent to our server.