$ man what-is-my-mac-address
What Is My MAC Address
NAME
what-is-my-mac-address — Why no website can read your MAC address, the actual steps to find it on every operating system, and a decoder for an address you type in.
SYNOPSIS
# What Is My MAC Address?
A MAC address is the 48-bit hardware identifier belonging to one network interface, used to address frames inside a single network segment — and no web page can read yours, because a stable hardware identifier readable by any site would be a perfect tracking key, so browsers have never exposed it.
WHY HERE
Maths, science and data tools for developers and analysts: SerpAPIs' technical audience.
No web page can read your MAC address. There is no JavaScript API for it, there is no permission that grants it, and HTTPS makes no difference — the address never leaves your own network segment, and the browser is not given it either. This is a deliberate design decision rather than an oversight: a MAC address is burned in or assigned per interface and barely changes, so a page that could read one would have a tracking identifier that survives clearing cookies, switching browsers and using private browsing. Java applets could read it before 2015 and ActiveX controls before that, which is why the belief that a website can still do it is so persistent.
A MAC address is a 48-bit identifier belonging to one network interface — your Wi-Fi radio and your Ethernet port have different ones, and so does every virtual adapter a VPN or a hypervisor creates. It is used only inside a single network segment, to address frames between devices on the same link. The moment traffic crosses a router it is the IP address that carries it onwards, and the MAC address is replaced by the next hop's. That is why a website only ever sees your IP address, and why your internet provider cannot see the MAC address of the laptop behind your router.
- Settings → Network & internet → Wi-Fi → Hardware properties. The line labelled “Physical address (MAC)” is it.
- Or open Command Prompt or PowerShell and run: getmac /v /fo list
- Or run: ipconfig /all — the “Physical Address” under each adapter is that adapter's MAC address.
Windows 11 randomises the Wi-Fi address per network by default. Settings → Network & internet → Wi-Fi → Random hardware addresses controls it, and the address shown in Hardware properties is the randomised one in use, not the burned-in one.
- Hold Option and click the Wi-Fi icon in the menu bar: the address appears at the top of the menu.
- Or System Settings → Network → Wi-Fi → Details → Hardware. For Ethernet, pick that service instead.
- Or in Terminal: ifconfig en0 | grep ether — en0 is usually Wi-Fi on a laptop and Ethernet on a desktop.
macOS Sequoia and later use a private Wi-Fi address per network by default, set per network under Wi-Fi → Details → Private Wi-Fi Address. That is the address your router sees.
- Settings → General → About → Wi-Fi Address. That is the hardware address.
- Settings → Wi-Fi → tap the (i) beside the network → Private Wi-Fi Address shows the per-network address actually in use.
iOS has used a different randomised address for every network since iOS 14, which is why the address in your router's client list does not match the one in Settings → About.
- Settings → About phone → Status → Wi-Fi MAC address, or Settings → About phone → Hardware information, depending on the manufacturer's skin.
- Per-network: Settings → Network & internet → Internet → tap the gear beside the network → Privacy, which chooses between a randomised and the device address.
Android has randomised per network since Android 10, and Android 12 and later re-randomise periodically on some networks.
- ip link show — the “link/ether” line under each interface is its MAC address.
- Or: cat /sys/class/net/*/address
- The permanent, burned-in address even when one is spoofed: ethtool -P eth0
- Settings → Network → Wi-Fi → the network name → the MAC address is under the connection details.
- Or open chrome://system and search the page for “ifconfig”.
- Log into the router's admin page — usually 192.168.0.1 or 192.168.1.1 — and look for Attached Devices, DHCP Clients or Device List.
- That list is the authority for what is actually on your network, and it shows the address each device is currently presenting.
Addresses here will often not match the ones on the devices themselves, because phones and recent desktop systems present a randomised address per network. A randomised address always has the locally-administered bit set, which this page's decoder will tell you.
Decoded by the code on this page. What you paste is not sent anywhere, saved anywhere or logged — a MAC address is a device identifier, so that matters more here than on most pages.
Unicast, globally unique. The first three octets are an IEEE-assigned block belonging to one manufacturer, so this is the hardware address burned into the interface.
The same address, every way it gets written| Format | Value | |
|---|---|---|
| Colon-separated (Linux, macOS, IEEE) | a4:83:e7:1b:2c:3d | |
| Hyphen-separated (Windows) | A4-83-E7-1B-2C-3D | |
| Cisco dotted triplets | a483.e71b.2c3d | |
| Bare hex | a483e71b2c3d | |
| Upper case, no separators | A483E71B2C3D |
The first three octets are a block IEEE assigned to one manufacturer. No vendor table is shipped in this page — the registry is about 35,000 entries, and a partial table would confidently report “unknown” for a company that is in fact registered. Search the registry itself for the OUI below.
- Reading your MAC address from this page. There is no API, in any browser.
- Looking up who owns a locally-administered address. There is no owner — the device made it up.
- Finding the device a MAC address belongs to from the address alone. The OUI names a manufacturer, which may have sold millions of units.
- Telling you the MAC address of a device from its IP address. That mapping lives in the ARP table of the router on that segment, not anywhere a page can reach.
The address you paste and everything decoded from it is read and worked out inside your own browser. There is no server call, no analytics event carrying the result, no cookie, and no record of it anywhere — close the tab and it is gone. The county, ZIP and place data is a Census Bureau file shipped with the page, so the lookup happens locally too. Worth knowing the other way round, though: this same collection of details — screen size, fonts, time zone, graphics renderer — is exactly what browser fingerprinting uses to recognise you across sites without a cookie, and most of it is readable by any page you visit without asking. Seeing how specific it is to your device is the point.
// This page cannot read your MAC address, and neither can any other web page — browsers do not expose it, by design. What it gives you is the steps to find it on your own device and a decoder for an address you type in. The decoder ships no manufacturer table: a locally-administered address has no owner, and the IEEE registry of about 35,000 assigned blocks is the authority for one that does.
USAGE
01 → Find the address on the device itself
The per-platform steps are below. On Windows the quickest route is getmac /v /fo list in a terminal; on a Mac, hold Option and click the Wi-Fi icon; on iOS it is Settings → General → About → Wi-Fi Address.
02 → Expect two different answers, and know which is which
Every current phone, and Windows 11 and recent macOS on Wi-Fi, present a randomly generated address per network. The address in Settings is the hardware one; the address in your router's client list is the randomised one. Both are correct answers to different questions.
03 → Paste an address into the decoder to see what kind it is
The decoder reads the two structural bits in the first octet. They tell you whether the address belongs to one device or a group, and whether it is a manufacturer's globally unique address or one a device generated for itself — which is the answer to "why does my MAC address keep changing".
04 → Use the OUI to find the manufacturer
For a globally unique address, the first three octets are a block IEEE assigned to one company. The decoder extracts it so you can search the IEEE registry, which is the authority. No vendor list is shipped here, because a partial one would report "unknown" for companies that are registered.
DESCRIPTION
Start with the thing most pages answering this query get wrong: a website cannot read your MAC address. There is no JavaScript API that returns it, there is no permission prompt that grants it, and whether the page is on HTTPS makes no difference. The browser is not given the address either. This is deliberate. A MAC address barely changes, so a page that could read one would hold an identifier that survives clearing your cookies, switching browser, and private browsing — exactly the tracking key the whole design of browser privacy exists to deny. Java applets could read it until Java was removed from browsers around 2015, and that is why the belief persists.
What a MAC address actually is: 48 bits identifying one network interface. Your Wi-Fi radio and your Ethernet port have different ones, and so does every virtual adapter a VPN client or a hypervisor creates — so a laptop commonly has four or five. It only has meaning inside one network segment, where it addresses frames from one device to another on the same link. As soon as traffic crosses a router the MAC address is replaced by the next hop's and the IP address carries it on. That is why a website only ever sees your IP address, and why even your internet provider cannot see the address of the laptop behind your router.
The two low bits of the first octet are the ones worth knowing. The least significant bit distinguishes unicast from multicast: a device's own address is always unicast, so an address with that bit set is addressing a group and is almost certainly a typo if you copied it off a label. The next bit up distinguishes a globally unique address, taken from a block IEEE assigned to a manufacturer, from a locally administered one the device generated or an administrator set. That second bit is the answer to the most common complaint about MAC addresses: randomised Wi-Fi addresses always have it set, which is why the address your router shows does not match the one on the device's screen and why it changes when you join a different network.
Randomisation is now the default nearly everywhere: iOS since version 14, Android since 10, Windows 11, and recent macOS, all generate a fresh locally-administered address per network to stop venues and networks tracking a device by its hardware address. It breaks two things people rely on. MAC address filtering on a home router stops working, because the device presents a new address — the fix is to turn randomisation off for that one network rather than to turn it off everywhere. And a network that identifies devices by MAC address, such as a university or an office, will see a new device each time; those networks usually publish instructions for exempting them.
FAQ
## Can this page show me my MAC address?
No, and nor can any other. There is no browser API for it, no permission that unlocks it, and the browser is not given the address in the first place. A page claiming to show it is showing you your IP address or something invented. The per-platform steps on this page are the real answer.
## Why does my MAC address keep changing?
Because your device is randomising it. iOS, Android, Windows 11 and recent macOS all generate a different locally-administered address for each Wi-Fi network by default, so that networks cannot track the device by its hardware address. Paste the address into the decoder here and it will tell you whether it is a randomised one.
## Is a MAC address the same as an IP address?
No. A MAC address identifies a network interface and only has meaning on one network segment; an IP address identifies a host on the internet and is what routing uses. A MAC address is assigned by the hardware or the operating system, an IP address by your network. Websites see the IP, never the MAC.
## How do I find out who made a device from its MAC address?
If the address is globally unique, the first three octets — the OUI — are a block IEEE assigned to one manufacturer, and the IEEE registry will name it. If the locally-administered bit is set there is nothing to look up: the device generated the address itself and no company owns it.
## Can I change my MAC address?
Yes, on every desktop operating system, and it is a normal thing to do — that is exactly what randomisation does automatically. It is set in software, so the burned-in address is only a default. Windows exposes it per adapter in Device Manager, macOS and Linux with ifconfig or ip link, and most phones have a per-network setting.