{{ summaryHeading }} {{ summaryValue }} {{ summaryLine }} {{ badge.label }} {{ badge.value }}
IPv4 representation inputs
Examples: 192.0.2.10, 3221225994, 0xC000020A, 11000000.00000000.00000010.00001010, or 0o30000001012.
Auto reports the resolved representation in the summary and exports; an explicit choice bypasses detection.
The default keeps the slug’s decimal result as the primary handoff.
Dotted octets are easiest to audit; continuous, nibble, and byte groups are presentation alternatives.
The default keeps one prefixed 32-bit integer; the other styles retain the same bytes.
Off is neutral; turn it on only when a receiving system may use signed integers or reversed byte order.
{{ includeExtraRowsEnabled ? 'Shown' : 'Hidden' }}
{{ tableExportAnnouncement }}
FormatValueBest used forCopy
{{ row.label }}{{ row.value }}{{ row.use }}
{{ tableExportAnnouncement }}
OctetDecimalBinaryWeightContributionCopy
{{ row.label }}{{ row.decimal }}{{ row.binary }}{{ row.weight }}{{ row.contribution }}
Matched range
{{ values.range_name }} {{ values.range_cidr }}
Registry source
{{ values.range_source }}
Historical class
{{ values.legacy_class }}
Parsed as
{{ requestedAndResolvedFormat }}

{{ values.range_detail }}

{{ values.legacy_class_detail }} A valid conversion does not prove allocation, reachability, or routing policy.

{{ chartExportAnnouncement }}

An IPv4 address is a 32-bit value. Dotted decimal splits those bits into four familiar octets, but software may store or display the same value as one unsigned integer, hexadecimal digits, binary bits, octal digits, or the low-order part of an IPv4-mapped IPv6 address.

Changing notation does not change the address. For example, 192.0.2.10 and unsigned decimal 3221225994 identify the same 32-bit pattern. The distinction matters when comparing firewall data, database columns, packet logs, application APIs, or legacy records that chose different representations.

Octet
One eight-bit part of the address, with a decimal value from 0 through 255.
Network byte order
The usual most-significant-octet-first order used by Internet protocols and dotted IPv4 notation.
IPv4-mapped IPv6 address
An IPv6 representation whose final 32 bits contain an IPv4 address, commonly written with the ::ffff: prefix.

A numeric match says nothing by itself about reachability or ownership. Private, loopback, link-local, multicast, documentation, benchmarking, and other special-purpose ranges have rules beyond their numeric form. Even a value outside the built-in special-purpose list is only a public-unicast candidate; routing and allocation data still determine whether it is usable.

Signed integers and reversed byte order are compatibility views, not alternative IPv4 standards. They are useful when reconciling old APIs or packed data, but copying one without confirming the receiving system's convention can point to a different number or address.

How to Use This Tool:

Enter one address representation and keep the format pinned when auto-detection could be ambiguous.

  1. Enter an IPv4 value as dotted decimal, an unsigned decimal integer, hexadecimal, binary, or octal. Only the first non-empty line is converted.
  2. Choose Input format or leave it on auto detection. Pin hexadecimal or octal when the source notation does not carry a clear 0x or 0o prefix.
  3. Select Output focus and the desired binary or hexadecimal style. Enable Compatibility views only when signed int32 or reversed byte order is relevant.
  4. Check Address formats and Range context before copying a value. Confirm both the dotted address and the numeric form against the receiving system.

Interpreting Results:

The unsigned decimal value is always from 0 through 4294967295. The dotted, hexadecimal, binary, octal, and mapped IPv6 rows are equivalent encodings of those same 32 bits. If extra non-empty lines were pasted, the result reports how many were ignored.

Read Range context as a registry-based classification, not a live network check. A documentation, private, loopback, multicast, or other special-purpose label explains the address block's intended role. Public unicast candidate only means that none of the built-in special ranges matched.

Technical Details:

Each dotted octet contributes eight bits to a big-endian 32-bit integer. The leftmost octet carries the highest positional weight and the rightmost octet carries the units weight.

Formula Core:

The unsigned decimal value is the sum of the four octets multiplied by successive powers of 256.

D = O1 × 2563 + O2 × 2562 + O3 × 256 + O4
IPv4 formula symbols and bounds
Symbol Meaning Inclusive range
D Unsigned decimal IPv4 value 0 to 4294967295
O1 through O4 First through fourth dotted octets 0 to 255 each

For 192.0.2.10, the substitution is 192 × 16777216 + 0 × 65536 + 2 × 256 + 10 = 3221225994. The integer is exact; no rounding is applied.

Transformation and Lookup Core:

IPv4 representation and classification rules
Representation or lookup Exact rule
Dotted IPv4 Exactly four decimal octets, each containing one to three digits and a value from 0 through 255.
Decimal integer An unsigned whole number from 0 through 4294967295. Spaces, commas, underscores, and apostrophes may separate digits.
Hexadecimal One to eight hex digits, optionally prefixed by 0x, or four dotted one- or two-digit bytes.
Binary Exactly 32 bits, either continuous or grouped into four dotted eight-bit octets.
Octal One to eleven octal digits within the 32-bit limit, optionally prefixed by 0o, or four dotted octal bytes.
Special range Compare the unsigned integer with the built-in IANA-derived intervals, checking specific entries before broader containing blocks.
Signed int32 view Values through 2147483647 stay unchanged; larger values subtract 4294967296.
Little-endian view Reverse the four octets before applying the decimal formula.

The IPv4-mapped IPv6 forms prepend ::ffff: and show the final 32 bits in dotted decimal or as two hexadecimal groups. Historical class labels are reported for context only; modern network boundaries use Classless Inter-Domain Routing (CIDR) prefixes rather than class A, B, or C assumptions.

References: