Skip to content
Hex Calculator

MAC Address to Hex Converter

Strip the separators from a MAC address and get its raw 12-digit hex form — the reverse of formatting hex as a colon-separated MAC.

Hexadecimal value
0xAABBCCDDEEFF
Swapnil Sanghvi

Built by

Swapnil Sanghvi

Full-Stack Web Developer & WordPress Developer

Swapnil Sanghvi is a full-stack web and WordPress developer, UI designer, and full-time freelancer who builds and maintains Hex Calculator.

MAC Address to Hex Converter tool preview card from Hex Calculator
Share preview: this is the card that appears when you share the MAC Address to Hex Converter page on social media.

Further reading: IPv4 — Wikipedia

How to Convert a MAC Address to Hex

Strip whatever separators the MAC address uses (colons, hyphens, or Cisco-style dots), leaving the 12 hex digits as one continuous string. No numeric conversion happens — a MAC address's digits are already hex, so this is purely a reformatting step.

Where MAC Address to Hex Actually Comes Up

Preparing a MAC Address for an API That Expects Raw Hex

Some networking APIs and config file formats expect a MAC address as an unbroken hex string rather than the colon-separated display format.

AA:BB:CC:DD:EE:FF -> AABBCCDDEEFF

Normalizing MAC Addresses From Different Sources

Different tools display MAC addresses with different separator styles (colons, hyphens, Cisco dots) — converting to a plain hex string gives one consistent format for comparison or storage.

AA-BB-CC-DD-EE-FF and AABB.CCDD.EEFF -> same hex

Feeding a MAC Address Into Further Hex-Based Calculations

Once stripped to plain hex, a MAC address can be treated as an ordinary hex value for decimal conversion, binary breakdown, or bitwise comparison against another address.

strip separators, then convert further

Why Use This Calculator Instead of Doing It by Hand

  • Accepts colon, hyphen, and Cisco-dot separator styles automatically
  • Validates the result is exactly 12 hex digits (6 bytes)
  • Runs entirely in your browser — nothing you type gets sent anywhere
  • Catches malformed input instead of silently producing a wrong-length result

Limitations

  • Requires exactly 12 hex digits once separators are stripped — a shorter or longer value is rejected rather than padded or truncated.
  • Doesn't look up or validate the manufacturer (OUI) behind the address.

Frequently Asked Questions

What does converting a MAC address to hex actually change?

Just the formatting — a MAC address's digits already are hex; this removes the colons, hyphens, or dots separating the byte pairs, leaving one continuous 12-digit hex string.

What separator styles does this accept?

Colons (AA:BB:CC:DD:EE:FF), hyphens (AA-BB-CC-DD-EE-FF), and Cisco-style dots (AABB.CCDD.EEFF) are all stripped automatically before formatting.

Why would I need a MAC address without separators?

Some APIs, config file fields, and low-level code expect a MAC address as a single contiguous hex string rather than the colon-separated display format.

Is this the reverse of Hex to MAC Address?

Yes exactly — Hex to MAC Address adds the colon separators back in; this strips them out.