Write HTML,CSS and JS.Watch it run.

A playground that lives in a browser tab. Type into three editors and the page builds itself next to them, with a console underneath. No sign-up, no install, and nothing is uploaded.

Free and open source on GitHub.

Everything a quick experiment needs.

Test a layout, reproduce a bug, sketch an idea for a lesson. It all happens in one tab, and the tab remembers where you left off.

  • Three editors, one per language

    HTML, CSS and JavaScript each get their own lane with syntax highlighting.

  • Runs as you type, or when you say so

    Auto-run refreshes the preview a moment after you stop typing. Switch it off and run by hand with Ctrl + Enter (Cmd on a Mac). A stopwatch shows how long each run took to render.

  • Check it at three sizes

    Preview on Desktop, Tablet at 768 × 1024, or Mobile at 375 × 667.

  • A console under the preview

    console.log, warnings and uncaught errors from your page show up in a panel, so you don't need to open devtools.

  • Share a link, or take the files

    A share link carries the whole project inside the URL. Export downloads a .zip with three files, or one self-contained .html.

  • Picks up where you left off

    Your work autosaves in this browser. Light and dark themes, whichever you prefer.

Your code stays in your browser.

HTML Runner is a set of static files. There is no backend to send your code to, no account to create, and no analytics or tracking.

htmlrunner.h190k.com/app#code=eJyrVspIzcnJVyjPL8pJ…
Sent to the serverOnly the page address, to load the editor.
Never sentEverything after the #. Browsers keep it to themselves, and that is where a share link holds your project.
  • Saved on this device

    Autosave writes to your browser's localStorage. Clear your site data and it's gone, so export anything you want to keep.

  • Share links live in the URL

    The project is compressed into the link itself. Nothing is stored anywhere else, which also means anyone you give the link to can read the code.

  • Your code runs in a sandbox

    The preview is an <iframe sandbox> without same-origin access. Scripts run, but they can't read this site's storage or cookies, so opening a link someone sent you is safe for your saved work.

Write, run, hand it over.

  1. Write

    Start blank or from a template. Each language has its own editor, so nothing gets tangled.

  2. Run

    Let auto-run keep up with you, or press Ctrl + Enter. Flip between device sizes and read the console as you go.

  3. Share or export

    Copy a link that opens the same project, or download it as a .zip or a single .html file.

On your marks.

The editor opens ready to go: a small working example the first time, and your last project after that.

Open the editor