Hex code lookup and N-number converter

Type the six-character hex code from a flight tracker, or an American tail number, and get what the code alone gives away: the country that issued it, the matching US registration, and whether it falls in a range used by military aircraft.

Written and maintained by Jacob McEwen, M.S. Electrical Engineering·Last updated
Try:
Hex code
A00002
US tail number
N1A
Issued by
United States
Block
A00000 to AFFFFF (1,048,576 addresses)
Military range
Not in a listed military range.
As 24 bits
1010 0000 0000 0000 0000 0010

How the American conversion works

The federal rule for registration numbers, 14 CFR 47.15, allows the letter N and up to five more symbols: “all numbers (N10000), one to four numbers and one suffix letter (N 1000A), or one to three numbers and two suffix letters (N 100AB).” The letters I and O are never used, and the number cannot begin with zero. That makes 915,399 possible tail numbers, and each has an address of its own, in order: N1 is A00001 and N99999 is ADF7C7.

The order is a dictionary order in which letters come before digits. After N1 come N1A, then N1AA through N1AZ, then N1B, and so on to N1ZZ: 601 tail numbers before N10 is reached. Everything that starts with N1 takes 101,711 addresses, so N2 sits exactly that far above N1, at A18D50, and N2A is the next one, A18D51. The converter counts its way through the same blocks in either direction.

How it was checked

The converter was run over every one of the 915,399 addresses and back again without a mismatch. It was also compared with the real world: on November 30, 2026, this site’s recorder held 498 American-registered aircraft, each with the registration the receiver network reported, and the converter gave the same tail number for all 498.

Country and military labels

ICAO hands blocks of addresses to countries, and the country is read from the block an address falls in. The military label comes from a list kept by the flight tracking community, built from what receivers observe. It is not an official register, so an address outside those ranges can still belong to a military aircraft. For the United States the range is simple: everything from ADF7C8, the first address after the last tail number, to AFFFFF.

What a hex code cannot tell you

It says nothing about the airline, the aircraft type or the owner. Outside the United States it does not give the registration either, because other countries do not publish a formula. And a few American aircraft fly with a temporary address that is deliberately not tied to their tail number. The guide to ICAO hex codes covers those cases, and the message decoder shows where the address sits in a raw transmission.

Sources