HTML Viewer




Pick the situation closest to yours
Someone sent you an .html file
To see the page and its code together, paste the file's contents into the editor above. On a phone, uploading the file gives it a web address the browser can open.
A chatbot wrote the HTML
Paste the code block above to check the page before anyone else sees it, then publish it from the same screen.
You're checking an email template
Layout problems and missing images in a newsletter show up here before the test send. Email apps render HTML their own way, so a test email to yourself is still the final check.
A client has to sign off
Once the preview is published, reviewers can pin comments to the exact spot they mean, and they don't need an account to do it.
You're learning or teaching HTML
Breaking a tag on purpose and watching the page change is a quick way to learn what it does. A class example can go online as a link students open on any laptop.
An agent writes the HTML for you
Coding agents can publish their own output with the upload API or our MCP server, then hand you the URL in their reply.
Get an HTML viewer share link
The page you've been previewing goes online without being saved as a file first

1. Paste HTML code
Copy the markup from your code editor or an AI chat into the HTML tab, replacing the sample page. When the preview looks right, the viewer's Publish button carries it over to a new tiiny.host tab.

2. Give the link a name
Your code arrives there as a zipped file, so a name is the only thing left to fill in. Typing team-update gives you team-update.tiiny.site.

3. Go live
On tiiny.host, Publish puts the page online after your email address is verified. The link works on a phone or a computer.
Get comments pinned to the page
Feedback mode puts a comment layer over the published page. Reviewers click the heading or button they have in mind and leave a note right there.
- Reviewers leave notes without signing up
- Every note stays attached to the element it's about
Here's how you can put a whole HTML and CSS site online
An HTML online viewer and editor in one window
👁️ HTML Live Preview
Every keystroke redraws the preview, and the text of your title tag shows above it.
📖 Make Sense of Exported Markup
An exported newsletter or a page copied out of a CMS is hard to follow as tags. In the preview it reads as the finished page.
⚙️️ JavaScript & CSS Compatible
Scripts run inside the preview. A dropdown or a button with a click handler behaves the way it will on the live site.
🛠️ Spot Problems Early
An HTML error swaps the preview for a list of problems with their line numbers. The page comes back when they're fixed.
📱 Usable on a Phone
On a narrow screen the code tabs fold into a dropdown and the preview moves below the editor.
📋 One-Click Copy
The copy button grabs the code in whichever tab is open, ready to go back into your project.
🧱 Starter Page Included
Anyone writing from scratch gets a page skeleton to start from, with comments marking where the HTML and the links to the other tabs go.
📂 HTML Loader for Saved Files
A saved .html file can skip the editor. Tiiny Host's upload box publishes it as soon as you've picked a name.
🌐 Custom Domain
Solo subscribers can swap the tiiny.site address for a domain they own.
📊 Analytics
Your dashboard shows how many people opened your published pages, starting with the Tiny plan.
🧩 Embeddable
The Embed this link option in a page's project menu gives you code for placing it inside a tutorial or a help article.
🔒 Password Protect
Pages on the Solo plan can ask visitors for a password before anything loads.
Tiiny Host against other HTML code viewers
The first rows are about the preview itself, and the later ones about sharing the page with other people.
The viewer is free, and so is one published page
There's no limit on how much you use the viewer. A free published page stays up provided you log in to your account at least every three months.
- ✓ Unlimited viewing on this page
- ✓ 1 published page or site
- ✓ Uploads up to 3 MB
- ✓ 5,000 visits and 5 GB bandwidth a month
- ✓ Free yourname.tiiny.site address
- – Published pages show a small banner
- Tiny $5 · no banner, 25 MB uploads, QR codes, analytics
- Solo $13 · 5 sites, custom domain, password protection, code and visual editors, API
- Pro $31 · 15 sites, capture emails, team members, priority support
- Pro Max $74 · unlimited sites, 2 TB for large media
Publishing limits by plan
Per-file upload limit by planSnippets and single pages weigh very little next to the images and video a full website carries.
Preview AI-generated HTML here first
Code from a chat goes into the editor above for a first look. App builders hand over whole projects, which publish as a zip.
ChatGPT
The reply's HTML block goes into the HTML tab. Separate CSS or JavaScript blocks have tabs of their own.
Claude
HTML artifacts paste in unchanged, while React ones need converting first, as the FAQ below explains. The Tiiny Host connector publishes from the chat itself.
Gemini
Everything in the Code tab of a Canvas belongs in the HTML tab here. Games and small tools built with JavaScript run in the preview too.
Lovable
Lovable exports are React projects with a build step, so they skip the viewer and upload as a zipped dist folder.
Turn HTML into a live link from code or an AI agent
Chat assistants and coding agents hand back HTML constantly. The upload endpoint turns that file into a public URL, and a PUT call to the same address replaces the page later.
curl -X POST https://ext.tiiny.host/v1/upload \
-H "x-api-key: $TIINY_API_KEY" \
-F "files=@preview.html" \
-F "domain=html-preview.tiiny.site"
# → https://html-preview.tiiny.site
# PUT the same domain to replace it
What people use an HTML viewer online for
Instant Previews
Layouts from a tutorial or a design handoff show up the moment you paste HTML code.
Quick Prototyping
Rough prototypes go to teammates as links long before a proper build exists.
Embedding Content
A YouTube player or a booking widget pasted into the page shows how its iframe fits the layout.
Debug Issues
Bugs are easier to pin down when a short snippet and its result are visible together.
Portfolio Projects
Employers looking at your HTML and CSS work can click through it at a real address.
Template Downloads
Website templates usually arrive as a zip. Used as an HTML zip file viewer, Tiiny Host puts the template online for a look at every page before you change anything.
How to Upload an HTML File to a Website
Goes from a finished HTML file to a live link, with tips on editing and password-protecting the page afterwards.
How to Add JavaScript to HTML
Explains the two ways to add JavaScript to a page, inline or as a separate .js file.
How to Edit an HTML File: Basics for Beginners
Covers the tools you need, then walks through opening an HTML document and editing its code.
HTML Tester: Make Sure Your HTML Code Works Everywhere
Describes what an HTML tester checks and lists eight tips for W3C compliance.