Bounding Box Extractor
Draw a bounding box on the map, paste GeoJSON, or enter coordinates manually. Export instantly as WKT, GeoJSON, array, GDAL, or SQL.
About the Bounding Box Extractor
A bounding box (BBox) is the smallest rectangle that completely encloses a geographic area or dataset, defined by four coordinates: the minimum and maximum longitude and latitude. Bounding boxes are fundamental in GIS workflows — they're used for spatial queries, map extent definitions, data clipping, and API requests.
When do you need a bounding box?
- Querying spatial databases (PostGIS, SpatiaLite) with
ST_MakeEnvelope - Setting the
-teflag in GDAL/OGR commands for raster/vector clipping - Defining map extents in web mapping libraries (Leaflet, MapLibre, OpenLayers)
- Filtering features by area of interest in GeoJSON processing pipelines
- Creating tile index bounds for map tile generation
Coordinate order conventions
Different tools and formats use different coordinate ordering. This tool outputs in the most common conventions:
- GeoJSON / Leaflet:
[minLng, minLat, maxLng, maxLat](West, South, East, North) - PostGIS ST_MakeEnvelope:
(minLng, minLat, maxLng, maxLat, SRID) - GDAL -te:
minLng minLat maxLng maxLat