FP
CustomsTools
Home/Guides/Fix UN/LOCODE invalid format

Fix UN/LOCODE invalid format

UN/LOCODE is 5 characters: 2-letter country + 3-letter location. Invalid format breaks routing and documentation.

Common causes

  • Wrong length (not 5 chars).
  • Invalid country code.
  • Location code typo.

How to fix

  • Use format: CCLLL (e.g. USNYC).
  • Use Port Code Validator to check.
  • Refer to UN/LOCODE database.

Use our tool

Validate UN/LOCODE