OnlineMapMaker logo

Bounding Box Tool — Draw, Rotate and Export a Boundary Box

Click and drag on the map to draw a bounding box, or type exact North / South / East / West coordinates. Rotate the box to any angle, check its corner coordinates in WGS84, UTM or Web Mercator, and download it as GeoJSON or as a plain-text coordinate list — fast, in your browser, with no extra program needed. Open in full screen ↗

Rate this tool:
Advertisement
Advertisement
Loading map…
Need assistance with your GIS project?Explore Our Services

What Is a Bounding Box?

A bounding box, also called a boundary box, is the smallest rectangle that fully contains an area, a route, or a set of points. In GIS and mapping work, it is usually described by four numbers: North, South, East and West — or, in other words, the highest latitude, the lowest latitude, the highest longitude and the lowest longitude that the rectangle reaches. You may also see it called a 2D bounding box, an extent, or an envelope — all of these words describe the same idea: a simple rectangular outline that marks where an area starts and ends.

Real-World Use Cases

🛰️
Satellite and Aerial Imagery Ordering
Satellite imagery providers and tasking platforms ask for a bounding box as the area of interest (AOI) before capturing or delivering new imagery — draw the area once and copy the coordinates straight into the order form.
🌐
Web Map and Tile Service Configuration
Developers setting up a WMS, WFS, or custom tile service need to define the bounding box (extent) that the service should cover, in the exact coordinate system the service expects.
🚁
Drone and Aerial Survey Planning
Drone pilots and surveyors define a rotated bounding box that lines up with a field, runway or site boundary, instead of a North-South rectangle that wastes flight time covering extra ground.
🔬
Study Area Definition for Research
Researchers and environmental scientists mark out the exact rectangular study area for a project, then share the bounding box coordinates with collaborators so everyone works from the same extent.
🖨️
Map Print and Export Layout
Cartographers and report writers define the exact rectangular extent they want to print or export, then use the coordinates to set up a consistent map layout every time.
🚨
Disaster Response and Situational Reports
Emergency planners quickly draw a bounding box around an affected area to define a simple envelope for briefings, data requests, or coordination with other agencies.
🗄️
Spatial Database Queries
Developers testing spatial queries in PostGIS, MongoDB, or similar databases use a bounding box's corner coordinates to build envelope filters like ST_MakeEnvelope, without doing the math by hand.
🔌
Geospatial API Queries
Many mapping and data APIs — from OpenStreetMap's Overpass API to weather, biodiversity and open-data services — accept a bbox parameter of South, West, North, East. Draw the area you need and copy the numbers directly.

Watch: Bounding Box Tool in Under a Minute

Prefer to watch instead of read? This short walkthrough covers drawing a shape, generating its bounding box, rotating it, and exporting the result.

Choosing a Coordinate System

The sidebar shows your box's four corner coordinates in the coordinate system you pick, so you can copy numbers straight into the format your next tool expects:

  • WGS84 (Latitude / Longitude): the standard system used by GPS, GeoJSON, and almost every web map. Coordinates are shown in decimal degrees.
  • UTM (Easting / Northing): a metric grid system split into numbered zones. The tool works out the correct UTM zone automatically from your box's center point, and shows coordinates in meters.
  • Web Mercator (X / Y): the projection used internally by most web map tiles (EPSG:3857). Coordinates are shown in meters, useful when working with tile-based mapping systems.

Downloading Your Bounding Box

Two export options are always ready in the sidebar once you have a box:

  • Download GeoJSON: saves your box as a GeoJSON polygon feature in WGS84 (the coordinate system the GeoJSON standard requires), including its rotation angle, width, height and area as properties.
  • Download Coordinates (.txt): saves a plain-text file listing all four corners in the coordinate system you currently have selected, along with the rotation angle, width, height and area.

The GeoJSON file opens without problems in Leaflet, Mapbox GL JS, QGIS and ArcGIS, and works directly as an area-of-interest (AOI) parameter for many satellite imagery and geospatial APIs.

Advertisement
Advertisement

Common Questions

