IPv4 Hexadecimal Converter
Convert addresses to hexadecimal.
IPv4 Hexadecimal Converter: inputs and results
Enter an IP address, CIDR prefix, or range. Then check its first and last address below.
Calculated Boundaries & ParametersReady
Key Capabilities
- •100% Client-Side: Zero telemetry or server latency.
- •RFC Compliant: Exact 32-bit and 128-bit integer precision.
- •Quick Copy: Instant access to CIDR, mask, and range bounds.
- •Cross-Platform: Works on desktop, tablet, and mobile browsers.
Related Conversion & EncodingAll Tools
CIDR to IP Range Converter
Convert prefixes into start–end ranges.
IP Range to CIDR Converter
Find exact covering CIDR blocks.
IPv4 Binary Converter
Convert addresses to binary.
IPv4 Decimal Integer Converter
Convert IPv4 addresses to integer values.
Integer to IPv4 Converter
Convert integer values to addresses.
How IPv4 Hexadecimal Converter Works?
This tool works by converting each octet into 2 hexadecimal digits and joining the 4 pairs into an 8-digit hex value.
Enter an IPv4 address
Type an address such as
172.16.254.1.Convert each octet
172 → AC, 16 → 10, 254 → FE, 1 → 01.
Join the pairs
The result is
0xAC10FE01.Show related forms
The converter prints dotted hex (
AC.10.FE.01) and the hex form used inside IPv6 mapped addresses (ac10:fe01).
IPv4 Hexadecimal Converter Formula
The formula is Hex digit pair = (floor(octet ÷ 16), octet mod 16), applied to each octet.
High digit
floor(octet ÷ 16)Values 0–15 → 0–F.
Low digit
octet mod 16Values 0–15 → 0–F.
Full value
0x + 8 hex digits32 bits = 8 nibbles = 4 bytes.
Reverse
octet = high × 16 + lowHex to decimal.
Worked example: 172.16.254.1
172 ÷ 16 = 10 r 12 → A C 16 ÷ 16 = 1 r 0 → 1 0 254 ÷ 16 = 15 r 14 → F E 1 ÷ 16 = 0 r 1 → 0 1 Hex = 0xAC10FE01
IPv4 Hexadecimal Converter Conversion Table
The table maps 10 IPv4 addresses to 32-bit hex, dotted hex, and binary of the first octet.
| IPv4 Address | Hex | Dotted Hex | First Octet Binary |
|---|---|---|---|
| 0.0.0.0 | 0x00000000 | 00.00.00.00 | 00000000 |
| 10.0.0.1 | 0x0A000001 | 0A.00.00.01 | 00001010 |
| 127.0.0.1 | 0x7F000001 | 7F.00.00.01 | 01111111 |
| 169.254.1.1 | 0xA9FE0101 | A9.FE.01.01 | 10101001 |
| 172.16.254.1 | 0xAC10FE01 | AC.10.FE.01 | 10101100 |
| 192.168.0.1 | 0xC0A80001 | C0.A8.00.01 | 11000000 |
| 198.51.100.200 | 0xC63364C8 | C6.33.64.C8 | 11000110 |
| 224.0.0.251 | 0xE00000FB | E0.00.00.FB | 11100000 |
| 255.255.255.0 | 0xFFFFFF00 | FF.FF.FF.00 | 11111111 |
| 255.255.255.255 | 0xFFFFFFFF | FF.FF.FF.FF | 11111111 |
What is IPv4 Hexadecimal Converter?
The IPv4 Hexadecimal Converter is a tool that converts an IPv4 address into its 8-digit hexadecimal form and back. 192.168.0.1 becomes 0xC0A80001.
Hex notation appears in packet dumps, memory views, Linux /proc/net files, PXE boot configuration file names, and IPv4-mapped IPv6 addresses. Each octet maps to exactly 2 hex digits, so conversion is direct.
Linux /proc/net/route stores addresses in little-endian hex, which reverses the byte order. 0100A8C0 in that file means 192.168.0.1.
What are the uses of IPv4 Hexadecimal Converter?
There are 4 main uses of the IPv4 Hexadecimal Converter, including packet analysis, PXE booting, and Linux diagnostics.
Reading packet dumps
Hex dumps from
tcpdump -Xshow addresses as 4 hex bytes.Naming PXE boot files
PXELINUX looks up configuration files named after the client address in hex, such as
C0A80001.Reading Linux kernel tables
Files in
/proc/netlist addresses in hex.Building IPv6 mapped addresses
The hex form fills the last 2 groups of
::ffff:0:0/96addresses.