<iframe width="100%" height="450" style="border:0; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.08);" loading="lazy" allowfullscreen referrerpolicy="no-referrer-when-downgrade" src="https://maps.google.com/maps?q=Golden%20Gate%20Bridge%2C%20San%20Francisco%2C%20CA&t=m&z=14&ie=UTF8&iwloc=&output=embed" ></iframe>
Runs entirely in your browser — your inputs never leave this page.
How this tool works
- 1
Interprets base-4 QuadKey digits where each digit represents a quadrant in a recursive 2D quadtree structure.
Common uses
- Spatial indexing and big data geospatial partitioning
- Bing Maps API tile integration
- Hierarchical tile caching
Frequently asked questions
The length of the QuadKey string corresponds directly to the zoom level; each additional digit zooms in one level deeper.
More in Developer Tools
- Tile XYZ CalculatorConvert between latitude/longitude, zoom levels, and standard slippy map tile coordinates (X, Y, Z). Calculate geographic bounding boxes and URL patterns.
- API PlaygroundInteractive API console to test serverless geocoding, geodesic distance matrices, elevation profiles, and time zone endpoints with copyable cURL and JSON payloads.
- Map Embed GeneratorGenerate clean, fast-loading, responsive HTML iframe embed snippets for interactive maps to embed in websites and blogs.
- Tile Coordinate CalculatorConvert latitude and longitude coordinates into Slippy Map tile numbers (X, Y, Zoom level) and compute geographic bounding boxes.
- QuadKey ConverterConvert Slippy Map XYZ coordinates to Bing Maps QuadKey hierarchical spatial indices and back with visual quadtree breakdown.
- GeoJSON ValidatorPaste or drop a GeoJSON file to validate it against RFC 7946. Get pinpointed errors, one-click fixes for unclosed rings and winding order, and a clean download.
- US Address GeneratorGenerate random US test addresses with a real city, state and ZIP code pairing. Pick a state, choose how many you need, and copy realistic placeholder addresses for form testing, QA and demos — each with approximate map coordinates.
- UK Address GeneratorGenerate random UK test addresses with a real town, county and postcode district. Choose a town, pick how many you need, and copy correctly formatted placeholder addresses for form testing, QA and demos.
- US Phone GeneratorGenerate random US test phone numbers with real area codes for real cities — but always in the reserved fictional 555-0100 to 555-0199 range, so a generated number can never belong to a real person. Built for form testing, QA and demos.
- Polyline Encoder & DecoderConvert a list of latitude/longitude points into a Google encoded polyline string, and decode any encoded polyline back into coordinates. Choose precision 5 (the Google Maps standard) or 6, see the route drawn on a map, and copy the result — all in your browser.
- Photo GPS EditorSee the GPS location stored inside a JPEG photo, move it to the right place, or strip it out before you share the picture. Everything happens in your browser — your photo is never uploaded.
Decoding a Bing Maps Quadkey Found in a Legacy Dataset
A GIS analyst in Austin, Texas inherits a spreadsheet of more than 200 traffic camera locations from an old project. Instead of normal map tile numbers, every row holds a strange string of digits like 213, labeled quadkey, from the Bing Maps tile system. To plot the cameras on her modern map, she opens the quadkey converter to turn each string back into standard X and Y tile numbers and coordinates.
The converter shows her how a quadkey is built, and she works one by hand to be sure she trusts it. Take a tile at zoom level 3 with X equal to 3 and Y equal to 5. Write them in binary: X is 011 and Y is 101. Now read the bits from left to right, one column at a time, and build each quadkey digit by adding the X bit plus twice the Y bit. First column: X bit 0, Y bit 1, so 0 plus 2 equals 2. Second column: X bit 1, Y bit 0, so 1. Third column: both bits are 1, so 1 plus 2 equals 3. The quadkey is 213, exactly what the spreadsheet said, and the conversion runs in reverse just as cleanly.
That hand check confirms the spreadsheet is honest, and the rules behind it are simple. A quadkey's length equals its zoom level, so a 12-digit quadkey means zoom 12. Chopping the last digit off gives the parent tile one zoom level up, so 213 lives inside 21. Adding a digit, 0, 1, 2, or 3, gives the four child tiles one level down. Her camera at 213 has siblings 210, 211, and 212 sharing the same parent. She uses that prefix trick on the whole dataset: cameras sharing the first six digits cluster in the same neighborhood, which lets her group the 200-plus rows by district before she maps a single point. Twice she finds pairs of cameras whose quadkeys agree for eleven digits and differ only in the last, which tells her they watch neighboring corners of the same large interchange before she ever sees them plotted.
She pastes the full list of quadkeys into the converter, gets X, Y, and zoom for each camera, plus bounding boxes she can drop straight into her mapping library. A column of mystery digits becomes a layer of camera locations by lunchtime. She documents the conversion method in the project file, including the warning about leading zeros, so the next analyst who inherits the spreadsheet never has to rediscover how it works.
Common mistakes to avoid
- Dropping leading zeros from quadkeys. Quadkeys are strings, not numbers. A quadkey of 0123 is zoom 4, while 123 is zoom 3, a completely different tile. Spreadsheets that store them as numbers silently destroy the data, and the damage is invisible until points land in the wrong city.
- Reading the digits backwards. The first digit is the most significant, representing the lowest zoom level, and each following digit zooms one step deeper. Reversing the string produces a valid-looking quadkey for a tile somewhere else entirely, so the error survives casual checking.
- Feeding quadkeys into a TMS tile server. Some older tile systems flip the Y axis compared with Bing and XYZ. A quadkey converted with the wrong Y orientation lands your tile in the opposite hemisphere at the same latitude, a mistake that looks like a data error but is really a scheme mismatch.
Pro tips
- Count the characters first: the length of the quadkey tells you the zoom level before any math.
- To group nearby locations, compare shared prefixes, since tiles sharing the first digits sit close together.
- Keep quadkeys stored as text in spreadsheets and databases so leading zeros survive.
Applied Geospatial: Aviation, Marine, Time & Map APIs
Where mapping meets the real world: how planes navigate the curve of the Earth, how ships measure the sea, how time zones really work, and how developers build on map tiles and APIs. Written for QuadKey to XYZ Tile & Bounding Box Converter and the everyday mapping tasks around it.
Great-Circle Navigation: Why Planes Arc
The shortest path between two points on a sphere is a great circle — the route you get slicing the planet through its center. On a flat map this looks like a dramatic arc, which is why New York to Tokyo flights swing near Alaska. The map is lying; the plane is flying straight.
Airlines do not fly perfect great circles. Jet streams — rivers of wind at 35,000 feet — can add 100 mph to ground speed or subtract it. Dispatchers nudge routes into favorable winds, trading a few extra miles for much faster trips. The planned track is a great circle bent by the weather.
For flight planning, distances come in flavors. Great-circle miles are the geometric minimum; filed flight plans run 3 to 7 percent longer for airways and maneuvering. Fuel planning adds reserves on top. When a tool reports 5,500 miles for a transatlantic hop, the airline plans for 5,800.
Airports are identified by two code systems. The 3-letter IATA codes (JFK, LHR, CDG) are for travelers; the 4-letter ICAO codes (KJFK, EGLL, LFPG) are for pilots and air traffic control, with the first letter naming the region. Both point to the same runways.
At Sea: Nautical Miles, Knots & Rhumb Lines
A nautical mile is one minute of latitude — about 1.15 land miles or 1.85 kilometers. Because it derives from the Earth's geometry, it is the natural unit for marine navigation: one minute of latitude traveled equals one nautical mile made good, anywhere on the planet.
Speed at sea is measured in knots — nautical miles per hour. The word comes from sailors tossing a knotted rope overboard and counting knots paid out against a sandglass. A container ship at 20 knots covers about 480 nautical miles a day, which is why your overseas order takes weeks.
Sailors historically steered rhumb lines: courses of constant compass bearing. A rhumb line spirals toward the pole and runs longer than the great circle, but it is trivially easy to follow — just hold the heading. Modern ships with GPS follow great circles, but the rhumb line remains the backup every navigator learns.
Ports are the fixed points of maritime geography. Each major harbor publishes exact coordinates for its harbor entrance, and shipping contracts price by port pair. A few miles of error in a port position can misroute a vessel into the wrong traffic lane — precision matters even on the open ocean.
This page shows the first two chapters. Read the complete this category field guide →