How to share an HTML file as a link

Five ways to turn an HTML file into a link someone can open, from drag-and-drop hosts to your AI agent's own sharing, with what each costs and who can comment.

By Kush Daga, who makes tossithere · Updated

Short answer

To share an HTML file as a link, upload it to a static host that gives back a URL. The quickest are drag-and-drop tools like Netlify Drop, Vercel Drop or Cloudflare Drop, which need no account to start. If an AI agent made the file and you want feedback, publish it with a tool that also collects comments, such as Claude Code Artifacts for colleagues and invited reviewers, or tossithere (reviewers sign in with Google) and Pastel (no login) for anyone with the link.

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.

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:

  1. 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.
  2. 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.

Questions

Can I share an HTML file without hosting it?

Only as a file. You can attach it to an email or a chat message and the recipient opens it in their browser, but then there's no link, nothing updates when you change the file, and some apps show the code rather than the page. A link needs a host.

Is there a free way to share an HTML file as a link?

Yes. Netlify Drop, Vercel Drop and Cloudflare Drop are free to start, GitHub Pages is free for public repositories, tiiny.host has a one-project Free plan, and tossithere is free for up to 10 documents.

How do I keep the same link when I update the page?

Use a host that supports updates at the same address: a claimed Netlify or Vercel site, GitHub Pages, tiiny.host, a Claude Code artifact, or tossithere. On tossithere, pushing the same file again adds a version at the same link, and earlier versions keep their own comments.

Will a shared HTML page show up in Google?

A public page on most static hosts can be found and indexed by search engines unless it carries a noindex tag or header, so don't put anything private on an open link. Some hosts hide pages by default; tossithere does, with a switch to allow indexing on public documents.

Sources

Publish the page. Get comments your agent can read.

Free for up to 10 documents. Viewing and commenting are free on every plan.

Sign up free