How to turn an HTML file into a link
An .html file on your computer only opens for you. Upload it to a host and you get a URL that opens in any browser, on any device, for anyone you send it to.
An .html file is a web page that has not been put on the web yet. Double-click it and it opens in your browser, but the address bar says file:// and points at your own disk. Nobody else can open that address. To share the page, the file has to live on a server that hands it to any browser asking for it. That server gives you the link.
The short version
- ✓Save the page as a single .html file (index.html is a safe name).
- ✓Upload it to a host that serves HTML as a web page, such as FileShare Pro.
- ✓Copy the link and send it. The page opens in the browser, on a phone or a laptop, with no download.
Step 1: get one self-contained file
A link works best when everything the page needs is inside the one file: CSS in a style tag, JavaScript in a script tag, images either embedded or loaded from full https:// addresses. If the page points at style.css or images/logo.png next to it on your disk, those will be missing once the HTML is hosted alone.
If an AI tool wrote the page, ask it: “Rewrite this as a single self-contained HTML file with all CSS and JavaScript inline.” Making an HTML file self-contained covers the manual route. If the page really is several files, see publishing a multi-page site without a build step.
Step 2: upload it
On FileShare Pro, drag the file onto the dashboard. It is served over HTTPS as a web page, so it renders instead of downloading. You get a link straight away.
Storage services such as Google Drive or Dropbox give you a link too, but to a file preview or a download, not a running page. That is why an HTML file sent that way often shows code or asks to be downloaded. HTML file downloads instead of opening explains the cause.
Step 3: send the link
Paste it into an email, Slack or a text message. The person opening it does not need an account. Shared pages carry a noindex tag, so search engines do not list them, and you can turn the link off or set it to expire.
To change the page later, upload the new version over the old one. The link stays the same and everyone who has it sees the update. Updating a shared link without changing it has the details.
Get comments on the page
Turn on comments and people with the link can pin a note to the exact spot they mean after typing a name, or suggest a text change you approve or reject. You can also see when the link was opened: knowing if someone opened your link.
Frequently asked
Upload the .html file to a host that serves it as a web page. The host gives you an https:// address that anyone can open in a browser.
A file:// address points at a file on your own computer. Other people’s browsers cannot reach your disk, so the page has to be uploaded to a server first.
No. Anyone with the link can open the page. Leaving a comment asks only for a name.
Yes. Upload the new version over the old file and the link stays the same.
Yes. The free plan hosts up to 50 files with comments included. Password-protected links are on Pro.
Drop the file, copy the link — live in seconds, free plan included.
Start sharing free