IP address converter (IPv4 & IPv6)

Convert IPv4 to decimal, hex and binary, and expand or shorten IPv6 addresses. Also accepts plain numbers.

Runs in your browser ยท nothing is sentIP & subnetting

VersionIPv6
Short notation2001:db8::1
Full notation2001:0db8:0000:0000:0000:0000:0000:0001
Decimal42540766411282592856903984951653826561
Hexadecimal0x20010db8000000000000000000000001
Binary0010000000000001 0000110110111000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000001

About this tool

Enter an IPv4 address, an IPv6 address or a number. You see the short and full notation plus decimal, hexadecimal and binary values.

๐Ÿ”’ Your input stays in your browser and is never sent anywhere.

Frequently asked questions

How is an IPv6 address shortened?

Leading zeros in each group are dropped and the longest run of zero groups is replaced by ::.

What to do next

Also useful

  • DNS lookupLook up A, AAAA, MX, TXT, NS, CNAME, SOA and CAA records for any domain, directly from your browser.
  • MAC address formatterConvert MAC addresses between colon, hyphen, Cisco dot and plain formats, check unicast or multicast and generate a random MAC.
  • MAC vendor lookupFind the manufacturer of a network device from its MAC address (OUI), and check whether an address is locally administered.

Found a problem or have a suggestion? Tell us