VLAN Decoder
Paste the 16-bit TCI or the full 32-bit 802.1Q tag in hex to decode TPID, PCP, DEI and VLAN ID, or build the tag by choosing VID, priority and DEI. Includes the binary breakdown of the TCI. Nothing is sent to any server.
TCI —
Tag —
VID —
PCP · 802.1p priority
—
—
DEI
—
—
VLAN ID (VID)
—
—
Binary breakdown of the TCI (16 bits)
PCP (3 bits) DEI (1 bit) VID (12 bits)
802.1p priority table (PCP)
| PCP | Acronym | Traffic class |
|---|
802.1Q tag structure
Tag 4 bytes inserted after the source MAC:
TPID (16 bits) + TCI (16 bits).
TPID 0x8100 = 802.1Q (C-Tag) ·
0x88A8 = 802.1ad (S-Tag / QinQ) · 0x9100 = legacy / non-standard.
TCI PCP = (TCI >> 13) & 0x7 ·
DEI = (TCI >> 12) & 0x1 · VID = TCI & 0x0FFF.
Runs locally in your browser · no sign-up · nothing leaves your browser