Share HTML online, checked before you send it
Paste it and we run six checks for the ways a page most often breaks once it leaves your machine, fix the ones with a safe default, then give you the link.
Click "Check it" above to run the six checks against what's in the box.
Why pages break when you share HTML online
A model writing HTML has no idea where it will run, so it writes the page it would write for your machine. On your screen it looks finished. The moment the file leaves your computer every one of those assumptions is wrong, and nothing warns you, because the HTML is perfectly valid. It just points at things nobody else can reach.
A file from your machine, or text straight out of a chat window. Nothing is sent anywhere yet — the live preview runs entirely in your browser.
Static analysis first, then a real server-side request to every external URL the page references, so a dead link or a private image comes back here instead of in a reader’s console.
A missing viewport tag and a missing background/colour pairing each get a standardized, conservative default we apply automatically — not the one correct fix (plenty of valid choices exist, and this one might not match your design), just a safe one we make for you. Everything else — a local file, a localhost call, an unpinned library — needs a decision only you can make, so we name it and stop.
A public URL that stays live for the free window, then stays recoverable for a further window after that. Copy it, scan it, or hand it to whoever asked.
Ordered the way lib/preflight.ts actually checks for them, not by guessed frequency. These are the six real checks the widget above runs — nothing here is a stand-in for a seventh.
Every row below is marked "Not yet measured" on purpose: this product has never logged how often each defect actually shows up in real submissions, so there is no honest percentage to print. This becomes a real number, not a placeholder, once enough pages have gone through the checker above.
Start from where you already are
Two other pages on this site do a related but different job — not the same box under a different heading.
The full checklist version of this page’s tool, with a dedicated write-up of what each of the six checks catches and why.
Open the checker →The same paste-and-publish idea, in a real code editor — line numbers, syntax highlighting, a Format button that reindents by tag nesting.
Open the editor →Already have the file? Drop it and publish — no editor, no pasting, just the file’s name and size until you’re ready.
Drop a file →What it takes to keep a page past 30 days: buy more time for one URL, or subscribe to keep several from expiring. Password protection is already free for everyone; editing in place and a custom domain are not built yet.
See hosting →Where we win, and where we do not
We are the newest tool in this list by a wide margin — the numbers below say so, not just the prose. Two rows go against us on purpose. Checked against each competitor's own site on 2026-09-01 — an age, a rank or a free-tier length like these goes stale the moment any of them ships something new, so treat every cell as a snapshot from that date, not a live feed.
| What you get | htmlhosting.org | htmltourl.com | tiiny.host | host-html.com |
|---|---|---|---|---|
| Free page lifetime | 30 days, +30-day recovery window | 90 days, +60-day recovery — longer than ours | no fixed expiry — stays up as long as the account signs in every 3 months | expires after 5 days — shorter than ours |
| Track record (as checked) | launched 2026 — the newest of the four | ≈ 4 months old, already #1 for its core term | 7+ years, market leader in this space | ≈ 6 months old |
| Live sandboxed preview before publishing | yes | not verified by us | not verified by us | not verified by us |
| Signup required to publish | no | not verified by us | not verified by us | not verified by us |
EdgeOne Pages (Tencent Cloud's static-hosting product, not really a competitor in this niche) advertises a larger free storage/bandwidth allowance than any single-page share tool here — worth a look if you need more than one pasted page.
Questions people actually ask
If yours is not here, the Report a page link goes to a person, not a form.
Is this free?
Publishing is free — no signup, no card. A free page stays live for 30 days. After that it stops serving, but the files sit in a recovery window a bit longer (see the next answer) rather than being deleted the moment the clock hits zero.
How long does a page last?
30 days on the free tier, then it goes offline. For 30 days after that the same address can be brought back — it keeps the URL, so anything you already sent doesn't need relinking. After the recovery window, the files are gone for good. Paid time pushes that clock further out — a year at a time, not forever — and the countdown is always the page’s own, never a surprise.
Will search engines index my published page?
No, deliberately. Every page you publish carries X-Robots-Tag: noindex, nofollow. We do that because a domain where anyone can push arbitrary, indexable content with no review is a spam vector waiting to happen — and it means our own SEO comes from the handful of pages we write ourselves, not from your traffic. If you specifically want a page that ranks, that is a different product (a real site), not a share link.
Do you run my JavaScript?
Your scripts run in the visitor’s browser, inside a sandboxed iframe with no access to this site’s cookies or storage — including the live preview above, before anything is published. We do not execute your JavaScript ourselves to check it; the six checks are static analysis on the text plus real HTTP requests to whatever external URLs the page references.
Can I publish more than one file?
Not on this page — the box above takes one self-contained HTML document, and multi-file or ZIP-folder publishing isn't on the roadmap here. Inline your CSS and point images at a CDN or a data URI; if you genuinely need a folder, Netlify Drop takes one directly and tiiny.host takes a ZIP.
Can I use my own domain?
Not on any tier yet. Published pages live on a random subdomain of our own sharing domain by design (it keeps your main site’s reputation separate from whatever gets pasted in). None of the paid plans below add a custom domain — see pricing for what they actually cover.
Buy time for one link, or coverage for several
Most people just want one link to stay alive. That should not require a subscription. Check a link's real expiry and buy more time on the extend page, or see every tier's real terms on pricing.
Site Extension
Your 30 days ran out and you want this one link to keep working. One payment, nothing recurring, and it removes the badge.
Page Coverage
Keep several pages from expiring for a year, instead of buying single extensions one at a time. Three one-year extensions on one page cost about as much as Starter below — if you are there, take the plan instead. It does not replace a page's file; see pricing for what each tier does and does not include.
Check it before you send it
Free, no account, and nothing is published until you ask for it.
What comes out the other end
Six pages published with this tool, exactly as a stranger receives them. These are live — the previews below are the real documents, not screenshots.