What Is Geocoding? Turning Addresses into Coordinates
Every time you type an address into a map and a pin drops in the right place, you have used geocoding. It is the process of turning a human address โ a street, a number, a city โ into a pair of coordinates that a computer can plot on a map. The reverse process, turning coordinates into a readable address, is called reverse geocoding, and it is what happens when your phone tells you the name of the street you are standing on.
Geocoding works by matching your text against a huge database of addresses, roads, and places. The service breaks your input into parts โ house number, street, town, postcode, country โ and searches for the closest match, allowing for spelling mistakes and missing details. A good geocoder will still find 221B Baker Street if you type Baker St, London, and it will rank the results by how confident it is. The best services return not just coordinates but also a confidence score and the full formatted address.
Businesses use geocoding constantly, often without realising it. Delivery companies turn every order address into coordinates to plan routes. Property websites plot houses on a map so buyers can see the neighbourhood. Emergency services geocode a caller's address to dispatch the nearest ambulance. Even a simple store locator on a website is geocoding in action: your postcode goes in, the nearest branches come out, sorted by distance.
Reverse geocoding is just as useful. When a photo is tagged with a place name, when a ride-hailing app shows your pickup street, or when a weather app names your town โ that is reverse geocoding. It takes your coordinates, finds the nearest known address or place, and returns something a human can read. The result is not always the exact building; in rural areas it may return the nearest village or road, which is why the accuracy of a reverse-geocoded address varies with the quality of the underlying map data.
There are several major geocoding services. Google's is the most famous and the most accurate for businesses, but it is a paid service beyond a free allowance. OpenStreetMap's Nominatim is free and open, and it powers many smaller apps and websites. Mapbox, Here, and others offer their own versions with different strengths. For a personal project or a small website, the free options are usually more than enough, and our coordinates tools show the same idea in reverse โ paste in coordinates and get a map link for the spot.
Understanding geocoding helps you use maps better and spot why things go wrong. If a delivery went to the wrong house, the address was probably geocoded to the centre of the street rather than the building. If a new housing estate does not appear on a map, the geocoder's database has not caught up yet. The address you type is only as good as the data behind it โ and knowing that makes you a more forgiving, and more effective, map user.
Frequently Asked Questions
What is the difference between geocoding and reverse geocoding?
Geocoding turns an address into coordinates. Reverse geocoding turns coordinates into an address.
Why does my address show the wrong pin?
The geocoder matched your address to the centre of the street or postcode area, usually because the exact building is not in its database yet.
Is geocoding free?
OpenStreetMap's Nominatim is free with fair-use limits. Google and others offer a free monthly allowance, then charge per request.
More location guides
- How to Find Your Current Location on Any Device
- How to Share Your Live Location Safely with Friends and Family
- Latitude and Longitude Explained in Simple Words
- GPS Accuracy: Why It Goes Wrong and How to Improve It
- What Is a Timezone and How Do You Find Yours?
- Google Maps vs OpenStreetMap: Which Should You Use?
- How GPS Works: Satellites, Signals and Your Phone
- Plus Codes Explained: Addresses for Places Without Street Names
- Location Privacy: How to Protect Where You Go
- Distance Between Two Places: How It Is Calculated
- Offline Maps: How to Travel Without Internet
- Find My Phone: How Location Helps You Recover a Lost Device
- How to Drop a Pin and Share It with Anyone
- Emergency Location: How to Share Where You Are When It Matters
- IP Address vs GPS Location: What Is the Difference?
- How to Find the Coordinates of Any Place on the Map
- Do Location Services Drain Your Battery? What Really Helps
- Travelling Across Timezones: Beat Jet Lag and Stay on Time
- How Do Maps Know About Traffic? The Data Behind the Colours