Geocoding API

Convert addresses or Place IDs to latitude/longitude coordinates and vice-versa.


Get Started

Start building with the Maps Geocoding API.

Get started with Google Maps Platform

Create an account, generate an API key, and start building.

Make your first geocoding request

Get the geographic coordinates for an address.

Client libraries

Use the Java, Python, Go, or Node.js client libraries to work with Google Maps Services on your server.

Geocoding in Maps JavaScript API

Add geocoding functionality to your web pages with the Maps JavaScript API Geocoder service.

Features

Learn about core features of the Maps Geocoding API.

Coordinate geocoding

Get the geographic coordinates for an address.

Reverse address lookup

Get the address for a set of lat/lng coordinates.

Place ID geocoding

Get the address for a Place ID.

Viewport biasing

Constrain a geocoding request to prefer results within a given viewport.

Region biasing

Constrain a geocoding request to return results within a particular region.

Component filtering

Restrict geocoding results to a specific country or postal code.

Example apps

Run live code samples on your local machine and favorite code playgrounds with the Maps JavaScript API.

Geocoding service

Get the geographic coordinates for an address or location.

Reverse geocoding

Get the address for a given set of geographic coordinates.

Reverse geocoding by Place ID

Get the address for a place ID.

Region code biasing

Restrict the results of a geocoding request to a specific region (ISO region code).

Geocoding with component restriction

Restrict the results of a geocoding request to a specific area (postal code, locality, country, route, or administrative area).

Help & support

Get help. Give help. Join the community.

Stack Overflow

Get help. Give Help. Build Maps karma.

Issue Tracker

Report a bug or open a feature request.

Platform status

Find out about platform incidents and outages.

Support

Get help from the Google Maps Platform team.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-08-27 UTC.