Paste HTML code and download it as a ready-to-use .html file.
Everything happens in your browser — your HTML is never uploaded to a server. The file is saved with UTF-8 encoding, and .html is added automatically if you leave it off.
Paste HTML code and download it as a ready-to-use .html file.
Everything happens in your browser — your HTML is never uploaded to a server. The file is saved with UTF-8 encoding, and .html is added automatically if you leave it off.
Sometimes you have HTML as text — copied from a chat, generated by a tool, pasted from documentation — and what you actually need is a file. Opening a code editor, creating a document, pasting, and remembering to save it with the right extension is four steps too many for something this simple. This tool collapses it to one: paste the markup, name the file, download it. The result is an ordinary .html file you can double-click to open, drag onto a web host, or attach to an email.
A web page is only a web page because of its name. Save the same markup as page instead of page.html and most browsers will show you the source code rather than the rendered page — which looks like the file is broken when it is perfectly fine. This tool appends .html automatically and strips characters that operating systems refuse in file names, so the file you get always opens as a page.
The live preview renders your markup exactly as a browser would, so you can catch an unclosed tag or a missing stylesheet before saving. It runs inside a sandboxed frame with scripting switched off — pasted markup can draw on screen but cannot run code against this page. Your downloaded file is not restricted in the same way: any scripts inside it behave normally once you open it yourself.
There is no server step. The editor, the preview and the file are all produced in your browser, which means your markup is never transmitted, stored or logged. That matters when the page you are building contains an API key, a client draft, internal copy, or anything you would not paste into a stranger's website.
Once you have a file, the HTML Minifier strips whitespace and comments to make it smaller, and HTML to PDF turns the same markup into a document you can print or share. If you are writing in Markdown instead, Markdown to HTML converts it first.