Tools

libpostal

ID libpostal

other

Open-source C library for parsing and normalizing street addresses, trained on OpenStreetMap and OpenAddresses data and usable in many countries and languages. The parser splits an address string into labeled components such as house, house number, road, unit, level, po box, suburb, city, state district, state, postcode, country region and country. Bindings exist for most higher-level languages. The supported types cover only registry datatypes that match a documented type.

Website
https://github.com/openvenues/libpostal
Supported types
6

Supported semantic types

IDNameCategoriesCountriesDescription
address Address (physical location) PII stable common, pii, geo global Geographic address, commonly consist of postindex, country, area, town, street and building
city City PII stable geo, pii, common global A city is a large human settlement. It can be defined as a permanent and densely settled place with administratively defined boundaries...
country Country code or name stable geo global A country is a distinct territorial body or political entity. It may be an independent sovereign state or part of a larger state,[2] as...
postindex Postal code/index PII stable geo, pii, common global Postal index/code, unique post identifier used in address
state State (name or code) geo global Name or code of a state or a similar first-level administrative division of a country.
street Street PII geo, pii, common global Name of the street, commonly used in address

Use this record