Validate MAC address

Check whether a MAC address uses a supported six-byte hexadecimal notation.

freeworks offlinenothing uploaded
ToolMAC Address Validator
Input
Output
Put this on your own site

The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.

Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.

Preview

How it works

The value is trimmed and matched against colon, hyphen, dotted Cisco, or contiguous twelve-digit hexadecimal forms. The check validates lexical shape only and does not query a network interface or vendor registry.

  • All four common display forms are accepted.
  • Hexadecimal case is ignored.

Worked example

Colon-Separated MAC
Validate a standard colon-separated MAC address
Input
											00:1A:2B:3C:4D:5E
										
Output
												Valid MAC address (colon-separated): 00:1A:2B:3C:4D:5E
											

When to use this

DHCP reservations, switch configuration, and packet-capture filters check MAC notation.

Edge cases

  • A group with three hex digits fails even when the total digit count is twelve.
  • Locally administered addresses remain structurally valid.
  • An IPv6 address does not match a six-byte MAC pattern.

References