Random Airport Generator

Random Airport Generator
Random Airport Generator

Project Information

Random Airport Generator is a Python-based tool that generates synthetic airport information.

This project creates a JSON file filled with simulated airport data, including details like airport name, IATA airport code, city, country, and more. Users can generate this JSON file by executing the Python script, providing a convenient way to generate synthetic airport information for various purposes.

The motivation behind this project is to eliminate the reliance on third-party data sources and the associated concerns related to copyright and legal issues, thereby offering users a simulated airport data solution that doesn't entail using real, potentially copyrighted, data.


When allAirports is set True. The program will generate all airport codes AAA to ZZZ, consisting of a total of 17576 airports.

When allAirports is set to False. The program will generate the total amount of airports based on the value of totalAirports.

The seperator is used to indicate which country and city a randomly generated airport live in. The default is set to 50.

List of countries used:

  • Java Kotlin Empire
  • C Family Empire
  • JavaScript TypeScript Empire
  • Python Empire
  • PHP Empire
  • Ruby Empire
  • MatLab Empire
  • Assembly Empire
  • Go Empire
  • HTML CSS Empire
  • SQL Empire
  • NoSQL Empire
  • Unity Empire
  • Rust Empire
  • Swift Empire
  • Unreal Engine Empire
  • R Empire
  • Dart Empire
  • Perl Empire
  • Scala Empire

List of cities used:

  • Garnet
  • Amethyst
  • Aquamarine
  • Diamond
  • Emerald
  • Pearl
  • Ruby
  • Peridot
  • Sapphire
  • Opal
  • Citrine
  • Turquoise