How accurate are the width, height and area figures?
They are calculated using great-circle distance between the box's corners, which is accurate for the vast majority of real-world bounding boxes. For extremely large boxes spanning a big part of the globe, treat the area figure as an estimate rather than a surveying-grade measurement.
What is the difference between a bounding box and a boundary box?
There is no difference — "bounding box" and "boundary box" are two common names for the same thing: the smallest rectangle that fully contains an area, route, or set of points. This tool uses both words so it is easy to find, whichever term you search for.
Can I change the box's color?
Yes. Click the color box in the sidebar and pick any color — it updates the box on the map immediately.
How is the UTM zone chosen?
The tool works out the correct UTM zone automatically from the longitude of your box's center point, and the hemisphere (North or South) from its latitude — you do not need to look up the zone number yourself.
Is my bounding box data sent to a server?
No. Drawing, rotation, and coordinate conversion all run in your own browser, using the Turf.js and Proj4js libraries. Nothing is sent to or kept on a server, so it is safe to use with private or sensitive location data.
Can I type coordinates instead of drawing on the map?
Yes. Enter North, South, East and West values into the sidebar fields and click "Set Box From Coordinates". This also works for editing a box you already drew — just adjust the numbers and click the button again.
Can I rotate the bounding box, or is it always aligned to North?
You can rotate it to any angle from -180° to 180° using the Rotation slider. The box turns clockwise around its own center point, which is useful when your real area of interest is angled — a field, a runway, or a survey strip that does not line up North-South.
Why does the GeoJSON download always use WGS84, even if I picked UTM or Web Mercator?
The GeoJSON standard requires coordinates in WGS84 longitude/latitude — that rule is fixed, so the GeoJSON file this tool creates always follows it, no matter which coordinate system you were viewing on screen. If you need UTM or Web Mercator numbers, use the "Download Coordinates (.txt)" button instead.
What does "2D bounding box" mean?
A 2D bounding box is a bounding box on a flat, two-dimensional plane — defined by just two coordinate values per corner (for example, latitude and longitude, or X and Y), rather than a 3D box that would also include a height or elevation range. Almost all mapping bounding boxes, including the ones this tool creates, are 2D.
What is inside the downloaded coordinate text file?
It lists all four corners of your box (Southwest, Southeast, Northeast, Northwest) in the coordinate system you currently have selected, plus the rotation angle, width, height and area.
Why was my manual bounding box rejected?
This happens if North is not greater than South, if East is not greater than West, or if a latitude is outside -90 to 90 or a longitude is outside -180 to 180. Boxes that cross the 180° antimeridian line are not supported.
What coordinate systems can I see my box in?
Three: WGS84 (standard latitude/longitude, used by GPS and GeoJSON), UTM (a metric grid split into zones, with the zone worked out automatically from your box), and Web Mercator (the projection used by most web map tiles, EPSG:3857).

Rotating Your Bounding Box

Most bounding boxes are drawn lined up with North, but a real area of interest — a field, a runway, a survey strip, a building footprint — is often angled instead. Drag the Rotation slider to turn your box clockwise around its own center, from -180° to 180°, and watch the shape and its corner coordinates update instantly. This is especially useful for drone and aerial survey planning, where flight lines are flown along the angle of the field or site, not strictly North-South.

Advertisement
Advertisement

Two Ways to Create Your Bounding Box

Build your bounding box with whichever method fits your work best:

  • Draw on the map: Click "Draw Bounding Box", then click and drag on the map from one corner to the opposite corner. Release the mouse button to finish — an axis-aligned rectangle appears instantly, and its coordinates fill in below.
  • Type exact coordinates: Enter North, South, East and West values directly into the sidebar fields and click "Set Box From Coordinates". This is the fastest way to recreate a bounding box you already have written down, or one copied from another tool or API.

Step by Step

1
Step 1
Open the tool
The map opens on a world view with no box yet. The toolbar at the top has Draw Bounding Box, Sample Box and a basemap switch. The sidebar holds coordinate entry, rotation, coordinate system, and export.
2
Step 2
Draw or type your box
Click "Draw Bounding Box" and drag across the map, or type North, South, East and West values and click "Set Box From Coordinates".
3
Step 3
Check the box appears
An axis-aligned rectangle appears on the map, and the coordinate fields and corner list update to match it.
4
Step 4
Rotate it if you need to
Drag the Rotation slider to angle the box clockwise around its center — useful for surveys, fields, or sites that are not aligned North-South.
5
Step 5
Pick a coordinate system
Choose WGS84, UTM, or Web Mercator from the dropdown to see the box's four corners in that system.
6
Step 6
Read the box info
The sidebar shows the width, height and area of your box, updating live as you rotate or resize it.
7
Step 7
Adjust the color if you like
Click the color box to change how the bounding box is drawn on the map.
8
Step 8
Download GeoJSON
Click "Download GeoJSON" to save the box as a standard GeoJSON polygon, ready for any GIS tool or API.
9
Step 9
Or download the coordinate list
Click "Download Coordinates (.txt)" to save a plain-text file with all four corners in your chosen coordinate system.
Advertisement
Advertisement

More Tools You Might Like

Map tiles © OpenStreetMap contributors, drawn with Protomaps (hosted by KONAKTIVE), with CARTO as the fallback. Satellite imagery: Esri. Geometry calculations: Turf.js. Coordinate conversion: Proj4js. Map rendering: Leaflet. All calculations run in your browser, and nothing you enter is stored on a server.

Muhammad Gulraiz Khan, GIS Expert and Founder of KONAKTIVE and OnlineMapMaker.com

About the Author

Muhammad Gulraiz Khan

GIS Expert & Consultant · Founder, KONAKTIVE

Muhammad Gulraiz Khan is a GIS expert with over a decade of professional experience delivering geospatial solutions for the energy sector, including projects for the World Bank, the International Finance Corporation (IFC), and USAID. He built OnlineMapMaker.com to make professional-grade mapping tools free and accessible to everyone.

Advertisement
Advertisement