Free Online IP Address Converter
Convert an IPv4 or IPv6 address to decimal, hex, binary and octal, expand or shorten IPv6, and see its reverse DNS name and whether it is private.
IP address
IPv4 or IPv6, in any common form
Dotted decimal, a whole number, 0x hex, 32 binary digits, or IPv6.
Forms
Every way to write the address
Enter an address to see it as decimal, hex, binary and more. This tool converts what you type. It does not look up your own IP address.
How to use
Type or paste an IPv4 address, a whole number, a hex value, 32 binary digits or an IPv6 address.
Read each form of the address and copy the one you need.
Use the examples to see how the forms line up, for example 192.168.1.1, 3232235777 and 0xC0A80101.
Why use this tool
Many forms of IPv4
Dotted decimal, whole number, hex, dotted hex, binary and dotted octal.
IPv6 forms
Shortest form, full form with every group, whole number, hex and binary.
Reverse DNS names
The in-addr.arpa and ip6.arpa names for the address.
What kind of address
Private, loopback, link-local, shared, documentation, multicast, reserved or public.
Accepts any form
Type the number, hex or binary form and get the dotted address back.
About this tool
The IP Address Converter writes one IP address in every form you might need. Enter a dotted IPv4 address, a whole number such as 3232235777, a hex value such as 0xC0A80101 or 32 binary digits, and you get the dotted decimal, whole number, hex, dotted hex, binary, dotted octal, the IPv4-mapped IPv6 form and the reverse DNS name. Enter an IPv6 address and you get its shortest form, its full form with every group written out, its whole number, hex, binary and reverse DNS name. The tool also says whether the address is private, loopback, link-local, documentation or public. It converts what you type, and it does not look up your own IP address.
Frequently asked questions
An IPv4 address is a 32-bit number. Databases, firewalls and some code store it as a whole number, which is easier to compare and sort. 192.168.1.1 is 3232235777.
Leading zeros in each group can be dropped, and one run of all-zero groups can be replaced with a double colon. The tool shows both the shortest form and the full form.
It is the name used to look up the host name for an IP address. For IPv4 the octets are reversed and followed by in-addr.arpa, so 192.168.1.1 becomes 1.1.168.192.in-addr.arpa.
No. The tool converts the address you type. It does not contact a server, so it cannot find your public IP address.
It is a way to write an IPv4 address inside the IPv6 address space, as ::ffff: followed by the 32 bits, so 192.168.1.1 is ::ffff:c0a8:101.