Guide

HTML file to link:
drop the file, get a URL you can send.

There is no converter, only a host. Here is the free way to turn an .html file into a link, what happens to its CSS, scripts and images, and how to change the page later without changing the link.

Updated 2026-11-02 · by Hostus Team

To turn an HTML file into a link, upload it to a host: drop the .html on hostus.io, type your email, click the magic link it sends, and the page is live at your-slug.hostus.page, free and with SSL. No password, no sign-up form, no card.

That is all an "HTML file to link converter" really does. An HTML file is already a web page; what it lacks is a server that hands it to a browser when someone opens a URL. Double-click it and it opens from your own disk, at an address that works only on your computer. Attach it to an email and the other person gets a file to save and open, not a link. Every converter is a host, and the differences show up later: whether the link expires, whether it changes when you fix a typo, who can open it, and whether the form at the bottom does anything. This guide is for the common case: ChatGPT or Claude wrote you a page, you have the .html, and you want a link to send.

  1. Open hostus.io and drop the file on the page. Before you log in, the file can be up to 1 MB, which covers most pages an AI tool writes.
  2. Type your email. Hostus sends a magic link: no password to invent, no form to fill in.
  3. Click the link in your inbox. The page is live at your-slug.hostus.page with SSL. Rename the slug in the dashboard if you want q3-report instead of a random one.
  4. Choose who can open it. Every page starts Private. Switch it to Public for anyone with the link, or keep it Private or make it Email-gated (both explained below).
  5. Copy the link and send it. It opens in any browser, on any phone, with no app and no account for the reader.

From Claude, without handling the file. Add the Hostus connector in Claude as a custom connector (you log in with OAuth), then ask Claude to publish the page. It uploads it with hostus_upload and hands you the link; you choose who can open it in the dashboard. The API v1 publishes too, for scripts.

What happens to CSS, JavaScript and images

It depends on whether the page is one file or several.

  • One self-contained file. CSS in a <style> tag, JavaScript in <script> tags, images embedded in the file. This is what ChatGPT and Claude usually produce, and it works as is.
  • An HTML file plus styles.css, app.js or an images folder. Upload from the dashboard as a folder, or as a .zip next to the HTML; the .zip is opened in your browser, not stored as a zip. Reference the files by path from the root, like media/hero.jpg or /media/hero.jpg.
  • Several HTML pages. Each document has one HTML file, so about.html becomes its own document with its own link.
  • Paths to your computer. A src that starts with C:\ or file:/// breaks on any host. Ask the AI that wrote the page to embed the image or use a relative path.

Media counts toward the free plan's 2 MB in total, so compress photos first. On a private or email-gated page the images and files are protected the same way as the page. One check runs on every upload: if the HTML contains what looks like an API key, Hostus stops the upload and tells you, because anyone who opens the page could read it.

The link you sent stays the same for as long as the page exists. To change the page, replace the file in the dashboard, or ask Claude to update it through the connector with hostus_update. Everyone who has the link sees the new version the next time they open it. Nobody needs a new link, and nothing in your email thread goes stale.

The old version is not lost. The History tab keeps the earlier versions of each page, the last 20: open one, compare it with the current page, and restore it if the fix made things worse. Hostus has no text editor of its own, so a change always means a new file, written by you or by Claude.

  • Private. Only people you invite can open it; they get in with a magic link sent to their email.
  • Email-gated. The reader types an email before the page opens. You can limit it to a list of addresses or a whole domain like @acme.com. Hostus does not check that the address is real or belongs to the reader: the list only limits what can be typed, and the link itself is the credential. Share it the way you would share a password.
  • Public. Anyone with the link. Public pages carry a noindex tag, so they do not turn up in Google search.

You can switch at any time without changing the link. Whatever you pick, the dashboard shows who opened the page (the email, on a gated page), when, for how long, and which sections they read, by h2 and h3 heading. The analytics use no cookies.

A form in the page that actually works

If the page has a form, it works the moment the page is live. Any <form method="post"> whose fields have name attributes stores what people send: no action URL, no key, no backend. Responses land in the page's Responses tab with CSV export, and you choose an email per response, a daily summary or none. The free plan includes 100 responses a month across your account; past that, responses are kept and wait until you subscribe, so the visitor's form never breaks. Forms do not take file uploads, and Hostus does not email the person who filled one in. More in HTML form without a backend.

On the free plan a link has no clock: it stays up until you delete the page. If you want it to stop working, say a quote valid for 30 days, publish through the Claude connector or the API with an expires_at date up to 90 days ahead. After that date the link answers "expired" and the page is deleted. Expiry cannot be set from the dashboard.

