NetToolForge
← Network Tools6️⃣ Compress · Expand · Prefix

IPv6 Address Formatter

Shorten or expand any IPv6 address the standard way, see its network range, type and reverse DNS name, extract the MAC from EUI-64 addresses, and format many addresses at once.

How to use the IPv6 Address Formatter

  1. Enter an IPv6 address, with /prefix if you want the network range.
  2. Copy the compressed, expanded, URL or reverse DNS form.
  3. Paste many addresses into Bulk format to clean them all.

Rules (RFC 5952)

Frequently asked questions

How do I shorten an IPv6 address?

Paste it in — the compressed form follows RFC 5952.

What does :: mean?

One or more groups of zeros. It can appear only once.

How many addresses are in a /64?

2^64 — about 18.4 quintillion.

What is the ip6.arpa name?

The reverse DNS name used for PTR records.

Is my data uploaded?

No. Everything runs in your browser on your own device.

Worked examples: shortening and expanding IPv6

Written and checked by the NetToolForge Team, 30 November 2026.

Full formShort form (RFC 5952)
2001:0db8:0000:0000:0000:ff00:0042:83292001:db8::ff00:42:8329
fe80:0000:0000:0000:021a:2bff:fe3c:4d5efe80::21a:2bff:fe3c:4d5e
2001:0db8:0000:0001:0000:0000:0000:00012001:db8:0:1::1

The rules, in plain words

  • Write letters in lower case and drop leading zeros in each group: 0db8 becomes db8.
  • Replace the longest run of zero groups with ::, and only once in an address.
  • If two runs are equally long, shorten the first one.
  • Never use :: for a single zero group; write 0 instead.

Following these rules matters when you compare addresses in logs, firewall rules or scripts: the same address written two ways can look like two different machines.

Finding the MAC address inside an address

Older devices build part of their IPv6 address from the network card’s MAC address (EUI-64). In fe80::21a:2bff:fe3c:4d5e, the ff:fe in the middle gives it away. Remove it and flip one bit, and you get the MAC 00:1a:2b:3c:4d:5e. Most phones and laptops now use random addresses instead, for privacy.

All formatting happens in your browser. The addresses you paste are not sent anywhere.