+ +

Free tool · Online HTML editor

Free online HTML editor

Write HTML, CSS and JavaScript in their own tabs, with highlighting and a preview that updates as you type. When the page is done, get a link you can send.

+ +
Drop an .html file here · saved in this browser
Preview
✓Your page live in seconds ✓An unlisted link you can send anyone ✓Claim it free to keep it live

Published free with no signup, the page is live for 7 days; sign up free to keep it. A published page is public to anyone with the link and noindex.

+ +

What the editor does

An HTML editor online, without the setup

An online HTML editor is a code editor and a browser preview in one tab: no install, no project folder, no local server. Write the page here, see it render beside the code, and take it with you as a file or a link.

Three tabs, one page

Keep markup, styles and scripts apart while you work. The CSS tab is added as a <style> before </head> and the JS tab as a <script> before </body>, so preview, download and publish all get one complete HTML file.

A real code editor

Syntax highlighting for HTML, CSS and JavaScript, line numbers, bracket matching, auto-closed brackets, search with Ctrl or Cmd + F, and undo that remembers each tab on its own.

Work that survives a refresh

Every change is saved in this browser as you type. Format tidies the indentation without changing what renders, Download .html saves the combined file, and Start over brings back the example.

+ +

Keyboard

Shortcuts that work in the editor

Ctrl or Cmd + Enter runs the page again from a clean frame. Ctrl or Cmd + F searches the current tab, Ctrl or Cmd + Z undoes, and Tab indents. To leave the editor with the keyboard, press Escape and then Tab.
+ +

Related tools

From editing to running, testing and publishing

HTML runner

Run a page with its scripts and read console.log output and errors beside it.

Run HTML →

HTML tester

Preview at three widths and list unclosed tags, missing titles and images without alt.

Test HTML →

HTML viewer

Already have a finished file? Drop it in and see the page, large.

View HTML →

HTML to website

Turn the page you wrote into a website with its own address.

HTML to website →
+ +

Online HTML editor FAQ

Press Upload, or drop the .html file on the editor above. It opens in the HTML tab with highlighting and line numbers, and the preview beside it updates as you type. When you are done, Download .html saves the edited file to your computer, or Get a link publishes it as a page you can send.