Skip to content
TextArray
100% local

IP address converter (hex/dec/binary)

Convert an IPv4 address between dotted, decimal (DWORD), hexadecimal and binary.

Input

IP address converter (hex/dec/binary)

An IPv4 address is just a 32-bit number wearing four dots. 192.168.0.1 is also the integer 3232235521, the hex value 0xC0A80001 and the binary string 11000000.10101000.00000000.00000001 — the same thirty-two bits, written four ways. This tool converts freely between all of them: paste any form and get the other three, instantly.

The DWORD (decimal integer) form is the one you meet in surprising places — a shortened URL like http://3232235521/ resolves to 192.168.0.1, log formats sometimes store addresses as integers, and databases often keep them as a single number for fast range queries. The hexadecimal form turns up in packet dumps, router configs and firmware. The binary form is how subnetting actually works, one bit at a time. Being able to flip between them is a routine part of network debugging and a recurring puzzle-hunt and CTF trick.

The input format is auto-detected — a dotted string, a plain integer, an 0x-prefixed or bare hex value, or a 32-bit binary run — with a manual override for the ambiguous cases, since a short number like "10" could be read as decimal or binary. Every conversion validates: octets must be 0–255, the integer must fit in 32 bits, hex must be at most eight digits. Junk input returns a calm explanation rather than a wrong answer.

Everything runs locally in your browser — the addresses you convert never leave your device.

FAQ

What is the DWORD or integer form of an IP?
The whole 32-bit address read as a single unsigned number: 192.168.0.1 is 192·256³ + 168·256² + 0·256 + 1 = 3232235521. It is how many databases store IPs for fast range comparisons, and what a numeric-IP URL like http://3232235521/ uses.
Why does the same short number convert differently?
A value like "10" is a valid decimal (→ 0.0.0.10) and a valid binary (→ 0.0.0.2). Auto-detect makes a best guess, but for short ambiguous inputs set the input format explicitly to get the reading you mean.
Does it handle IPv6?
No — this tool is IPv4-specific, converting a single 32-bit address. IPv6 addresses are 128 bits with their own notation; for extracting them from text, use the IP extractor, and for subnet math the subnet calculator.
What counts as valid input?
A dotted quad with octets 0–255, a decimal from 0 to 4294967295, a hex value up to eight digits (with or without 0x), or a binary string up to 32 bits. Anything outside those ranges is rejected with an explanation.
Is my input uploaded anywhere?
No. The conversion runs entirely in your browser and your addresses never leave your device.