Shutdown, Restart and Sleep Command Generator
WebEverything runs locally in your browser — nothing is uploaded
The same job needs three unrelated commands on three platforms, and the delay is measured differently on each: Windows counts `/t` in seconds, while Linux and macOS count `+N` in minutes. Typing 2 for two minutes gives `/t 2` — no error, just a shutdown two seconds later. This tool splits platform, action, delay, force and warning message into options, then explains every argument it emitted and states plainly how your delay was converted. The awkward cases get called out too: Windows has no built-in sleep command, and `/h` cannot be combined with `/t`, `/f` or `/c`. Every command is assembled in your browser. Nothing is sent anywhere.
Features
- One tool for Windows, Linux and macOS
- Five actions: shutdown, restart, sleep, hibernate, cancel
- Delay converted per platform and stated plainly: seconds on Windows, minutes on Linux and macOS
- Every argument explained, one by one
- Warning messages quoted automatically (/c on Windows, a broadcast message elsewhere)
- Options that do not exist on a platform are called out instead of silently dropped
- Sleep on Windows and the /h-versus-/t conflict get their own notes
- Runs entirely in your browser, with no network requests
How to use
- Pick a platform (Windows, Linux or macOS)
- Pick an action and enter the delay in minutes
- Tick force-close or add a warning message if you need them
- Copy the generated command and its argument list
FAQ
- Why seconds on Windows and minutes elsewhere?
- Two historical conventions. Windows measures `shutdown /t` in seconds; Linux and macOS measure `shutdown +N` in minutes. So two minutes becomes `/t 120` on Windows and `+2` on the others. Neither errors — they just differ by a factor of 60, which is why the converted value is written into the result.
- Why can I not sleep a Windows machine with shutdown?
- Because Windows `shutdown` only offers `/s`, `/r`, `/h`, `/a`, `/t`, `/c` and `/f` — there is no `/sleep`. The usual substitute is `rundll32.exe powrprof.dll,SetSuspendState`, with a catch: if hibernation is enabled it hibernates rather than sleeping. Run `powercfg /hibernate off` first if sleep is what you want.
- Can shutdown /h take a delay?
- No. Windows makes `/h` mutually exclusive with `/t`, `/f` and `/c`; combining them is rejected. So this tool drops the delay, force and message for hibernate and says why, rather than emitting a command the system refuses.
- Why is there no force-close switch on Linux?
- Because Linux `shutdown` has no such option — it broadcasts and shuts down cleanly by default. To skip the normal sequence you can use `systemctl poweroff --force` (`--force --reboot` to restart), but that risks data loss, so this tool does not add it for you and only mentions it in the notes.
Related tools
Linux Permissions
WebConvert between 755, u+x,g-w and -rwxr-xr-x, with every bit explained and the umask defaults for new files and directories worked out. All in your browser.
cURL Toolbox (code / parse / build)
WebTurn a curl command into seven languages of code, or break it into method, headers and body fields; or build a curl command back from an HTTP request.
Path Converter
WebGet the Windows, forward-slash, WSL (/mnt/c) and Git Bash (/c) forms of a path at once, with the trailing slash kept exactly. All in your browser.
URL Parser
WebParse a URL into scheme, host, port, path, query parameters and fragment, with each parameter shown raw and decoded. Runs entirely in your browser.
User-Agent Parser
WebParse a user agent into browser, version, OS, device type and engine, and see which rules matched. Pattern matching only. Runs entirely in your browser.
HTTP Status Codes
WebLook up an HTTP status code for its meaning, 1xx–5xx class, typical uses and common traps. Runs entirely in your browser.