How to Use the Random IPv4 and IPv6 Address Generator
- 1Select IPv4 or IPv6 under IP Version.
- 2Set Address Count to control the number of output lines.
- 3Use Generate and inspect the separators and groups for the selected version.
- 4Copy the example addresses into the local fixture or preview where you need them.
Input & Output Examples
One possible dotted-decimal address shape for a parser fixture.
Input Sample
One IPv4 addressExpected Output
192.0.2.42One possible expanded address shape. All eight four-digit groups are visible.
Input Sample
One IPv6 addressExpected Output
2001:0db8:0000:0012:0000:0000:0000:0010Practical Developer Workflows
- Create a text fixture that exercises a dotted IPv4 parser.
- Preview how a table displays full-length IPv6 notation.
- Test a version selector with separate sets of IPv4 and IPv6 samples.
Zero Server Uploads & Complete Privacy
Runs 100% in your browser; no data is uploaded to any server.
Notice a bug, calculation error, or outdated info?
Let us know directly so our engineering team can fix it.
Frequently Asked Questions
The generator displays every group with four hexadecimal digits, including leading zeroes. It does not compress a run of zero groups. This makes the overall width consistent when testing an interface that accepts expanded addresses.