IPv6 notation tool

Compress IPv6 address 2001:db8::1

Convert any valid IPv6 address to its shortest standard notation by removing redundant zeroes safely.

Example: fe80:0000:0000:0000:0202:b3ff:fe1e:8329

The conversion runs locally. No external lookup service is used.

Compression result

Shortest IPv6 notation for 2001:0db8:0000:0000:0000:0000:0000:0001

Compressed IPv6 address

2001:db8::1

Expanded IPv6

2001:0db8:0000:0000:0000:0000:0000:0001

Compressed IPv6

2001:db8::1

Expanded length

39 characters

Compressed length

11 characters

Characters saved

28

Compression rules

How IPv6 compression works

  1. 1Leading zeroes are removed from every four-character hexadecimal group.
  2. 2The longest sequence of two or more 0000 groups can be replaced once with ::.
  3. 3Hexadecimal letters are written in lowercase for a consistent canonical form.

This address

Zero-group analysis

The expanded address contains a longest uninterrupted sequence of 5 zero groups. That sequence is eligible for the :: abbreviation.

Compressed notation is useful in configuration files, logs, command output, and URLs. It represents exactly the same 128-bit address as the expanded form.

Expand this IPv6 address

About this IPv6 address

IPv6 documentation address: 2001:db8::1

This address is part of the documentation prefix reserved for examples, tutorials, diagrams, and configuration samples.

Recent notation conversions

Recent IPv6 Compressions

Open recent IPv6 addresses to compare their expanded and shortest standard forms.