1. Home
  2. Developer tools
  3. Wake-on-LAN Generator

Wake-on-LAN Generator

Enter the MAC address of the computer to wake and get the exact magic packet, the broadcast address to send it to and commands that do it.

Free, no sign-up. Runs in your browser: nothing is uploaded.

How to use Wake-on-LAN Generator

  1. Enter the MAC address and your network.
  2. Read the packet and the broadcast address.
  3. Copy a command or download the packet.

Features

  • Standard 102-byte magic packet
  • Optional SecureOn password
  • Directed broadcast address from your subnet
  • Commands for Linux and PowerShell
  • Download as a binary file
  • Packet shown in hex

Supported formats

Input

  • MAC address

You get

  • Magic packet bytes
  • Command snippets

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the Wake-on-LAN Generator is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • The page builds the packet and commands but cannot send it; browsers cannot send raw UDP broadcasts.
  • The target needs Wake-on-LAN enabled in its firmware and operating system.

Guide

Building a Wake-on-LAN magic packet and sending it

Wake-on-LAN lets you switch on a computer that is turned off or asleep by sending its network card a special packet. Home servers, office desktops and lab machines use it constantly. The packet is simple, but sending it takes a program that can emit UDP broadcasts, which a web page cannot do. The page builds the packet exactly and gives you commands for the machines that can send it.

The magic packet

A magic packet contains a synchronisation stream of six bytes, each FF, followed by the target’s 6-byte MAC address repeated sixteen times. That makes 6 + 16 × 6 = 102 bytes. The network card, still powered while the computer is off, scans incoming frames for this pattern and wakes the machine when it sees it. The packet can be the payload of a UDP datagram or a raw Ethernet frame with EtherType 0x0842. UDP to port 9 (the discard port) is the common convention, and port 7 (echo) also appears in tools.

Choosing the destination address

Because the sleeping machine cannot answer ARP, the packet is sent as a broadcast on its own network. Two addresses work: the limited broadcast 255.255.255.255, or the directed broadcast of the subnet, for example 192.168.1.255 for a /24. Enter your network in CIDR form and the page works out the directed broadcast and prints both addresses beside the packet. The sender must be on the same network segment, or on a router that forwards directed broadcasts for that purpose.

SecureOn

Some network cards support an optional password, SecureOn, which is appended to the packet as 4 or 6 bytes. A packet without the correct password is ignored. It is sent in the clear, so it is a convenience against accidents rather than real security. The page accepts the password as hexadecimal and adds it after the MAC repetitions.

Sending it

The page shows the first bytes of the packet and the full hexadecimal, a download of the packet as a .bin file, and a block of commands. For Linux, wakeonlan 00:1a:2b:3c:4d:5e or sudo etherwake -i eth0 00:1a:2b:3c:4d:5e do it with the right packages installed. For Windows, a PowerShell script builds the same bytes and sends them through a UdpClient. Run the commands on a computer in the same network as the target.

A worked example

For the MAC address 00:1a:2b:3c:4d:5e on 192.168.1.0/24, the page reports a 102-byte packet that starts ff ff ff ff ff ff 00 1a 2b 3c 4d 5e and repeats 00 1a 2b 3c 4d 5e sixteen times. It recommends sending it to UDP port 9 (or 7) at 192.168.1.255, or at 255.255.255.255, and shows the Linux and PowerShell commands that do so.

Limits

Both the firmware and the operating system must allow waking from the network, and the machine must stay connected to power. Wake-on-LAN from the Internet needs extra infrastructure, such as a VPN into the network or a always-on helper device. Wi-Fi wake (WoWLAN) works only on some hardware. The page cannot test whether the target woke up. To identify the right MAC address, the MAC Address Lookup tells you the vendor of a card.

Checked against the current version of the Wake-on-LAN Generator on .

Frequently asked questions

Why does Wake-on-LAN not work over the Internet?

Routers do not forward broadcast packets to other networks, and a sleeping machine has no IP address to receive a unicast one. Remote waking needs a device on the same LAN to send the packet, or a router with a forwarding feature.

Does my computer need any setting changed?

Yes. Wake-on-LAN must be enabled in the firmware (BIOS or UEFI) and in the network adapter's settings in the operating system. Wi-Fi adapters rarely support it, so a wired connection is the reliable choice.

Can a web page send the packet?

No. Browsers cannot send UDP broadcasts. The page builds the packet and gives you commands to send it from a computer on the same network.

Why does my computer not wake?

Wake-on-LAN must be enabled in the firmware and the network adapter driver, the machine must be powered and connected by cable, and the packet normally has to reach the same subnet.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.