IP to Hex
Convert an IPv4 address to its hexadecimal representation, live as you type.
Converts live as you type. Runs entirely in your browser.
Need the opposite? Decimal to Hexadecimal Converter
What is IP to Hex?
Type an IPv4 address and see its hex representation instantly: each of the four octets converted to two hex digits, the format used in some network configs and low-level tools. Conversion happens live as you type, entirely in your browser. Nothing you enter is sent anywhere, which matters since the addresses people paste in here are often real internal or production IPs.
IPv4 to Hex Examples
| IPv4 Address | Hex |
|---|---|
| 127.0.0.1 | 7F.00.00.01 |
| 8.8.8.8 | 08.08.08.08 |
| 10.0.0.1 | 0A.00.00.01 |
| 172.16.254.1 | AC.10.FE.01 |
| 192.168.1.1 | C0.A8.01.01 |
| 255.255.255.255 | FF.FF.FF.FF |
How to Use the IP to Hex Converter
- 1
Type an IPv4 Address: Enter a dotted-decimal IPv4 address, such as 192.168.1.1.
- 2
Read the Hex Result Instantly: The hex representation appears automatically as you type.
- 3
Copy the Result: Use the copy button to copy the hex value for a network config or low-level tool.
How to Convert an IP Address to Hex
An IPv4 address is four numbers (octets), each ranging from 0 to 255, separated by dots. Since 255 is the maximum value a single byte can hold, each octet converts to exactly two hex digits (00 to FF). Convert each octet to hex independently, then join the results with dots in the same order. Converting 192.168.1.1, for example: 192 → C0, 168 → A8, 1 → 01, 1 → 01, giving C0.A8.01.01.
Frequently Asked Questions
Common questions about IP to Hex.