๐Ÿ”’ Runs in your browser โ€” nothing is uploadedโœ“ Free, no signup

IP Address Converter

Convert an IPv4 address between dotted, decimal, hex, binary and octal, see its class and whether it's private or public โ€” or expand and compress an IPv6 address.

Try:

IPv4 formats

Dotted decimal192.168.1.1
Decimal (integer)3232235777
Hexadecimal0xC0A80101
Dotted hexC0.A8.01.01
Binary11000000.10101000.00000001.00000001
Octal0300.0250.01.01
IPv4-mapped IPv6::ffff:192.168.1.1
ClassC
TypePrivate (RFC 1918)
Reverse DNS1.1.168.192.in-addr.arpa

When should you use the IP Address Converter?

  • Converting an IP stored as an integer in a database back to a readable address
  • Checking whether an address is private, loopback or public
  • Expanding a shortened IPv6 address for firewall rules or logs

How to use the IP Address Converter

  1. 1

    Enter an address

    Type an IPv4 address, a decimal number, hex like 0xC0A80101, 32-bit binary or an IPv6 address.

  2. 2

    See every format

    All representations update instantly.

  3. 3

    Check the type

    See the class and whether the address is private, public, loopback, multicast or reserved.

  4. 4

    Copy

    Copy any format with one click.

Examples

192.168.1.1 in other formats

Input

192.168.1.1

Formats

Decimal   3232235777
Hex       0xC0A80101
Binary    11000000.10101000.00000001.00000001
Type      Private (RFC 1918)

Common errors and how to fix them

Each part must be 0โ€“255
Every number in a dotted IPv4 address is one byte, so 256 or higher isn't valid.
IPv6 can contain :: only once
:: replaces one run of zero groups. Using it twice makes the address ambiguous.
Related tools:ย Number Base Converter ยท URL Parser ยท Subnet Calculator

More from Web & Network

Free tools that run in your browser โ€” no signup, nothing uploaded.

IP Address Converter FAQ

Each of the four parts is a byte: a ร— 256ยณ + b ร— 256ยฒ + c ร— 256 + d. So 192.168.1.1 is 3232235777. Type the address and the decimal value appears instantly.

10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 (RFC 1918). 127.0.0.0/8 is loopback and 169.254.0.0/16 is link-local.

An older scheme based on the first byte: A (1โ€“126), B (128โ€“191), C (192โ€“223), D (multicast) and E (reserved). Modern networks use CIDR, but classes are still used as shorthand.

Leading zeros in each group are dropped and the longest run of zero groups becomes ::, following RFC 5952 โ€” so 2001:0db8:0000:0000:0000:0000:0000:0001 becomes 2001:db8::1.

An IPv6 address of the form ::ffff:192.168.1.1 that represents an IPv4 address, used by dual-stack systems.

No. Everything runs in your browser, so your data never leaves your device.