A bounding box is one of the most useful concepts in geospatial work, used by GIS professionals, mapping developers, and city planners around the world. Whether you’re working with map APIs, GeoJSON specifications, spatial databases, or overpass queries, bounding boxes are everywhere. This guide explains what a bounding box is, the different formats you’ll encounter, and how to generate one in seconds using our free bounding box generator free tool β no signup required.
What Is a Bounding Box?
A bounding box (often abbreviated as bbox) is the smallest rectangle that completely contains a geographic feature or set of features. It is defined by four coordinate values:
- West β the minimum longitude (leftmost edge)
- South β the minimum latitude (bottom edge)
- East β the maximum longitude (rightmost edge)
- North β the maximum latitude (top edge)
Think of it as drawing the tightest possible box around a country, city, or polygon on a map.
Why Use a Bounding Box Generator Free Tool?
Bounding boxes are used everywhere in geospatial software because they are extremely fast to compute and query. Our bounding box generator free tool helps you create these coordinates instantly. Specific uses include:
- Spatial queries: Databases like PostGIS use bounding boxes for initial filtering before running expensive polygon-intersection checks
- Map tile requests: Tile servers use bbox parameters to return only the tiles within a viewport
- Overpass API: OpenStreetMap’s Overpass API requires a bbox to limit query scope
- GeoJSON specification: The GeoJSON standard includes an optional
"bbox"property on any object - API parameters: Many geocoding, elevation, and satellite imagery APIs accept a bbox to define the area of interest
Bounding Box Generator Free: Common Formats
Different tools use different coordinate ordering β this trips up a lot of people. Here are the main formats:
[W, S, E, N] β GeoJSON / RFC 7946 standard:
[-74.26, 40.48, -73.70, 40.92]
Overpass API [S, W, N, E]:
(40.48,-74.26,40.92,-73.70)
CSV row (west, south, east, north):
west,south,east,north -74.26,40.48,-73.70,40.92
Our Bounding Box Generator copies all three formats instantly, so you never have to reorder coordinates by hand.
Bounding Box Generator Free: How to Generate Coordinates
Method 1 β Draw on the map: Hold Shift and drag on the map to draw a rectangle. The four coordinate values update immediately. On mobile, use the Draw Mode button.
Method 2 β From a GeoJSON feature: If you already have a polygon, use our GeoJSON Validator β it reads the bbox from the file. Alternatively, paste your GeoJSON into the GeoJSON Viewer which shows the extent.
Bounding Box in GeoJSON
The GeoJSON spec lets you attach a bbox array to any object. Our tool generates a complete GeoJSON Feature with the bbox embedded:
{
"type": "Feature",
"bbox": [-74.26, 40.48, -73.70, 40.92],
"geometry": {
"type": "Polygon",
"coordinates": [[[-74.26,40.48],[-73.70,40.48],
[-73.70,40.92],[-74.26,40.92],
[-74.26,40.48]]]
}
}This polygon can be pasted directly into QGIS, kepler.gl, or any GeoJSON viewer. Learn more about the GeoJSON specification at RFC 7946.
Bounding Box vs Convex Hull
A bounding box is always a rectangle aligned with latitude/longitude lines. A convex hull is the tightest polygon that wraps around the actual shape of your features.
You can also use our bounding box generator free online to visualize both shapes on a map. For irregular shapes, a convex hull is more accurate but slightly slower. Bounding boxes are simpler and faster. Use bbox for API queries; use convex hull for spatial analysis.
Try It Free
Generate your bounding box now with our free Bounding Box Generator. No account required, runs entirely in your browser. Trusted by developers and GIS professionals worldwide. Also useful: Coordinate Picker and GeoJSON Viewer.
References and Further Reading
For more information on geospatial data and bounding boxes: