Skip to content
Run here 100% in your browser, no upload, no login

IP Tools

Convert an IPv4 address to integer, hex and binary, and identify private, loopback or public ranges.

Dotted decimal

Unsigned 32-bit integer

Hexadecimal

Binary (per octet)

Address type:

CIDR Subnet mask Usable hosts
/8255.0.0.016,777,214
/12255.240.0.01,048,574
/16255.255.0.065,534
/20255.255.240.04,094
/22255.255.252.01,022
/23255.255.254.0510
/24255.255.255.0254
/25255.255.255.128126
/26255.255.255.19262
/27255.255.255.22430
/28255.255.255.24014
/29255.255.255.2486
/30255.255.255.2522
/31255.255.255.2542
/32255.255.255.2551

/31 and /32 are point-to-point and single-host prefixes (RFC 3021) — the usual “minus 2” rule does not apply.

How to use it

  1. Type an IPv4 address such as 192.168.1.10 — strictly four dot-separated numbers from 0 to 255.
  2. The four representation cards update as you type: dotted decimal, unsigned 32-bit integer, hexadecimal and binary.
  3. Below the cards, the address type is classified using a built-in range table.
  4. The second panel is a static reference of common CIDR prefixes, masks and usable host counts.
  5. Invalid input shows a clear error; the previous results stay untouched.

Common use cases

Why it stays private

All conversions are bit operations in your browser; nothing is looked up online and no address is stored.

FAQ

Q: Does it accept IPv6? A: No — this tool is IPv4 only. IPv6 has different notation and ranges that would not fit the four cards.

Q: Why is 192.0.2.1 not called public? A: The built-in table classifies the major ranges from RFC 791, RFC 1918, RFC 6598 and multicast. Some small special-purpose blocks (such as TEST-NET documentation ranges) are not separately labelled, so a few unusual addresses may show as public.

Q: Are zero-padded octets like 010.1.1.1 accepted? A: No. Zero-padded forms are ambiguous across systems (some treat them as octal), so they are rejected with an error message.

Your data stays on this device

IP Tools runs 100% locally. Everything you paste or drop is processed by your own browser and never transmitted. Nothing is stored on our servers — close the tab and it is gone.

Nothing you type is sent to a server, logged, or used for analytics. The page works even with your network disconnected after first load.