GeoDataViewer
Menu
Launch Studio
Theme

Free Online Bounding Box Tool

Draw a bounding box on the map or enter coordinates manually. Get the bounding box in GeoJSON polygon format, WKT representation, or as a URL parameter for MapLibre / Mapbox maps.

What this tool does

Create a bounding box by clicking two diagonal corners on the map, or by entering min/max lat/lng values. Copy the result in your preferred format.

How to use

Click on the map to set the first corner, then click again to set the opposite corner. The bounding box appears in all formats instantly.

Export formats

GeoJSON Polygon, Well-Known Text (WKT) POLYGON, comma-separated (south, west, north, east), and MapLibre/Mapbox fitBounds URL format.

Use cases

API queries (Overpass Turbo, OpenStreetMap, satellite imagery), MapLibre fitBounds, GDAL warp/extract, and geographic extent analysis.

Privacy

All operations are local. The map data is served from OpenStreetMap tiles — your drawn box is not sent anywhere.

Coordinate system

All coordinates are in WGS84 (EPSG:4326) decimal degrees. Convert to UTM or other CRS using the coordinate converter tool.

Frequently Asked Questions

What is a bounding box?
A bounding box is a rectangular region defined by minimum and maximum latitude/longitude coordinates, commonly used to define geographic areas for data queries and map views.
How do I get a bounding box for OSM data?
Use this tool to draw a box around your area of interest. Copy the comma-separated format and paste it into Overpass Turbo or the Geofabrik API.
What format should I use for MapLibre?
Use the URL parameter format: #minX,minY,maxX,maxY. This can be appended to a MapLibre or Mapbox style URL to set the initial view.
Can I get the bounding box as GeoJSON?
Yes. The tool provides a GeoJSON Polygon representation that you can copy and paste into any application or save as a .geojson file.