GeoJSON Minifier
Use this tool to reduce your GeoJSON file size by removing unneeded properties and reducing coordinate precision. It works entirely in your browser—no upload to a server.
Why minify GeoJSON?
GeoJSON files used for web maps are often much larger than they need to be. Two common causes are excessive coordinate precision and unnecessary whitespace. It’s not unusual to see coordinates with 12–15 decimal places; at the Equator, that’s far beyond real-world accuracy. If around 1 metre precision is sufficient, 5 decimal places are typically enough; for roughly 10 metres, 4 decimals will do. Removing those extra digits can substantially reduce file size, as can trimming spaces and line breaks and pruning unneeded properties.
This tool helps you produce smaller, faster-loading GeoJSON by:
- Reducing coordinate precision (with an “Approx grid at the Equator” hint for each decimal setting)
- Keeping only the properties you need (or quickly applying common presets)
- Optionally removing empty arrays/objects and trimming whitespace
- Handling standard GeoJSON and line-delimited GeoJSON (NDJSON/GeoJSON Lines)
- Running entirely in your browser—no uploads
Understanding coordinate precision
Using the Earth’s equatorial circumference (~40,075 km), a degree is about 111 km. Each decimal place in latitude/longitude reduces the grid size by a factor of 10. Latitude scales similarly worldwide (the Earth is slightly oblate, so it’s approximate), but longitude shrinks toward the poles. That means truncating longitude gives even better ground precision at higher latitudes. For example, five decimal places are about 1.1 m at the Equator, but roughly 0.55 m around 60°N (e.g., the Shetlands).
Support for large files
This free, client‑side tool supports standard GeoJSON and NDJSON (GeoJSON Lines) and is optimized for large datasets. On modern devices and browsers it can handle very big files—often 100MB or more—without freezing the page, thanks to background processing. Drag and drop your .geojson, pick which properties to keep or remove, adjust coordinate precision, optionally trim whitespace and drop empty arrays/objects, then download the compact result.