OxyPages

Free Online HTML Viewer

Paste HTML or drop a file and see exactly how it renders. No sign-up, nothing uploaded until you decide to publish.

Free. No account. Live in seconds.
HTML source
Preview
full width

2,594 characters · 2.5 KBNothing leaves your browser until you publish.

Free. No account. Live in seconds.

How It Works

How To Use The HTML Viewer

  1. 1

    Paste Or Open Your HTML

    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.

  2. 2

    Check It At Every Width

    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.

  3. 3

    Publish It As A Live Website

    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

View HTML Online Without Installing Anything

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.

What The HTML Viewer Does

  • Renders complete documents and fragments alike, including inline CSS and JavaScript.
  • Lets you preview at desktop width, 768px (tablet) and 390px (phone) so you can catch layouts that break on small screens.
  • Switches between split, code-only and preview-only layouts, and can open the preview in a new browser tab.
  • Shows the character count and file size so you know exactly what you would be publishing.

How It Works

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.

Limits To Know About

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.

From Preview To Live Website

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

Frequently Asked Questions

Double-click the .html file and it opens in your default browser, or drag it from a folder into an open Chrome tab. If you only have the code, or you want to check phone and tablet widths and then share the page, paste it into this viewer and publish it.

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.

  • No Account Needed
  • Free SSL
  • 30-Minute Unclaimed Link, Claim To Keep It