Bounding Box Finder
Load a GeoJSON file and get its extent in every format you are likely to need — GeoJSON bbox, Leaflet bounds, WMS BBOX and Overpass order.








Load a file to see the extent in every common format.
What a bounding box is for
A bounding box is the smallest axis-aligned rectangle containing your data. It is the cheapest possible spatial index: a database can reject millions of irrelevant rows by comparing four numbers before ever touching real geometry. In day-to-day work you need one for setting a map view, requesting a WMS or tile extract, restricting an Overpass query to a city, or clipping a national dataset down to a study area.
The ordering problem
Every ecosystem picked a different order for the same four numbers, which is why this tool prints all of them. GeoJSON and WMS 1.1 use minLng, minLat, maxLng, maxLat. Leaflet wants pairs of latitude then longitude, south-west corner first. Overpass and several OSM tools want south, west, north, east. Getting this wrong does not error — it silently queries the wrong part of the planet, which is much harder to notice.
- GeoJSON / WMS 1.1: minLng, minLat, maxLng, maxLat
- Leaflet: [[minLat, minLng], [maxLat, maxLng]]
- Overpass: south, west, north, east
- WMS 1.3 with EPSG:4326: axis order flips to lat first
Antimeridian and single-point files
Two cases deserve a warning. A dataset spanning the 180th meridian — Fiji, the Bering Sea, some Pacific shipping routes — produces a box that appears to wrap the whole globe, because a simple min/max cannot express the wrap. And a file containing one point produces a zero-width box; use the centre point and a fixed zoom rather than fitting bounds, or the map will zoom to maximum.
Using the extent to speed things up
Once you have the box, it is the fastest way to shrink a workload. Pass it to ogr2ogr with -clipsrc to cut a country file down to a district, use it as the bbox parameter on a tile or WMS request instead of downloading a full layer, or store it alongside each dataset so your application can decide what to load before parsing any geometry at all.
Free version
- Extent of the whole file, to six decimal places
- Six output formats, each copyable in one click
- Centre point for map initialisation
- Box drawn on the map so you can sanity-check it
With a GeoDataMapper account
- Per-feature and per-layer extents
- Clip a dataset to a bounding box
- Save extents as named bookmarks on a shared map
- Query features by bbox through the API
Frequently asked questions
Is the box the extent of the whole file or per feature?▾
The whole file — the union of every coordinate in every feature.
Why does my box cover the entire world?▾
Your data probably crosses the antimeridian, or contains one stray coordinate such as 0,0 from a failed geocode. Validate the file to find it.
Can I paste a bounding box and get a GeoJSON polygon back?▾
Not yet in the free tool. The signed-in workspace can create a rectangle from an extent and clip data to it.
Which formats does the input accept?▾
GeoJSON files or pasted GeoJSON text — FeatureCollection, Feature or a bare geometry.
Is anything uploaded?▾
No. The extent is computed locally in your browser.