Online tool to convert IPv6 address to corresponding literal address.
Also IPv6 Calculator shows longest and shortest IPv6 versions, and Reverse DNS lookup address using the special domain ip6.arpa.
| IPv6 literal Windows: | 0--1.ipv6-literal.net |
| IPv6 URL: | http://[::1] |
| IPv6 UNC RFC2732: | \\[::1]\ |
| IPv6 longest: | 0000:0000:0000:0000:0000:0000:0000:0001 |
| IPv6 shortest: | ::1 |
| ip6.arpa: | 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa |
An IPv6 address is represented as eight groups of four hexadecimal digits, each group is separated by a colon (:).
To use IPv6 address in URL, UNC path, nix command line, configuration file, file name parsing, etc., often it must be converted to literal address. For example, in Apache HTTP Server: IPv6 addresses must be surrounded in square brackets. This also works in modern Windows and nix versions, however this does not work in legacy software, so ipv6-literal.net appendix must be used. Use IPv6 address field below to convert your IPv6 to literal address.
From Wikipedia: Colon (:) characters in IPv6 addresses may conflict with the established syntax of resource identifiers, such as URIs and URLs. The colon has traditionally been used to terminate the host path before a port number.
Here are some supported IPv6 address examples (notation that is used to specify the zone ID with an address (Address%ZoneID) is also supported):
| Eight groups: | 2001:0db8:85a3:0000:0000:8a2e:0370:7334 |
| Eight groups with leading zeroes omitted: | 2001:db8:85a3:0:0:8a2e:370:7334 |
| Short form: | 2001::7334 |
| IPv6 loopback address to the local host: | ::1 |
| IPv6 unspecified address: | :: |
| fe80::3%1 | |
| IPv6 with a zone index: | fe80::3%eth0 |
| ::192.168.5.5 | |
| IPv4 mapped to IPv6: | ::ffff:192.168.2.3 |
| IPv4 mapped to IPv6 with a zone index: | ::ffff:192.168.2.3%2 |
To use address 2001:0db8:85a3:0000:0000:8a2e:0370:7334 in Windows, use - 2001-0db8-85a3-0000-0000-8a2e-0370-7334.ipv6-literal.net
Note that *.ipv6-literal.net is automatically resolved by Windows without any queries to DNS name servers.
Suggestions and comments are welcome - Twitter. Info about IPv6 literals and legacy software. Our Privacy Policy.