Tile & Quadkey Calculator

Convert between lat/lon/zoom and XYZ slippy-map tiles (OSM/Google scheme) and Bing quadkeys. Shows the tile's bounding box and center.

Lat / Lon / Zoom โ†’ Tile

Tile X / Y / Zโ€”
Quadkeyโ€”
Tile URL (template)โ€”

Tile Z/X/Y โ†’ Bounds

BBox (W,S,E,N)โ€”
Center (lat, lon)โ€”
Quadkeyโ€”

About the tile & quadkey calculator

Web maps are made of 256ร—256 pixel tiles addressed by Z/X/Y (zoom, column, row) in the "slippy map" scheme used by OpenStreetMap, Google and Mapbox. Microsoft Bing uses a single quadkey string instead. This calculator converts a latitude/longitude/zoom into its tile and quadkey, and back into a tile's bounding box and centre.

How to use it

  1. Enter lat, lon and zoom to get the tile X/Y and quadkey, plus a ready-to-use tile URL.
  2. Or enter Z/X/Y to get that tile's geographic bounds.

Frequently asked questions

What zoom levels are valid?

0 (the whole world in one tile) up to about 22 (sub-metre detail). At zoom z there are 2z tiles across and down.

What is a quadkey?

Bing's scheme encodes a tile's X, Y and zoom into one base-4 string, where each digit refines the quadrant. It's interchangeable with Z/X/Y.