Skip to main content

IPv4 converter.

Enter an IPv4 address in any common form to see it written every other way.

Input

For example 178.18.0.1, 2987524097 or 0xB2120001

Result

Dotted decimal
178.18.0.1
Integer
2987524097
Hexadecimal
0xB2120001
Binary
10110010.00010010.00000000.00000001
IPv6 (mapped, short)
::ffff:b212:1
IPv6 (mapped, full)
0000:0000:0000:0000:0000:ffff:b212:0001
Reverse DNS name
1.0.18.178.in-addr.arpa
Address type
Public

178.18.0.1 = 2987524097 = 0xB2120001

How it works

An IPv4 address is just a 32-bit number. The dotted form splits it into four bytes, but some software stores or expects it as a single integer or hex value.

The IPv4-mapped IPv6 form (::ffff:…) is how dual-stack systems show an IPv4 client, and the reverse DNS name is where its PTR record lives.