Skip to content
SubnettingCalculator
IPv4 Detecting…
IPv6 Detecting…

MAC Address Converter & Formatter – Convert MAC Address Formats

Use this free MAC address converter to change a MAC address from one format to another. Paste one address or a whole list in any style, with colons, hyphens, dots or no separator, then pick the format you need, such as colon, hyphen or Cisco dotted, in upper or lower case. It also shows the OUI, the address type and the EUI-64 form.

MAC Address Format Converter

Enter the MAC addresses you want to convert, one per line, in any format.

MAC Addresses to Convert

Example Input:
00:1A:2B:3C:4D:5E 00-1a-2b-3c-4d-5f 001a.2b3c.4d60 001A2B3C4D61 0x001a2b3c4d62 02:42:ac:11:00:02 01:00:5e:00:00:fb ff:ff:ff:ff:ff:ff
Options:

What is a MAC address converter?

A MAC address is written differently on almost every system. Windows uses hyphens, Linux uses colons, Cisco devices use three groups of four digits with dots, and some databases store it with no separator at all. They all describe the same 48 bits.

This converter reads a MAC address in any of these styles and rewrites it in the one you need, so you can paste an address from a switch into a Windows tool, or clean up a long list in one go.

How to use the MAC Address Converter

1Enter your MAC addresses

Type or paste the addresses into Enter MAC Addresses, one per line. You can mix formats in the same list. Click Copy Example if you want a sample to paste in and try.

2Choose the output format

Under Options, pick the Output format you need, choose UPPER or lower case letters, and tick Remove duplicates if your list repeats addresses.

3Click Convert MAC Address

The result appears below the form. From then on it follows your changes, so you can edit the list or switch the output format and watch the table update. An entry that is not a valid MAC address is marked in red instead of stopping the conversion.

4Choose the columns

The MAC Address and Converted columns are always shown. Tick or untick boxes in Show Columns to also see every other format, the OUI, whether the address is unicast or multicast, whether it is universal or local, the decimal value, EUI-64 and the IPv6 link-local address. On a phone or tablet that row slides sideways.

5Copy, download or start again

Copy puts the whole table on your clipboard and Download saves it as a CSV file, using only the columns you ticked. Copy List under the table copies just the converted addresses, one per line. Clear All empties the box and hides the result.

MAC address formats

The same address, 00:1A:2B:3C:4D:5E, written in each format the tool supports:

FormatWhere you see itExample
ColonLinux, macOS, most network gear00:1A:2B:3C:4D:5E
HyphenWindows, IEEE standard00-1A-2B-3C-4D-5E
Cisco dottedCisco IOS and IOS-XE001a.2b3c.4d5e
Huawei hyphenHuawei and H3C001A-2B3C-4D5E
No separatorDatabases and some APIs001A2B3C4D5E
SpaceSome logs and documents00 1A 2B 3C 4D 5E
0x prefixProgramming and hex dumps0x001A2B3C4D5E

Whatever the format, the letters can be upper or lower case. They mean the same thing.

How the address is read

The tool takes out the separators and checks that what is left is exactly 12 hex digits (or 16 for an EUI-64 address). It also accepts octets written with one digit, such as 0:1:2:3:4:5, which some Linux tools print. It then builds each output format from the same six bytes.

The first byte also holds two flags. The lowest bit says multicast (1) or unicast (0). The next bit says locally administered (1) or universally administered (0). That is why virtual machine and container addresses often start with 02.

Example: from MAC address to EUI-64 and IPv6

00:1A:2B:3C:4D:5E becomes the EUI-64 00:1A:2B:FF:FE:3C:4D:5E when FF:FE is added in the middle. Flipping the universal/local bit of the first byte (00 becomes 02) gives the interface ID of the IPv6 link-local address fe80::21a:2bff:fe3c:4d5e.

When it helps

Use it to move a MAC address between a Cisco switch and a Windows or Linux tool, to write ACLs and DHCP reservations in the format your device expects, to clean a MAC list from a spreadsheet or inventory before you import it, and to work out the IPv6 address a device will give itself.

To check the IP address that goes with a device, use the IP Class & Type Detector. To plan the network the device sits in, use the IPv4 Subnet Calculator.

Frequently asked questions

What is a MAC address?

A MAC address is the hardware address of a network card. It is 48 bits long and written as 12 hex digits, for example 00:1A:2B:3C:4D:5E. Switches use it to deliver frames on the local network.

Which MAC address formats can I paste in?

Almost any. Colons (00:1A:2B:3C:4D:5E), hyphens (00-1A-2B-3C-4D-5E), Cisco dots (001A.2B3C.4D5E), Huawei hyphens (001A-2B3C-4D5E), spaces, no separator at all (001A2B3C4D5E) and a 0x prefix all work. Upper and lower case can be mixed, and an octet written with one digit, like 0:1:2:3:4:5, is padded for you.

Which MAC address format does Cisco use?

Cisco IOS shows MAC addresses as three groups of four hex digits separated by dots, like 001a.2b3c.4d5e. Choose Cisco dotted as the output format to get it.

Which format does Windows use, and which one does Linux use?

Windows shows hyphens, like 00-1A-2B-3C-4D-5E. Linux, macOS and most network gear show colons, like 00:1a:2b:3c:4d:5e.

What is the OUI of a MAC address?

The OUI is the first three bytes. The IEEE gives it to the maker of the network card, so it tells you who made the device. This tool shows the OUI but does not look up the company name, because that needs an up-to-date list from the IEEE.

What do unicast, multicast, universal and local mean?

They come from the first byte. If the lowest bit is 1 the address is multicast (and FF:FF:FF:FF:FF:FF is the broadcast address), otherwise it is unicast. If the next bit is 1 the address is locally administered, meaning it was set by software, for example a virtual machine or a privacy feature. If it is 0 the address is universally administered, meaning the maker burned it in.

What is EUI-64 and the IPv6 link-local address?

EUI-64 is a 64-bit identifier. A 48-bit MAC address becomes EUI-64 by inserting FF:FE in the middle. IPv6 can build an interface ID from it by also flipping the universal/local bit, which gives the address that starts with fe80::. Tick EUI-64 or IPv6 Link-local in Show Columns to see them.

Can it convert more than one MAC address at a time?

Yes. Put one address per line, or separate them with commas or semicolons. You can also paste a whole list and choose to remove duplicates. Lines that start with # are ignored.

Does it accept 64-bit (EUI-64) addresses?

Yes. An address with 16 hex digits, like 00:1A:2B:FF:FE:3C:4D:5E, is read as EUI-64 and converted in the same way. The EUI-64 and IPv6 columns are filled in for it too.

Is anything I enter sent to your server?

No. The conversion runs in your browser, so the addresses you enter stay on your device.