Use IP Number Converter
Convert IPv4 and IPv6 addresses to exact decimal integers, hex and binary. Start with the sample, select the options and run the tool. Copy or download the result after reviewing it.
Behavior and limits
IPv4 uses 32 bits and IPv6 uses 128 bits, both in network byte order. Integer values outside the selected address range are rejected. IPv6 output uses compressed notation; port numbers and CIDR prefixes are not accepted here.
Example input
192.0.2.1
Expected behavior for the example
Decimal: 3221225985; hex: 0xc0000201
Check important output in the application that will consume it. Use the tool directory to find related formats and tasks.
Frequently asked questions
How does IP Number Converter handle my input?
IPv4 uses 32 bits and IPv6 uses 128 bits, both in network byte order. Integer values outside the selected address range are rejected. IPv6 output uses compressed notation; port numbers and CIDR prefixes are not accepted here.
Is my input uploaded or saved automatically?
Processing runs locally in this browser. Input and results are not saved automatically. Downloads happen only when you choose them. The static preview blocks scripts and external resources when one is available.