IP Address Converter
Convert IPv4 addresses between dotted decimal, binary, hexadecimal, and 32-bit integer formats instantly. Free browser tool — no uploads or sign-up required.
Added Jun 1, 2026
Input
Result
Enter a value for value to see your result.
How it works
Converts an IPv4 address between dotted-decimal, binary, hexadecimal, and unsigned 32-bit integer representations. Useful for debugging network configs, understanding bitwise subnet math, and working with APIs that store IPs as integers.
Step by step
- 01Select the format of your input value (dotted decimal, binary, hex, or integer).
- 02Enter the IP address or numeric value.
- 03All four representations are computed and shown simultaneously for easy copy-paste.
Examples
Dotted decimal 192.168.1.1
192.168.1.1 is a common default gateway — 3232235777 as a 32-bit integer.
Inputs
- Input format:
- dotted
- Value:
- 192.168.1.1
Result
- Dotted decimal:
- 192.168.1.1
- Hexadecimal:
- C0.A8.01.01
- Unsigned 32-bit integer:
- 3232235777
Hex C0.A8.01.FF
0xC0A801FF is the broadcast address for a 192.168.1.0/24 subnet.
Inputs
- Input format:
- hex
- Value:
- C0.A8.01.FF
Result
- Dotted decimal:
- 192.168.1.255
- Unsigned 32-bit integer:
- 3232236031
Frequently asked questions
Why would I convert an IP to an integer?
Some databases, APIs, and geolocation libraries store IPv4 addresses as unsigned 32-bit integers for fast numeric comparison and sorting. Converting 192.168.1.1 to 3232235777 lets you query or compare addresses without string parsing.
How is an IP address converted to binary?
Each of the four octets is converted to 8 binary digits separately. 192.168.1.1 becomes 11000000.10101000.00000001.00000001 — 32 bits total representing the address in base 2.
What is the hex format for IP addresses?
Each octet is written as two hex digits: 192 → C0, 168 → A8, 1 → 01. So 192.168.1.1 becomes C0.A8.01.01. Hex is compact and common in low-level networking and packet captures.