City to IATA Code Converter

Choose a direction and enter a city name or IATA code.

How it is calculated

This is a lookup table, not a formula. It holds one primary airport code for about 50 major cities. In the City to IATA direction your text is trimmed, lower-cased, stripped of accents and has hyphens and repeated spaces collapsed, then it is matched against the city name exactly, so São Paulo, sao-paulo and İstanbul all work, but spelling still has to match the English name. In the IATA to City direction your letters are upper-cased and matched against the stored code. Each city has only one code, so Tokyo gives HND and London gives LHR; second airports such as NRT or LGW are not in the table. If nothing matches there is no result. The tool also shows the matched name or code and the direction used.

Worked example

Choose City to IATA and enter Tokyo. The text is folded to tokyo and found in the table. The code stored for Tokyo is the one for Haneda airport, so the result is HND, with the matched city shown as Tokyo. Reversing the direction and entering hnd returns Tokyo, but entering nrt returns nothing, because Narita is not stored.

Try this example →

Common mistakes

  • Typing a city outside the table, such as Lyon, or a longer form like New York City. Only the listed names match, so use New York.
  • Typing a local-language name. Londra or Moskova find nothing; use London and Moscow.
  • Expecting every airport of a city. Tokyo returns only HND, and entering NRT or LGW in the IATA to City direction finds nothing.
  • Leaving the direction on City to IATA while entering a code, or the other way round. A code like JFK is not a city name and gives no result in the wrong direction.
  • Treating the result as a metropolitan-area code. The table holds a primary airport code, which may differ from the code a booking site uses for the whole city.

About this calculator

Every major airport (and many cities as a whole) has a unique three-letter IATA code assigned by the International Air Transport Association — LHR for London Heathrow, JFK for New York, HND for Tokyo Haneda — used on tickets, baggage tags, and flight-booking systems worldwide instead of full airport names. Some codes represent a specific airport while metro-area codes can represent a whole city served by multiple airports.

This converter looks up a city's primary IATA code, or resolves a code back to its city, across roughly 50 of the busiest hubs globally. Each city has just one primary code, so a secondary airport's code (such as NRT for Tokyo Narita) is not recognised. It's a quick reference for travelers booking flights, travel agents, and anyone working with airline data or booking systems, where recognizing or entering the right three-letter code — rather than a full airport name — is often required.

Was this helpful?

You can pick up to 3 reactions.

Comments (1)

  • Editorial team

    Istanbul returns IST and London returns LHR, and typing LHR in the reverse direction brings back London. Each city maps to one airport only, yet large cities often have several, sometimes far apart. When you book, read the airport name on the confirmation and plan ground transport from that one, not from the city name. Which city would you like to see in the table, and which of its airports matters to you?

Popular calculators

All Calculators