Paste HTML or drop a file and see exactly how it renders. No sign-up, nothing uploaded until you decide to publish.
2,594 characters · 2.5 KBNothing leaves your browser until you publish.
How It Works
Paste the code into the left pane, or click Open File to load an .html file from your computer. The preview on the right updates as you type.
Switch the preview between Desktop, Tablet (768px) and Phone (390px) to see how the page reflows, or open it in its own tab for a full-screen look.
Happy with it? Click Publish As A Website and get a real HTTPS link in seconds. No account needed - the link lasts 30 minutes, and claiming it to keep it is free.
About This Tool
An HTML viewer that runs in your browser, so you can see what a file really looks like before you decide what to do with it.
You have a block of HTML and you want to see it. Maybe ChatGPT or Claude just wrote you a landing page, a designer sent over a one-file mockup, a course handed you a starter template, or you found an old index.html on a hard drive. Opening it in a code editor shows you tags; this online HTML viewer shows you the page. Paste the source or open the file, and the render appears next to it, updating as you edit.
Everything happens on your machine. The file picker reads the .html file locally, the editor holds the text in your browser, and the preview is drawn inside a sandboxed frame that is isolated from the rest of this site. Nothing is uploaded, logged or stored until you press Publish, which is why the tool works on a private draft just as well as on a public page. The sandbox also means a pasted script cannot reach your OxyPages session or anything else in your browser.
Because it is a viewer and not an emulator, the phone and tablet options change the width of the frame, not the browser itself. That is enough to check that text wraps, images scale and menus collapse, but it will not fake a touch screen or a different user agent. If you want to poke at the code while it runs, with console output, try the HTML Tester; if the source is a single unreadable line, run it through the HTML Formatter first.
The preview happily renders large documents, but the instant publish endpoint accepts files up to 5 MB, and the tool warns you once you cross 2 MB. Paths that point at other files on your computer (src="images/hero.png") will show as broken in the preview because the viewer only has the one file you gave it; absolute URLs load normally.
An HTML preview answers "does it look right?". The next question is usually "how do I show someone?", and that is one click away. Publish As A Website puts your HTML on a free HTTPS subdomain in seconds, with no account required. The link stays live for 30 minutes; claim it, free, and it becomes a permanent page you can rename and later connect to your own domain on a paid plan. Read how it works or compare plans when you are ready.
Questions
More Free Tools
Every tool here runs in your browser and ends the same way: one click and your HTML is on a live link.
Write or paste HTML, CSS and JavaScript and run it in the browser. Live preview, console output, then host the result for free.
Clean up messy or minified HTML with proper indentation in one click. Runs in your browser, nothing is uploaded. Publish the result as a live page.
Minify HTML to shrink your page: strip whitespace and comments, collapse attributes, see the bytes saved. Then publish the smaller file for free.
Try It Now
Still Here? Drop It In.
The whole pitch fits in one sentence: your HTML, on a link, in seconds.
Drag and drop your HTML file(s), folders, or ZIP file
or ·
No account needed. Your unclaimed website stays live for 30 minutes on a free subdomain. Claim it to your account to keep it permanently.