Skip to content

Maritime

UN/LOCODE Port Search

Find ports, airports and terminals worldwide by name or UN/LOCODE, with the location functions and coordinates.

Port name, city or UN/LOCODE

Results update as you type.
Try

UN/LOCODE function codes

1 seaport · 2 rail · 3 road terminal · 4 airport · 5 postal · 6 multimodal · 7 fixed transport · B border crossing

Search results

Type at least 2 letters

Results appear as you type.

Search results

Results appear as you type.

Data from the official UN/LOCODE release (UNECE). Coordinates are approximate; match the code with the one your carrier uses.

About this calculator

UN/LOCODE (United Nations Code for Trade and Transport Locations) is the location code list maintained by UNECE and used on almost every trade document: carrier bookings, bills of lading, manifests, customs declarations and terminal EDI messages. Every code has five characters: the two-letter ISO 3166 country code and a three-character location code. Examples are IDTPP for Tanjung Priok, IDSUB for Surabaya and SGSIN for Singapore.

This tool searches the UN/LOCODE list by name or code. Type at least two letters, such as "priok", "belawan" or "IDBLW", and results appear as you type. Each result shows the code split into country and location, the official name, the subdivision (province or state), coordinates when available, and the location functions from the UN/LOCODE Function column: seaport (1), rail terminal (2), road terminal (3), airport (4), postal exchange (5), multimodal (6), fixed transport such as pipelines (7) and border crossing (B).

The right code matters because one city can have several locations, and a wrong code on a booking or document can route cargo to the wrong terminal or get a document rejected. Switch on seaports only to filter out airports and inland terminals. When a port has a profile page on Stowage.id, the link appears in the result. The data comes from the official UN/LOCODE release and can lag behind recent changes; always match it with the code your carrier uses.

Worked example

Searching "priok" returns IDTPP – Tanjung Priok, Jakarta:

  • Code split: country ID, location TPP
  • Function 1-3----- → seaport and road terminal
  • Coordinates around 6.1° S, 106.88° E
  • A function of "12345---" reads seaport, rail, road, airport and postal; "-------B" means a border crossing.

Results without coordinates are still listed, and the port page link only appears when a profile exists.

How to use it

  1. Type a name or code

    Enter at least two letters of the port name, city or a UN/LOCODE such as IDTPP.

  2. Filter the results

    Switch on "seaports only" when you do not need airports or inland terminals.

  3. Read the location details

    Check the country and location code, subdivision, functions and coordinates, then open the port page when available.

Frequently asked questions

How do I read a UN/LOCODE?
The first two letters are the ISO 3166 country code (ID = Indonesia) and the next three characters are the location code. IDTPP means Indonesia, Tanjung Priok. Documents often print it with a space, such as "ID TPP".
What does a function value like "1-3-----" mean?
Each position stands for a function: 1 seaport, 2 rail, 3 road terminal, 4 airport, 5 postal, 6 multimodal, 7 fixed transport, B border crossing. "1-3-----" means the location is both a seaport and a road terminal.
Is a UN/LOCODE the same as an IATA airport code?
No. IATA codes have three letters and cover airports only, for example CGK. UN/LOCODE has five characters and covers every type of location; its location part sometimes matches the IATA code, but not always.
Why does my port not show up?
Try another spelling or the city name, because official names can differ from everyday names. Some small terminals are not listed in UN/LOCODE, and the newest release may not be loaded yet.
Can I use the coordinates for navigation?
No. UN/LOCODE coordinates are approximate positions with arc-minute precision, good enough for a map or a distance estimate, not for navigation or berth planning.

Related guides

3D Cargo Planner

Stow cartons, pallets and odd-shaped cargo in a container or truck, then download the loading steps.