UTILS.
Private by default
ⓘ

IP Address Converter

Convert an IPv4 address to integer, hex and dotted binary, and back.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →

—

About this tool

Convert an IPv4 address into its 32-bit integer, hexadecimal and dotted-binary forms, and turn an integer back into an address, all in your browser.

Both directions are IPv4 only. The top box needs exactly four dot-separated parts, each a plain number from 0 to 255; parts with leading zeros such as 010 are rejected as ambiguous. It shows the unsigned 32-bit integer, hex as 0x plus eight upper-case digits (192.168.1.1 gives 0xC0A80101), and the octets as 8-bit binary joined by dots. Clicking a result copies it.

The lower box turns a whole number from 0 to 4,294,967,295 back into dotted form. It accepts decimal digits only, so hex, signs and decimals are invalid, and larger numbers show out of range. IPv6, CIDR masks and subnet calculations are not handled.

Frequently asked questions

How is the integer computed?
Each octet is weighted by 256: a.b.c.d becomes ((a×256 + b)×256 + c)×256 + d, a 32-bit unsigned value.
What values are accepted?
Four octets each 0–255 for the address, and an integer from 0 to 4294967295 for the reverse direction.
Why is 192.168.01.1 rejected?
Leading zeros are refused as ambiguous (they can be read as octal). Write each part as a plain decimal number.
Can I convert a hex value back to an address?
Not directly. The integer box accepts decimal digits only, so convert the hex to decimal first.

More tools