Unsigned 32-bit
--
Free · Instant · No signup
Convert a dotted IPv4 address to hex, 32-bit binary, and unsigned integer.
Page updated 2026-09-04.
Unsigned 32-bit
--
192.168.0.1 converts to hex 0xc0a80001, binary 11000000101010000000000000000001, and unsigned 32-bit integer 3232235521 -- three different ways of writing the exact same 32-bit value.
Each octet of the dotted-decimal address maps directly to 8 bits: 192 = 11000000, 168 = 10101000, 0 = 00000000, 1 = 00000001, concatenated into the full 32-bit binary string, then reinterpreted as hex (2 hex digits per octet) or as one large unsigned integer.
The integer form (3232235521) is how IP addresses are actually stored and compared in many databases and low-level networking code -- converting between dotted-decimal and this integer form is a common need when working directly with IP range storage or bitwise operations.
IPv4 only. Leading zeros in octets are treated as decimal, not octal. An octet like '010' is interpreted here as decimal 10, not as octal 8 -- some older systems and libraries historically treated a leading zero in an IP octet as an octal prefix, which could silently produce a different address than intended. This tool always reads octets as plain decimal.
This is IPv4-specific 32-bit math -- IPv6 addresses are 128 bits and use a completely different hex-grouped notation (eight groups of four hex digits) that doesn't map onto this dotted-decimal-to-32-bit conversion.
Each of the four octets must be a valid decimal value from 0 to 255 for the conversion to produce a meaningful result, since any octet outside that range isn't representable in a single byte.
For the subnet, broadcast, and usable-host range that this same address belongs to, the IP Subnet & CIDR Calculator handles that calculation.
If you're inspecting request headers from a server that logged this address, the HTTP Header Parser is a related debugging tool.
Each decimal octet converts to 2 hex digits: 192 = c0, 168 = a8, 0 = 00, 1 = 01, concatenated as c0a80001, matching the same 32-bit value expressed in hex instead of dotted decimal.
It's the same 32 bits, interpreted as one large number instead of four separate octets: (192 x 256^3) + (168 x 256^2) + (0 x 256) + 1 = 3232235521.
IPv4 only. Leading zeros in octets are treated as decimal, not octal. Some legacy systems interpreted a leading zero (like '010') as an octal number (decimal 8) rather than decimal 10, which could silently resolve to an unintended address. This converter always treats octet digits as plain decimal to avoid that ambiguity.
No. IPv4 only. Leading zeros in octets are treated as decimal, not octal. IPv6 uses 128-bit addresses with their own hex-grouped notation, structurally different from this 32-bit IPv4 conversion.
It's not a valid IPv4 octet, since each octet represents exactly one byte (0-255). A value outside that range can't be meaningfully converted by this tool's byte-based math.
Basic Markdown to HTML Converter Tiny Markdown subset: headings, bold, emphasis, inline code, and line breaks.
Line Set Comparison Inspector Count added and removed lines and list lines that appear in only one side. Not an ordered diff.
CSS Grid Layout Code Builder Generate grid-template-columns, rows, and gap CSS from column and row counts.