redzilla
All tools
IP Addressing

IP Converter

Paste a dotted IPv4, an integer (0–4294967295), hex (0x…) or 32-bit binary — it is auto-detected — and get every representation instantly. Nothing is sent to any server.

Accepts dotted decimal, an integer (uint32), hex (0x…) or 32-bit binary.

Examples
redzilla.cl — ip
 
Decimal 192.168.1.1
Binary 11000000.10101000.00000001.00000001
Hex 0xC0A80101
Octal 030052000401
Integer 3232235777
Dotted decimal
Integer (uint32)
a·16777216 + b·65536 + c·256 + d
Hexadecimal
8 digits · 0x…

Per-octet breakdown

OctetDecimalBinaryHex
How it is calculated · formats and ranges

1. An IPv4 is 4 octets of 8 bits each (a.b.c.d), i.e. a 32-bit unsigned integer.

2. Integer = a·16777216 + b·65536 + c·256 + d. Valid range: 0 to 4294967295 (2³² − 1).

3. Each octet ranges from 0 to 255; in hex it is 2 digits and in binary 8 bits.

4. The hex of the full IP is 8 digits (0x…); the octal and binary are derived from the same integer.

Runs locally in your browser · no sign-up · nothing leaves your browser.

How it works

The converter takes an IPv4 address in any of its forms and shows every representation at once: dotted decimal, binary grouped by octet, hexadecimal (0x…), octal and 32-bit unsigned integer, with an octet-by-octet breakdown in decimal, binary and hex. The input is auto-detected: you can paste 192.168.1.1, the integer 3232235777, the hex 0xC0A80101 or the 32 bits in binary.

The core idea is that an IPv4 address is simply a 32-bit integer: four 8-bit octets where integer = a·16777216 + b·65536 + c·256 + d, with a valid range from 0 to 4294967295 (2^32 − 1). All the other representations (8-digit hex, octal, binary) derive from that same integer by changing the numeric base.

Example: 192.168.1.1 in all its forms

  1. Integer: 192·16777216 + 168·65536 + 1·256 + 1 = 3,232,235,777.
  2. Hexadecimal: each octet is 2 digits: 192 = C0, 168 = A8, 1 = 01, 1 = 01, so the full IP is 0xC0A80101.
  3. Binary: 11000000.10101000.00000001.00000001. Pasting any of these forms into the tool returns the others instantly.

Frequently asked questions

Why does a URL like http://3232235777 open 192.168.1.1?
Because many browsers and libraries accept the integer form of an IPv4 address: 3232235777 is exactly 192.168.1.1 as a 32-bit integer. Attackers use this notation (and the hex or octal ones) to disguise addresses in phishing links or evade filters, so it pays to know how to convert them.
What is the valid integer range of an IPv4 address?
From 0 (which corresponds to 0.0.0.0) to 4,294,967,295 (255.255.255.255), that is 2^32 − 1. Any larger integer does not fit in 32 bits and the tool rejects it. Each individual octet goes from 0 to 255, that is 2 hex digits or 8 bits.
What is the difference between octal and decimal notation in an IP?
Octal uses base 8 and is marked with a leading zero. It is a classic source of bugs: in many legacy implementations 010.1.1.1 is interpreted as 8.1.1.1, because 010 in octal is 8. The tool shows the octal of the full IP integer so you can recognize that notation when it shows up.
Are the addresses I paste sent to any server?
No. Format detection and every conversion happen in your browser; there are no requests to external services. You can paste addresses from your internal network without exposing them.
Was this tool useful?
Disclaimer We take great care to keep every tool accurate and review it thoroughly; even so, we can't guarantee it is free of errors or take responsibility for how the results are used. We recommend double-checking anything critical.
Found an error? Let us know →