Network Tools

IPv6 Address Format Converter

Expanded and compressed IPv6 back and forth, with :: compression and embedded IPv4

How an IPv6 address is written

An IPv6 address is eight groups of 16-bit hexadecimal numbers, separated by colons (:). The full form looks like this:

2001:0DB8:0000:0023:0008:0800:200C:417A
Compression rules
  • Leading zeros in a group can be dropped: 002323, 00000
  • One or more all-zero groups can collapse into ::, but :: may appear only once in an address
  • For example: FF01:0:0:0:0:0:0:1101FF01::1101
Embedded IPv4

The last 32 bits of an IPv6 address can be written as dotted-decimal IPv4, for example ::192.168.0.1. This tool parses and converts that form too.