HTML / CSS / JS Playground
Preview HTML and CSS and run separate JavaScript snippets with local console output. Accepts HTML, HTM, TXT files directly on your device. Configurable options include CSS, JavaScript console snippet.
Quick Reference
Preview HTML and CSS and run separate JavaScript snippets with local console output. Accepts HTML, HTM, TXT files directly on your device. Configurable options include CSS, JavaScript console snippet.
- Input: .html, .htm, .txt
- Runtime: On-device Browser UI, Node CLI (vipervoid), and MCP
- Options: CSS (default: body { font: 16px system-ui; background: #f4f1fc; padding: 2rem; } .card { background: white; padding: 1.5rem; border-radius: 12px; } h1 { color: #5e4ba8; }); JavaScript console snippet (default: )
- Example:
Run directly with default or custom options->Deterministic local output displayed for copy, download, or JSON inspection - CLI:
vipervoid run html-playground --text "Sample input" --opt css="body { font: 16px system-ui; background: #f4f1fc; padding: 2rem; }\n.card { background: white; padding: 1.5rem; border-radius: 12px; }\nh1 { color: #5e4ba8; }"
Related Developer tools
- Image to Base64 — Encode an image as a Base64 data URL.
- Regex Tester — Match, replace, split, or extract using JavaScript regular expressions.
- Diff Checker — Compare two versions and export a unified text patch.
- Regex Patterns — Look up a reusable pattern and test it on sample text.
- Base64 Encoder — Encode text or binary files to Base64 or a data URL.
- Base64 Decoder — Decode Base64, Base64URL or a data URL as text or a binary file.