MAC Address Generator
Generate random MAC addresses with separator, OUI, and multicast/locally-administered bit options.
Generate random, non-duplicate port numbers within well-known, registered, dynamic, or custom ranges.
This tool generates random port numbers for development and testing. It includes presets aligned with IANA’s classifications — well-known, registered, and dynamic/private — as well as a custom range where you can set your own min and max values.
Per IANA's registry, 0–1023 are well-known ports (used by widely recognized services like HTTP and SSH), 1024–49151 are registered ports (available for vendors and applications to register), and 49152–65535 are dynamic/private (ephemeral) ports, typically used for temporary purposes like client-side source ports.
The tool returns as many distinct port numbers as you requested. If the selected range doesn't contain enough ports for the requested count, an error message appears — widen the range or reduce the count.
This is handy for avoiding port conflicts when running multiple services locally, assigning ports in Docker Compose files or test code, and generating sample data for load testing.
This tool only generates random numbers within a range — it doesn't check whether the port is currently in use on your system. Before assigning a port, check its status with a command like `netstat` or `lsof -i`.