Free tool

MAC address lookup and format converter

Updated

Paste one MAC address, a list, or a whole show mac address-table or arp -a output. Each address gets its vendor from the IEEE registry, all four common formats, and a flag if it's random, multicast or broadcast. It runs in your browser: nothing you paste is uploaded.

Vendor names come from the IEEE registry, downloaded from this site the first time you look one up.

Turning a MAC table into a diagram?

In NetworkSketch, each device keeps its MAC address, vendor, model and management IP, and the network check warns about MACs that don't look right. Need the addressing too? The IP plan checker finds duplicate IPs, and the port number list covers the services in between.

Try it, no signup

Reading a MAC address

48 bits, written as 12 hex digits. The first six digits usually say who made the interface; two bits in the first byte say what kind of address it is.

Vendor prefix (OUI)The first 24 bits (00:1b:54) are a block the IEEE assigned to one organization, which numbers its interfaces inside it. Smaller 28-bit and 36-bit blocks share a 24-bit prefix among many buyers, so the lookup uses the longest match.
Locally administered (random)When the second hex digit is 2, 6, A or E, the address wasn't burned in by a vendor. Phones and laptops make one up per Wi-Fi network for privacy; VMs, containers and virtual router addresses use them too.
Multicast and broadcastAn odd first byte (01:, 33:) means a group address: IPv4 multicast is 01:00:5e, IPv6 is 33:33, STP and LLDP use 01:80:c2. ff:ff:ff:ff:ff:ff is broadcast. None of these is ever a device's own address.
Same address, different spellingCisco writes 001b.5479.3c21, Windows 00-1B-54-79-3C-21, Linux and most others 00:1b:54:79:3c:21. Pick one under Show as and the copy buttons and CSV use it.

Questions

Why does a phone show no vendor, or a different MAC on each network?

It is using a random (private) MAC. iPhones, iPads and Android phones use a different random address for each Wi-Fi network by default, and recent macOS and Windows can too. A random MAC has the locally administered bit set, so its second hex digit is 2, 6, A or E (for example da:a1:19:...), and it belongs to no vendor. To identify the device, use its DHCP hostname, the switch port, or 802.1X instead of the MAC.

Where does the vendor name come from?

From the IEEE Registration Authority's public registry: the MA-L (24-bit OUI), MA-M (28-bit) and MA-S and IAB (36-bit) assignments. The longest matching prefix wins, because the IEEE sells the smaller blocks out of larger ones. The vendor is whoever bought the block, which is often the chip or module maker rather than the brand on the box.

Which MAC format does my switch use?

Cisco IOS and NX-OS write aabb.ccdd.eeff, Windows writes AA-BB-CC-DD-EE-FF, Linux, macOS, Juniper and Aruba write aa:bb:cc:dd:ee:ff, HPE Comware and Huawei write aabb-ccdd-eeff, and HPE ProCurve writes aabbcc-ddeeff. They are the same 48 bits; most CLIs accept only their own format in commands, so pick it under Show as before copying.

Is anything I paste sent anywhere?

No. The addresses are read and looked up on this page in your browser. The first lookup downloads the vendor list (about 450 KB) from this site, the same file for everyone; your MACs are never sent, and the page has no analytics or tracking.