Plausible IPv4 fixtures for tests and logs
An IPv4 address is four octets of 8 bits each (0 to 255), separated by dots. The generator draws each octet independently and uniformly, then joins them with dots. Output is one address per line, ready to paste into a log fixture, a firewall test plan, or a database seed.
There is no filtering. Reserved blocks (0.0.0.0/8, 10.0.0.0/8, 127.0.0.0/8, 192.168.0.0/16, 224.0.0.0/4, etc.) appear with their natural probability, which means a fraction of the output will land in private or non-routable ranges. If you need only public IPs, post-filter the result.
Use this for synthetic fixtures rather than for real-world targets. To generate plausible MAC addresses see the random MAC generator; for hex strings of any length see the random string generator.
How to use random ip address generator
- 1Open the tool. The input panel can be left empty.
- 2Set Count in the option panel (default 10, maximum 200).
- 3The output panel fills with that many IPv4 addresses, one per line.
- 4Click Copy to grab the list.
- 5Filter out reserved ranges by hand if you need only public IPs.
Keyboard shortcuts
Drive TextResult without touching the mouse.
| Shortcut | Action |
|---|---|
| Ctrl F | Open the find & replace panel inside the input Plus |
| Ctrl Z | Undo the last input change |
| Ctrl Shift Z | Redo |
| Ctrl Shift Enter | Toggle fullscreen focus on the editor Plus |
| Esc | Close find & replace, or exit fullscreen |
| Ctrl K | Open the command palette to jump to any tool Plus |
| Ctrl S | Save current workflow draft Plus |
| Ctrl P | Run a saved workflow Plus |
What this tool actually does
IPv4 dotted-decimal
Output is the standard A.B.C.D form, where each part is a decimal number from 0 to 255. No padding, no hex.
Each octet is independent and uniform
Each of the four octets is drawn independently from the uniform distribution on 0-255. There is no de-duplication or correlation between octets.
No filtering of reserved ranges
Private (10/8, 192.168/16), loopback (127/8), multicast (224/4), and other reserved blocks appear at their natural probability. Filter out blocks you do not want with a script after copying.
Bulk count up to 200
Count ranges from 1 to 200. Each address is independent; duplicates are very unlikely in any reasonably small batch.
Browser-only
Generated via Math.random() on each octet and joined with dots. No upload.
Worked example
Five IPv4 addresses. The first three are in the documentation prefixes (TEST-NET-1/2/3); the last two land in private ranges. The generator does not filter, so reserved blocks appear at their natural probability.
Count: 5
192.0.2.45 203.0.113.18 198.51.100.227 10.42.7.156 172.16.84.3
Settings reference
| Option | Effect on output |
|---|---|
| Count | How many addresses to emit. Default 10, minimum 1, maximum 200. One per line. |
| Format | A.B.C.D, decimal, no padding. |
| Octet range | Each octet is uniform on 0-255 (256 values). |
| Reserved blocks | Not filtered. Private, loopback, and multicast addresses appear at natural probability. |
| IP version | IPv4 only in this version. No IPv6 mode. |
| Random source | Math.random(). |
FAQ
Will I get IPv6 addresses?
Are private and reserved addresses excluded?
10/8, 172.16/12, 192.168/16) and another small fraction land in loopback or multicast. Filter them out with a script if you need only public IPs.