A website cannot read your MAC address. These commands make your device show it to you:
Windows
PowerShell
PS>Get-NetAdapter | Format-Table Name, MacAddress, Status# all network adapters with MAC address
Windows Command Prompt
>getmac /v# all network adapters with MAC address
macOS
Terminal
$networksetup -listallhardwareports# all network adapters with MAC address
$ifconfig en0 | grep ether# Wi-Fi only
Linux
Terminal
$ip -br link# all network adapters with MAC address
On a phone, no command needed. iPhone: Settings → Wi-Fi → (i) next to the network → Wi-Fi Address. Android: Settings → Network & internet → Wi-Fi → connected network → MAC address. It usually shows a random address; the fixed one is under "About phone".
Good to know
What is a MAC address?
A MAC address identifies a network interface such as a Wi-Fi module, network card or Bluetooth chip. The first half belongs to the vendor, the second is a serial they assign. That is why the vendor can be read from the address.
Where do I find it?
The easiest place is your router's device list. On a computer, Windows shows it with ipconfig /all as "Physical Address", macOS and Linux with ip link or ifconfig. On a phone it is in the Wi-Fi settings.
Can a website see my MAC address?
No. The MAC address never leaves your local network; on the internet only your IP address is visible. That is why this page cannot show your MAC address automatically.