An HTML file opens as a page on the computer that has it. To give someone else a link, it has to be on a web server. Sent as an attachment, it arrives as a download, and some apps show the raw code instead of the page. So "sharing an HTML file as a link" really means putting it on a host and sending the address.
This comes up a lot with AI agents: Claude Code, Codex and Cursor produce reports, plans, dashboards and prototypes as HTML files. Below are the options, starting with the fastest. We make tossithere, one of the tools listed, so weigh that. Facts about the other tools come from their own docs as of November 2026.
What is the fastest way to share an HTML file as a link?
The fastest way is a drag-and-drop host that needs no account to start. As of November 2026, three big hosts work this way:
- Netlify Drop: drag a folder onto app.netlify.com/drop. A site dropped without signing in is protected with a temporary password until you claim it (Netlify docs).
- Vercel Drop: drag a file, folder or zip. Without an account, each file can be up to 100 MB and the whole drop up to 1 GB, as a temporary deploy that expires unless you claim it (Vercel docs).
- Cloudflare Drop: no account to start, and 60 minutes to claim the site (Cloudflare).
All three give you a URL in under a minute. Each wants you to create an account and claim the site to keep it, and none of them lets the recipient comment on an unclaimed drop.
How do I share it if it has images or other files?
Upload the whole folder, not just the HTML file. A page that loads logo.png or chart.js from next to itself needs those files on the host too, at the same relative paths. The drop tools, tiiny.host, Pastel and tossithere all accept a folder (the drop tools, tiiny.host and Pastel take a zip too), and GitHub Pages publishes whatever is in the repository. Claude Code Artifacts take a single self-contained page. If the agent wrote one file with everything inline, that file is enough.
How do the options compare?
| Option | Account | Keeps the link when you update | Recipient can comment | Free plan |
|---|---|---|---|---|
| Attach the file to an email or chat | No | No, every version is a new file | No | Yes |
| Netlify, Vercel or Cloudflare Drop | Not to start; claim to keep | After claiming, through redeploys | Vercel only, with a Vercel account | Yes |
| tiiny.host | Yes | Yes | Feedback mode, Tiny plan and up | 1 project, 3 MB |
| GitHub Pages | Yes, plus a repo | Yes | No | Public repos only |
| Your agent's own sharing (Claude Code Artifacts, ChatGPT Sites) | A paid Claude or ChatGPT plan | Yes, updates go to the same URL | Claude: colleagues and email-invited Commenters, not public-link viewers. Sites: not described | No |
| tossithere | No for 24-hour links; an account to keep them | Yes, with every version's comments kept | Yes, after a Google sign-in | 10 documents |
Plan details as of November 2026, from each tool's own pricing page or docs. There's a fuller comparison of hosts in tiiny.host alternatives.
Can I share an HTML file through Google Drive, Slack or Teams?
You can send the file that way, but the recipient usually gets a download or a view of the code, not the page. These apps store files; they don't serve web pages. Our guide on why an HTML file shows code instead of the page covers what each app does and the fix.
How do I share HTML that an AI agent made?
If your agent made the page, use a host your agent can publish to on its own, so you don't upload every version by hand. There are two kinds:
- The agent's built-in sharing. Claude Code can publish an HTML file as an artifact on claude.ai and republish to the same link, on paid Claude plans (Claude Code docs). ChatGPT and Codex can build and host a site with ChatGPT Sites (OpenAI). Each works inside its own app.
- A publishing tool the agent calls. tossithere and Pastel both have a CLI and an MCP server, so any agent can publish, read comments and update the page. tiiny.host has an MCP server for publishing too, but its MCP and API docs don't list a way to read comments.
With tossithere, the agent runs one command and you get a link:
toss report.html
# → tossithere.com/d/report-3c19 · v1
People you share it with click any element or highlight text to comment. The agent reads the open threads, fixes the file and publishes v2 to the same link. Setup is one block of instructions pasted into Claude Code, Codex or another agent, or a connection to the MCP server.
Which option should I use?
- One page, once, no feedback needed: a Drop tool.
- A permanent public page next to its code: GitHub Pages.
- Feedback from colleagues in your Claude Team or Enterprise organisation, or a few people you invite by email: Claude Code Artifacts. We compare it with tossithere in Claude Code Artifacts vs tossithere.
- Feedback from anyone, on pages any agent makes: tossithere, or Pastel if your reviewers won't sign in.