IP to Hex Converter

Convert IP addresses to hexadecimal format and back. Useful for network programming and low-level networking.

Helpful?
Enter IP Address
Enter an IPv4 address (e.g., 192.168.1.1)
Common IP Addresses
About IP to Hex Conversion

IP addresses are made up of 4 octets (bytes), each ranging from 0-255. Converting to hexadecimal represents each octet as a 2-digit hex value.

Example: 192.168.1.1 = C0.A8.01.01 = C0A80101
192 = C0 | 168 = A8 | 1 = 01 | 1 = 01

Conversion Results
Result
C0A80101
All Formats
IP Address 192.168.1.1
Hex (Dotted) C0.A8.01.01
Hex (Compact) C0A80101
Hex (0x Prefix) 0xC0A80101
Decimal (32-bit) 3232235777
Binary 11000000.10101000.00000001.00000001
Octet Breakdown
IP Address Info
Class
C
Type
Private
Range
192.168.x.x
Share this tool