Online HTML editor
Write HTML, CSS and JavaScript and see the result as you type. Free, no sign-up, and your code stays in your browser.
Your code runs in an isolated frame and is saved only in this browser (local storage). It is never sent to us.
How to use the HTML editor
- Type or paste HTML (with CSS in a
<style>tag and JavaScript in a<script>tag) into the left box. - The preview on the right updates as you type. Turn off Auto-run and press Run (or Ctrl+Enter) if you prefer.
- Use Download to save the page as
index.html, Copy to copy the code, or Open file to load an existing HTML file.
Good to know
This is a simple editor for learning, quick tests and small snippets. The preview runs in a sandboxed frame, so it cannot access this site. Your code is kept in your browser so a refresh will not lose it, but it is not backed up anywhere: download anything you want to keep.
Questions
Is my code saved or uploaded?
It is never uploaded. The editor remembers your last code in your own browser (local storage) so a refresh does not wipe it. Clear your browser data to remove it.
Does JavaScript run in the preview?
Yes, in a sandboxed frame. It cannot read this page or your cookies.
Can I use external images or CSS files?
Yes, if the link is public. Relative file paths will not work because the code is not on a server.
Is it free?
Yes, free with no sign-up.