Bytelify

IP to Hex

Convert an IPv4 address to its hexadecimal representation, live as you type.

Runs in your browser, nothing sent
ip-to-hex
0xc0a80101

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 AddressHex
127.0.0.17F.00.00.01
8.8.8.808.08.08.08
10.0.0.10A.00.00.01
172.16.254.1AC.10.FE.01
192.168.1.1C0.A8.01.01
255.255.255.255FF.FF.FF.FF

How to Use the IP to Hex Converter

  1. 1

    Type an IPv4 Address: Enter a dotted-decimal IPv4 address, such as 192.168.1.1.

  2. 2

    Read the Hex Result Instantly: The hex representation appears automatically as you type.

  3. 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.

FAQs

Frequently Asked Questions

Common questions about IP to Hex.

Not currently. This converts IPv4 addresses (four dot-separated numbers) only.

Each of the four octets is converted to a two-digit hex value, in order. 192.168.1.1 becomes C0.A8.01.01 (dot-separated), so you can still see the octet boundaries.

Each octet is a single byte (0-255), and the maximum byte value, 255, is exactly FF in hex, two digits. Smaller values are zero-padded (e.g. 8 becomes 08) so every octet lines up consistently.

Some firewall rules, router configuration files, and low-level network debugging tools display or expect addresses in hex rather than dotted-decimal form, particularly in embedded or legacy networking equipment.

Yes, Bytelify's IP to Hex Converter is free with no account or sign-up required.

No. The conversion runs entirely client-side in your browser, so the IP address you enter is never sent anywhere.