What is IPv4 address conversion?
An IPv4 address is a 32-bit number that is conventionally written as four 8-bit octets separated by dots (e.g. 192.168.1.1). But that same 32-bit value can be written in many other forms: as a plain decimal integer (3232235777), as a hexadecimal string (0xC0A80101), in dotted-hex notation, or as a 32-bit binary string. Network tools, programming libraries, and router configurations use different representations — this tool converts between them all and shows network metadata like the address class, CIDR /24 range, and reverse DNS form.
How to use this tool
- 1 Enter an IPv4 address in any supported format: dotted decimal (192.168.1.1), decimal integer (3232235777), hex (0xC0A80101), binary (0b11000000…), or dotted-hex.
- 2 Click Convert or press Enter.
- 3 All representations appear at once, each with a copy button.
Frequently asked questions
What representations are supported?
Dotted decimal (192.168.1.1), decimal integer, hexadecimal (0x prefix), dotted hex (0xC0.0xA8.0x01.0x01), binary (0b prefix), and dotted octal notation.
What is the reverse DNS form?
Reverse DNS (PTR records) maps an IP to a hostname. The format reverses the octets and appends .in-addr.arpa — so 192.168.1.1 → 1.1.168.192.in-addr.arpa. This is the name queried in a PTR DNS lookup.
What are private IP ranges?
RFC 1918 defines three private ranges: 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16. These are not routed on the public internet and are used for local networks.
Does this tool support IPv6?
Not currently — it converts IPv4 (32-bit) addresses only. IPv6 support may be added in a future update.
Is my data sent to a server?
No. All conversions are pure arithmetic running locally in JavaScript. Nothing is transmitted.