Developer Tools
MAC Address Formatter
Format and validate EUI-48 MAC addresses in your browser. Convert between colon, hyphen, Cisco dot, bare hex, decimal, EUI-64, and IPv6 link-local forms.
MAC address formatter
Accepts any of: AA:BB:CC:DD:EE:FF AA-BB-CC-DD-EE-FF AABB.CCDD.EEFF AABBCCDDEEFF 0xAABBCCDDEEFF
Quick samples
All formats
Colon-separated (uppercase)
AA:BB:CC:DD:EE:FF
Colon-separated (lowercase)
aa:bb:cc:dd:ee:ff
Hyphen-separated (uppercase)
AA-BB-CC-DD-EE-FF
Hyphen-separated (lowercase)
aa-bb-cc-dd-ee-ff
Cisco dot-separated (uppercase)
AABB.CCDD.EEFF
Cisco dot-separated (lowercase)
aabb.ccdd.eeff
Bare hex (uppercase)
AABBCCDDEEFF
Bare hex (lowercase)
aabbccddeeff
0x-prefixed integer
0xAABBCCDDEEFF
Decimal integer
187723572702975
Binary (per octet)
10101010 10111011 11001100 11011101 11101110 11111111
OUI and NIC breakdown
OUI (vendor portion, 24 bits)
AA:BB:CC
NIC-specific (24 bits)
DD:EE:FF
Look up the OUI in the IEEE registry to identify the assignee. The high 24 bits identify the organization, the low 24 bits identify the interface. The OUI also encodes the I/G and U/L flag bits.
Per-octet breakdown
| Octet | Hex | Decimal | Binary | Notes |
|---|---|---|---|---|
| 1 | AA | 170 | 10101010 | I/G = 0 (individual), U/L = 1 (local) |
| 2 | BB | 187 | 10111011 | OUI |
| 3 | CC | 204 | 11001100 | OUI |
| 4 | DD | 221 | 11011101 | NIC-specific |
| 5 | EE | 238 | 11101110 | NIC-specific |
| 6 | FF | 255 | 11111111 | NIC-specific |
EUI-64 and IPv6 link-local
EUI-64 (FF:FE inserted)
AA:BB:CC:FF:FE:DD:EE:FF
Modified EUI-64 (U/L bit flipped)
A8:BB:CC:FF:FE:DD:EE:FF
IPv6 link-local (fe80::/64)
fe80::a8bb:ccff:fedd:eeff
RFC 4291 derives an IPv6 interface identifier from an EUI-48 MAC by inserting FF:FE in the middle and inverting the U/L bit. The result forms the low 64 bits of the fe80::/10 link-local address.
Address classification
Unicast, locally administered
- Locally administered (U/L bit set). Configured by an administrator, not assigned by the IEEE.
- Individual address (I/G bit clear). Targets a single interface.
About MAC addresses
- An EUI-48 MAC address is 48 bits long, usually written as 12 hex digits in groups of two (or four for Cisco).
- The first 24 bits are the Organizationally Unique Identifier (OUI), assigned by the IEEE to a vendor.
- The last 24 bits are the NIC-specific identifier, chosen by the manufacturer.
- Bit 0 of the first octet is the I/G bit (individual vs group). Bit 1 is the U/L bit (universal vs local).
Common formats
- AA:BB:CC:DD:EE:FF colon-separated is the IEEE 802 canonical form (also used by Linux ip and ifconfig).
- AA-BB-CC-DD-EE-FF hyphen-separated is the default on Windows.
- AABB.CCDD.EEFF is the Cisco IOS format with groups of four hex digits.
- AABBCCDDEEFF bare hex is common in CSV exports and log files.
How to use
- Paste or type a MAC address in any common form. Colon, hyphen, Cisco dot, bare 12-hex, 0x-prefixed integer, and plain decimal all work.
- The tool auto-detects the format and renders the address in every other form below, with separate uppercase and lowercase variants.
- Read the OUI and NIC breakdown to split the vendor-assigned prefix from the interface-specific suffix.
- Check the classification panel to see whether the address is unicast, multicast, broadcast, universally administered, or locally administered, and to spot well-known special addresses.
- Click Copy on any row to grab that representation, or pick a quick sample chip to load a common address such as broadcast, an IPv4 multicast destination, or a Cisco-format example.
About this tool
MAC Address Formatter takes an EUI-48 MAC address in any common form and renders it in every other widely used form at once. Paste a colon-separated address like AA:BB:CC:DD:EE:FF, a Windows-style hyphen-separated address like AA-BB-CC-DD-EE-FF, a Cisco IOS dot-separated address like AABB.CCDD.EEFF, a bare 12-hex string like AABBCCDDEEFF, a 0x-prefixed 48-bit integer like 0xAABBCCDDEEFF, or a plain decimal up to 2^48 - 1, and the tool auto-detects the input and shows the rest. Each output has its own copy button, with explicit uppercase and lowercase versions for the colon, hyphen, Cisco, and bare hex variants so you can match the casing your switch, router, log line, or database column expects. The OUI and NIC breakdown splits the 48 bits into the 24-bit Organizationally Unique Identifier assigned by the IEEE and the 24-bit interface-specific value chosen by the vendor. A per-octet table prints the hex, decimal, and binary value of each byte and annotates the first octet with the I/G bit (individual or group) and the U/L bit (universal or locally administered). The classification panel reports whether the address is unicast or multicast, universally or locally administered, and flags well-known special addresses including the FF:FF:FF:FF:FF:FF broadcast destination, IPv4 multicast (01:00:5E:00:00:00 to 01:00:5E:7F:FF:FF), IPv6 multicast (33:33:xx:xx:xx:xx), the Spanning Tree BPDU group (01:80:C2:00:00:00), and the LLDP destination (01:80:C2:00:00:0E). The EUI-64 panel inserts FF:FE between the OUI and NIC halves to produce a 64-bit EUI-64, also shows the modified EUI-64 with the U/L bit flipped per RFC 4291 Appendix A, and derives the fe80::/64 IPv6 link-local address that an interface would self-configure from that MAC. Useful for network engineers normalizing CSV inventories, security analysts pivoting between log formats, system administrators reading switch MAC tables, developers writing inventory scripts, students learning the structure of layer-2 addressing, and anyone who needs to translate between the formats Linux ip, Cisco IOS, Windows getmac, packet captures, and asset databases print. Parsing and formatting run with plain JavaScript string handling and bitwise math in your browser. No vendor lookup is performed online, no addresses are uploaded.
Free to use. Works in your browser. No signup, no login.
Related tools
You may also like
IP Address Converter
Convert IPv4 between dotted-decimal, decimal, hex, binary, and octal with per-octet breakdown.
Open tool
DeveloperSubnet Calculator
IPv4 CIDR network, broadcast, host range, mask, and binary view.
Open tool
DeveloperCIDR Range Calculator
Batch CIDR to IP range, range to CIDR, and contains test for IPv4 and IPv6.
Open tool
DeveloperIPv6 Expander and Compressor
Expand, compress, classify, and derive reverse DNS for any IPv6 address with optional zone and CIDR prefix.
Open tool
DeveloperRandom IP Address Generator
Bulk random IPv4 and IPv6 generator with scope filters, CIDR limits, and JSON, CSV, SQL output.
Open tool