Skip to content

IP Address Converter

Embed

Paste this where you want IP Address Converter on your site. Adjust the height to fit.

<iframe src="https://www.browserutils.dev/embed/ip-address-converter/" width="100%" height="500" frameborder="0" loading="lazy" title="IP Address Converter"></iframe>
<p style="font-size:12px;margin:4px 0 0"><a href="https://www.browserutils.dev/tools/ip-address-converter/">IP Address Converter</a> by BrowserUtils</p>

Convert between IP formats (decimal, binary, hex).Runs in this tab.

How to use IP Address Converter

  1. Type in any one of the four fields: Dotted Decimal, Binary, Hexadecimal, or Integer. The other three update from it.
  2. Hex and binary need four dotted groups, such as C0.A8.01.01 or 11000000.10101000.00000001.00000001.
  3. The integer field accepts 0 through 4294967295. Clearing a field clears the other three.

IPv4 in four forms

Type in any field. The other three follow. Hex and binary are four dotted groups. The integer is an unsigned 32-bit number from 0 to 4,294,967,295.

Dotted decimal Binary Hex Integer
192.168.1.1 11000000.10101000.00000001.00000001 C0.A8.01.01 3232235777
192.168.0.1 11000000.10101000.00000000.00000001 C0.A8.00.01 3232235521
10.0.0.1 00001010.00000000.00000000.00000001 0A.00.00.01 167772161

C0.A8.00.01 in the Hexadecimal field is 192.168.0.1.

Addresses whose first octet is 128 or higher used to display as negative numbers, because a signed 24-bit shift turns the high bit into a minus. 192.168.1.1 showed -1062731519. The integer field now uses unsigned math, so that address shows 3232235777. 128.0.0.0 is 2147483648. 255.255.255.255 is 4294967295.

The converter is IPv4 only. It does not parse IPv6, CIDR, or a hostname, and it does not look up a link.

Next step

Questions

How do I convert hex to an IP address?
Type four hex groups in Hexadecimal. C0.A8.00.01 becomes 192.168.0.1. 192.168.1.1 is C0.A8.01.01 in hex and 11000000.10101000.00000001.00000001 in binary.
How do I convert a dotted IP address to an integer?
Type the address in Dotted Decimal and read Integer. 192.168.1.1 is 3232235777. 10.0.0.1 is 167772161, which is hex 0A.00.00.01. Addresses from 128.0.0.0 upward are unsigned 32-bit integers. 128.0.0.0 is 2147483648, and 255.255.255.255 is 4294967295.
Does this resolve a hostname or convert IPv6?
It converts one IPv4 address among dotted decimal, binary, hex, and integer. It does not look up a hostname, follow a link, parse IPv6, or calculate a CIDR range.

More in Web & Networking

All 23 web & networking