Snipget.ai

Networking mac format

Exact
networking_mac_format

Deterministic and authoritative — the canonical answer for this input.

Reformat a MAC address to a chosen style: colon (aa:bb:...), hyphen (aa-bb-...), dot (Cisco aabb.ccdd.eeff), or bare (aabbccddeeff). Processing multiple inputs? Use `networking_mac_format_batch` to do up to 1000 in one call.

Parameters

valuestringrequired

The MAC address to reformat.

stylestringoptional

colon, hyphen, dot (Cisco), or bare.

Call it

curl -X POST https://api.snipget.ai/v1/networking/mac/format \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{"value":"aabbccddeeff","style":"colon"}'

The Batch tab sends up to 1000 inputs in one call via /v1/networking/mac/format/batch.

Example response

{
  "input": "aabbccddeeff",
  "is_valid": true,
  "style": "colon",
  "formatted": "aa:bb:cc:dd:ee:ff"
}

FAQ

What does it do?

It rewrites a hardware (MAC) address into the style you choose, no matter how it was written originally. Pick colon (aa:bb:cc:dd:ee:ff), hyphen (aa-bb-cc-dd-ee-ff), dot for Cisco gear (aabb.ccdd.eeff), or bare (aabbccddeeff).

Why is this handy?

Different systems print MAC addresses in different styles, so the same device can look like three different values in your data. Reformatting everything to one style makes them match cleanly when you compare or de-duplicate.

Does the input have to be in a specific style?

No. It accepts any common separator, so you can paste an address with colons, hyphens, dots, or none at all and it will reformat it.

How reliable is it?

It is exact and deterministic. The same address and style always produce the same formatted result.

What if it is not a real MAC address?

Anything that is not a valid 48-bit MAC returns is_valid false with a reason and confidence 0 (a billed data verdict). An unknown style name is a request mistake: rejected with an INVALID_INPUT error, not billed.

Related tools