Online HTML viewer

Open an .html file, a folder or a .zip, or paste HTML, CSS and JavaScript, and see the page run as you type, on a phone, a tablet or a computer.

Nothing is sent until you get a link. Then anyone with the link can open the page, with no account.

What the viewer runs, and what it doesn't

HTML, CSS in a <style> tag and JavaScript in a <script> tag run the way they would on a website, so a button, a form or a small calculator works in the preview. Libraries a page loads from the usual public CDNs, such as cdnjs, jsDelivr, unpkg or Tailwind's, load too. The page runs in a sealed frame on another address: it cannot read solta.now, your cookies or your accounts, and it cannot take this window anywhere.

Three things show differently here:

  • React from Claude or ChatGPT. A component that starts with import lines is blank in a plain HTML viewer, because it has to be built into a page first: why a React artifact opens blank. This viewer builds it in your browser and runs it. Your link is built on Solta's server, so a small detail can look different there, as the JSX viewer explains.
  • Saving in the browser. Something a page keeps with localStorage lasts until the preview draws it again. Published, it keeps it in the visitor's browser.
  • A module that imports another file. A <script type="module"> that imports a file of its own folder, such as ./app.js, runs at the link but not in the preview. The Console says so.

Publish a React file in the box below

Open an HTML file on a phone or a computer

  • On an iPhone or an iPad. If the file came in an email or a chat, save it to Files first: open it, press Share, then Save to Files. Then press Open a file and choose it.
  • On Android. Press Open a file and choose the file from Downloads, or from wherever your phone saved it.
  • On a computer. Press Open a file, or drop the file on the viewer.

The file is read on your own device. On a phone, Code and Page take turns on the screen. On a tablet or a computer, Side by side shows both.

A page with its pictures and stylesheet: open the folder

A page that loads style.css, pictures, fonts or a data file from beside it needs those files. Press Open a folder, or drop the folder on the viewer, or open a .zip of it with Open a file, on a phone too. The page shows with its stylesheets, scripts and pictures, and its links to its other pages work. The list above the code opens any of its files, to read or change it, and the page draws itself again as you type.

The folder is read and put together on your own device, and nothing is sent. Get a link publishes all of it, at one link.

When the page doesn't work: the console

Console, under the page, lists what the page logs with console.log, the errors it throws with the line they are on, and the files it could not load. Press a line number to go to that line in the code.

1. Paste it, or open the file

Copy the code your AI wrote and press Paste, or press Open a file and choose the .html file. The preview draws itself again as you type. A page with its pictures and stylesheet beside it is a folder: open the whole folder instead, or a .zip of it. To publish one without looking first, drop the folder in the box.

2. Check it on a phone, a tablet and a computer

Switch to Phone to see the page 390 pixels wide, about the width of a phone, where most links sent in a chat get opened, and to Tablet for 768. Full screen shows the page on its own.

3. Get a link, and send it

Get a link, under the page, publishes it. The page goes live at its own address, and it opens without an account. With no account it stays up for 24 hours. To keep it, sign in from the card that shows the address, and it stays at the same address. Then choose who can open it: public, unlisted or private on every plan, and a password on every plan (1 site at a time on Free and 5 on Plus): what a password on a page protects.

Before it goes up, Solta scans the code and refuses a page with an API key, an access token or a private key written in it, because anyone who opens the page could read it.

Does your HTML come out of Claude or ChatGPT? Publish it from the chat, and the link comes back there. To write a page and test it as you go, the HTML tester starts from the code, with the Console open. To keep the page as a file, HTML to PDF saves it as a PDF with its colors.

HTML viewers side by side

What each one says on its own page, read on 20 October 2026:

ViewerWhat it showsSending it as a link
Tiiny Host's HTML viewerA code editor and a live preview side by side, with separate CSS and JavaScript tabs. The code goes to the W3C's validator to be checked for errors.Publish carries the code to tiiny.host, where it goes online once your email address is verified
HTMLViewer.ioPasted or typed HTML, rendered side by side with the codeA link, public or for specific people, and an export to PDF
JSFiddleA code playground, for React, Tailwind and plain codeFiddle Pages, your fiddles under a custom domain, come with JSFiddle PRO
SoltaHTML, CSS and JavaScript, one file or a whole folder, and React components, running at phone, tablet or desktop width, with its console, sent nowhere until you get a linkGet a link: a link that opens without an account, React components included

Questions

Is my code uploaded when I paste it?

No. The page runs in your browser, in a sealed frame that cannot read solta.now, your cookies or your accounts. Nothing is sent to Solta until you press Get a link. The code is kept in this browser, so it is still here when you come back, until you press Clear.

Does JavaScript run in the preview?

Yes. Scripts in a <script> tag, onclick and the like run as they would on a website, so buttons, tabs and small calculators work. What the page logs, and its errors, show in the Console under it. The preview follows the same rules as a site on Solta, so what works here works at the link.

Can I open an .html file on my phone or my computer?

Yes. Open a file reads an .html file of up to 10 MB into the viewer, on your own device. On a computer you can also drop the file on the viewer. If the page loads pictures or a stylesheet from beside it, open the whole folder, or a .zip of it, so those files come along.

Can I open a whole folder, or a .zip?

Yes. Open a folder, a folder dropped on the viewer, or a .zip opened with Open a file shows the page with its stylesheets, scripts and pictures, and its links to its other pages work. You can change any of its files here, and Get a link publishes all of it.

Can I read the code of an HTML file someone sent me?

Yes. Open a file shows its code and the page it draws, side by side on a computer and in turns on a phone, so you can read what it says and see what it does without opening it from your disk.

Can I test HTML code here before I send it?

Yes. Edit the code and the page draws itself again as you type. Switch to Phone or Tablet to see it at their width: most links sent in a chat are opened on a phone.

Can I save the page as a PDF?

Yes. Save as PDF opens your browser's print window for the page alone, without the viewer around it. Choose Save as PDF there, or a printer.

Why is my Claude or ChatGPT page blank?

If its code starts with import lines, it is a React component, which has to be built into a page before a browser can show it, so it is blank in a plain HTML viewer. This viewer builds it in your browser: paste it here, or in the JSX viewer, which is made for components.

How long does the link stay up?

A site published without an account stays up for 24 hours. To keep it, sign in from the card that shows its address, or make an account, and it stays at the same address.

Can I put a password on it?

Yes, once you have signed in to keep it. Public, unlisted or private is on every plan, and a password on every plan, 1 site at a time on Free and 5 on Plus.

Why won't Solta publish my page?

Before a page goes up, Solta scans it and refuses one with an API key, an access token or a private key written in it, because anyone who opens the page could read it. Take the key out and press Get a link again.

Try it with your own file

No account needed to start. Paste it or drop it, then sign in to keep it.

Or publish it from the chat

Add Solta to Claude or ChatGPT once, then ask in any conversation to publish what it built. The link comes back in the chat.