99digest is in early access — tools are free while we grow.
Guide

How to Convert an IPv4 Address to Binary, Hex and Decimal

“192.168.1.1” is a friendly way of writing one 32-bit number. Network tools, firewalls and databases sometimes want the binary, hex or single-number form.

The four forms

The IP Address Converter gives all three for 192.168.1.1:

Form Value
Dotted decimal 192.168.1.1
Binary 11000000.10101000.00000001.00000001
Hexadecimal C0.A8.01.01
32-bit decimal 3,232,235,777

How the conversion works

Each of the four parts is one byte, so it ranges from 0 to 255. 192 in binary is 11000000, 168 is 10101000, 1 is 00000001. Hex writes the same bytes as C0, A8, 01 and 01.

The single number is 192 × 256³ + 168 × 256² + 1 × 256 + 1 = 3,232,235,777.

Using the converter

  1. Enter an IPv4 address such as 192.168.1.1.
  2. Read the binary, hexadecimal and 32-bit decimal forms.

Each part must be between 0 and 255. Anything else, such as 192.168.1.256, is rejected with a clear message.

Why bother

  • Binary shows how a subnet mask lines up with an address; see the subnet guide.
  • Some databases store IPv4 addresses as a single number, which makes range queries easy.
  • Hex appears in logs and packet captures.

Frequently asked questions

Does it convert IPv6?

No. IPv6 addresses are 128 bits long and use a different format, so this tool handles IPv4 only.

Is 192.168.1.1 a public address?

No, it is in a private range used inside home and office networks, so it is not reachable directly from the internet.

Try the IP Address Converter Free, instant, and runs in your browser.