IP Address Converter

Convert IPv4 addresses between decimal, binary, hex, integer, and octal formats

Enter an IPv4 address above to see all conversions

IP Address Converter

Convert IPv4 addresses between decimal, binary, hex, integer, and octal formats

Features

  • Convert IPv4 between dotted-decimal, integer (32-bit), hexadecimal, binary, and per-octet octal
  • Octet-level validation (0–255 range with leading-zero rejection)
  • IPv6 support and CIDR / subnet calculations are NOT implemented in this version
  • For IPv6 conversion / CIDR maths, use a dedicated subnet calculator
  • Runs entirely in your browser

How to use

  1. Enter a valid IPv4 address (e.g. 192.168.1.1).
  2. View the address in all supported formats instantly.
  3. See the IP class and whether it is private or public.
  4. Click the copy icon next to any format to copy it.

Tips & Best Practices

  • 32-bit unsigned integer format is useful for database storage — INT(10) is smaller than VARCHAR(15).
  • Hexadecimal IP format (`0xC0.A8.00.01` style) shows up in some legacy network tools.
  • Octets are 0-255 only — `256.0.0.1` is invalid; leading zeros (`010.0.0.1`) are rejected to avoid octal confusion.
  • Class A/B/C distinctions are historical (pre-CIDR, 1993); modern routing uses CIDR (variable-length subnet masks).
  • For IPv6 work, the canonical form has lowercase hex and uses `::` for the longest run of zero groups.

FAQ

What IP address formats are supported?

The tool converts IPv4 addresses to dotted decimal, binary (8-bit per octet), hexadecimal, 32-bit integer, and octal representations.

How do I know if an IP is private or public?

The tool automatically identifies private ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) as well as loopback, link-local, multicast, and reserved ranges.

Does this tool support IPv6?

This tool currently supports IPv4 addresses only. IPv6 support may be added in a future update.

Is my data safe and private?

Absolutely. All processing happens locally in your browser. No data is ever sent to any server.

Is this tool free to use?

Yes, this tool is completely free with no registration required.