Browser Terminal (Dev Playground)

A shell-style terminal that runs entirely in your browser — type commands, get instant results, nothing is ever uploaded.

This playground pairs a real terminal UI (xterm.js) with a small command router written in plain JavaScript. Every command — hashing, base64, timestamps, UUIDs — executes locally in your browser sandbox. There is no SSH, no WebSocket and no server-side shell: the page loads instantly because there is no disk image to download.

🔒 Private by design. Every command runs in your browser. What you type never leaves your device — 100% private.
🙄 Want a full operating system? For a genuine Linux VM (kernel, disk and all) try Linux in Browser — this playground is its instant, zero-download companion.
[email protected] — /home/visitor

Click the terminal to focus it, then type. Arrow keys recall command history.

Command reference

helpShow the full command list.
dateCurrent local date and time.
echo <text>Print text back to the terminal.
hash [algo] <text>Digest of the text via Web Crypto: sha256 (default), sha384 or sha512.
base64 enc|dec <data>Base64-encode or decode text (UTF-8 safe).
timestamp [unix]Current unix time, or convert a given unix timestamp to local + UTC.
uuidGenerate a random UUID v4.
historyList the commands you have run this session.
whoamiWho is typing?
clearClear the screen.

How it works

The terminal window is rendered by xterm.js, served from this site (no CDN). xterm.js is used purely as an I/O surface: it draws the screen and captures your keystrokes, while a small local JavaScript router parses each line you submit and runs the matching command. Hashing uses the browser's built-in Web Crypto API; base64, timestamps and UUIDs use standard browser APIs. Because nothing is sent anywhere, there is no server-side shell to secure, no WebSocket connection to manage, and no request to any backend after the page loads.

This is deliberately a different beast from the Linux in Browser pages: those boot a real (emulated) operating system with a multi-gigabyte disk image, while this playground ships no disk at all — just a few kilobytes of JavaScript — so it opens instantly and works offline once cached.


Luke Keam
Spot a bug or want a custom utility built? I'd love to hear from you. Get in touch
Luke Keam | techgeek.biz