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