ToolAccount to publishHow long a free link lastsUpdate on the same linkWho can open itForms that store responses
HostusEmail and a magic link, no passwordNo expiry; optional date up to 90 days via connector or APIYes: replace the file or ask Claude; History to compare and restorePrivate, email-gated or publicYes, 100 a month free
Netlify Drop"No account required" to drop a folderNot stated in their docsDrag the new folder onto the Deploys pageCheck their siteCheck their site
Tiiny.hostCheck their siteCheck their siteCheck their siteCheck their siteCheck their site
GitHub PagesA GitHub account and a repositoryWhile the repository publishes itCommit the new filePublic by default; check their docsNo, static files only
ShareDuo"No account needed to upload"1 hour, 1 day or 7 days; 30-day and permanent links on PlusYes, plan not statedAnyone with the link; optional passwordNot mentioned on its site

Read on each vendor's own site on 2 November 2026. "Check their site" means the fact was not on the pages we could read.

Hostus. Best if the link goes to someone who matters and the page may change after you send it: same link, history, private or gated, forms that work, free with no clock.

Netlify Drop. Pick it if you want to publish a folder with no account at all, and may grow it into a full site later. Netlify's docs say a drop without logging in publishes the files as they are, a logged-in drop runs your build, and an anonymous deploy from the CLI can be claimed within an hour.

Tiiny.host. Pick it if you want a general drag-and-drop host. Third-party reviews describe a narrow free plan with a Tiiny banner; their pricing page did not load for us today, so check their site for the numbers.

GitHub Pages. Pick it if the HTML already lives in a repository. GitHub's docs cap a site at 1 GB with a soft bandwidth limit of 100 GB a month, and say Pages should not be used for sensitive transactions like sending passwords or credit card numbers.

ShareDuo. Pick it if the link only has to live a week, and you want no account and a password. Plus, at $4.99 a month, adds permanent links.

Why Google Drive and Dropbox no longer work for this

Both used to serve HTML as web pages, and both stopped. Google's Workspace Updates post "Deprecating web hosting support in Google Drive" (31 August 2015) says serving content through googledrive.com/host was discontinued on 31 August 2016. Today Drive's help lists .HTML among the "Markup/Code" files it can preview, next to .CSS and .PHP. Dropbox's help page "Important changes to the Dropbox Public folder" says free Basic users can no longer render HTML through public links as of 3 October 2016, and Plus and team accounts as of 1 September 2017. A share link from either hands over the file. It does not publish the page.

Good to know before you switch

Every Hostus page carries a small "Published with Hostus" pill in the bottom-right corner, on the free and paid plans; keep that corner of your layout free. The link is always your-slug.hostus.page, never your own domain. The file stays yours, so if the page later needs your domain, it moves to any host as is. Public pages are noindex: this is a way to send a page, not to rank one in Google. The free plan is 20 documents and 2 MB in total, media included, and 1 MB for a file dropped before you log in; paid is $9.99 a month or $49.99 a year for 200 MB and unlimited documents. And the upload asks for an email: there is no password, but it is not anonymous.

Questions people ask

Is there a free HTML file to link converter?

Yes. Drop the .html on hostus.io, click the magic link sent to your email, and you get a your-slug.hostus.page link on the free plan, with no card and no clock. A converter is really a host: it serves your file at a URL.

Can I share an HTML file as a link without signing up?

On Hostus you type an email and click a magic link: no password and no form, but it is not anonymous. ShareDuo and Netlify Drop publish with no account at all; ShareDuo's free links expire after 7 days at most.

Will my CSS, JavaScript and images still work?

Yes, if they are inside the HTML file, which is how AI tools usually write pages. Separate files go up from the dashboard as a folder or a .zip next to the HTML, referenced by path from the root.

Can I update the HTML without changing the link?

Yes. Replace the file in the dashboard or ask Claude to update it through the connector, and the same link serves the new version. The History tab keeps the last 20 versions to compare and restore.

Can I make the link private?

Yes. Private pages open only for people you invite by email. Email-gated pages ask for an email before opening, limited to a list or a domain if you want. The address is not checked, so the link is the credential.

Does the link expire?

Not on the free plan, unless you ask for it: publishing through the Claude connector or the API with expires_at sets a date up to 90 days ahead, after which the link answers expired and the page is deleted.

Why can't I host an HTML file on Google Drive anymore?

Google discontinued Drive web hosting on 31 August 2016, per its own announcement, and Drive's help now lists .HTML among the code files it previews. Dropbox stopped rendering HTML from public links in 2016 for free accounts and in 2017 for paid ones.

Drop the file. Send the link.

Free plan, no card, no clock. Change the page later on the same link.