Random Flight Number Generator
Generate a random flight number or a whole list of them in one click with Faker, then copy the list or download it as a text file.
Input
Output
Guide
What is a flight number?
A flight number identifies a scheduled flight. It starts with the two-character IATA code of the airline, followed by a number of one to four digits, and it appears on tickets, boarding passes and departure boards.
A random flight number generator makes values in that shape. Developers and testers use them in booking engines, boarding pass layouts, flight trackers and travel expense forms, designers put them on travel app mockups, and teachers use them in role-plays where students make boarding announcements.
Tool description
Flight numbers are what this page makes first, and a list is waiting as soon as it loads, one number per line. Count sets how many, Generate draws a new set, and the list can be copied or downloaded as a text file.
The Language list offers English, Persian and Chinese (China), and starts on the language of the page you're reading when it's one of them, or on English otherwise. The numbers look the same in every language; what changes is the list of airlines whose codes appear. English and Chinese (China) use airlines from all over the world, while Persian draws from a shorter list with many Iranian airlines, two of them with three-letter codes.
How the numbers are built
- Each value is an airline code followed by digits, with no space in between, in the pattern
XXNtoXXNNNN:XXis the code, two letters or a letter and a digit, and eachNis a digit. - The code belongs to a real airline. To see which one, switch to Airline, which shows each airline's name next to its code.
- Numbers with one, two, three and four digits are equally common, and none starts with 0.
- The number is random, not taken from a timetable, so it says nothing about a real route, though it may match a flight that exists. Keep these values for test systems and mockups.
Ideas for using it
- Fill a departure board mockup, with an airport from Airport next to each flight.
- Check that a booking form accepts every value, including codes with a digit in them and one-digit flight numbers.
Features
- Flight numbers in the usual format: an airline code plus one to four digits
- Codes of real airlines from English, Persian or Chinese (China) airline lists
- A new set with each press of Generate
- Copy the list or save it as a text file
- Runs in your browser: nothing you generate is sent anywhere