C CastHTML
Host HTML

Host an HTML file online, free

The fastest way to turn a local .html file into a live URL. Paste it, press publish, share the link — no signup, no build step, no hosting config.

Three steps to a live link

  1. Paste or drop your HTML. A single file, a ZIP package with index.html, or an entire folder dragged onto the page — CastHTML packages it automatically.
  2. Publish. Your report is stored and served under a clean short link like casthtml.com/r/your-report.
  3. Share anywhere. The link works in chat apps, email, docs, and phones. A local QR code lets people scan straight in.

Why host HTML on CastHTML

Sandboxed by default

Every page renders inside a strict iframe sandbox with CSP lockdown — safe to open even when the HTML came from an AI model.

Folders welcome

Drag an uncompressed folder onto the page and CastHTML zips it in your browser, preserving relative asset paths.

Update in place

Re-upload a new version and the same link keeps working — ideal for iterating on AI-generated pages.

Free tier that is actually free

Anonymous publishing with no account, or a free plan covering 20 reports for 30 days. Pro unlocks permanence and extras for $9/month.

Frequently asked questions

How do I host an HTML file online for free?

Paste your HTML into CastHTML or drag the file onto the page, press Publish, and you get a live https link in about five seconds. No account, build step, or hosting setup is required.

Do I need to sign up to host HTML?

No. Anonymous publishing works instantly and keeps the report online for 7 days. A free account extends retention to 30 days with up to 20 reports.

Can I host a whole static site, not just one file?

Yes. Drag a folder (or upload a ZIP with an index.html at its root) and CastHTML serves every asset — CSS, JS, images — under one link.

Is it safe to open a hosted HTML link?

Every report renders inside a locked-down iframe sandbox with strict CSP headers. Scripts and external requests are blocked unless the publisher explicitly enables trusted mode.