Generate Random Network Ports

Get random port numbers. The default range is IANA registered ports (1024–49151). You can instead use well-known ports (1–1023), dynamic ports (49152–65535), or a custom min and max. You set the count, whether duplicates are allowed, and whether to sort. The count cannot exceed 1000. Common ports such as 80 or 443 can be labelled with their usual service name.

This tool runs in your web browser: your files and text are processed on your device and are not uploaded to TidyKit servers. Free, no sign-up.

How to generate ports

1. Choose a range, or enter a custom min and max. 2. Set how many ports you need. 3. Decide on unique values and sorting. 4. Copy the list.

Five unique registered ports might be used as ephemeral test listeners. Asking for more unique ports than the range contains is rejected.

Privacy

Ports are generated in the browser. Nothing is uploaded. This does not open ports on your machine and is not a security scanner.

Frequently asked questions

What are well-known versus registered ports?

Well-known ports are 1–1023 (often system services). Registered ports are 1024–49151. Dynamic ports are 49152–65535.

Is anything sent to a server?

No.

Why is there a limit of 1000?

The tool caps the count at 1000 to keep the page responsive.

Does a label like HTTPS mean the port is in use on my computer?

No. It only notes the service that port is commonly associated with.

More Number Tools