HTML · Guide

How to turn an HTML file into a shareable link

Publish a local HTML file as a link anyone can open, with its assets and folder structure intact.

A standalone HTML file is easy to open on your own computer, but sharing it usually means sending an attachment and asking someone to download it. Publishing it gives you a normal web link instead.

HTMLURL keeps a page's files together and serves each published page from its own content subdomain. That means relative stylesheets, scripts, and images can keep working without putting uploaded HTML on the product's trusted origin.

You can publish a single file from the workbench, or upload a ZIP when the page uses supporting files. Preview the result before sharing the generated URL.

If you need a link for client feedback, see how each host handles the time limit in our comparison of Netlify Drop and anonymous HTML hosting.

For a single HTML file or a pasted page, use the HTML link generator.

Publish your page

  1. Open the HTML to Link tool and choose the HTML file, or paste the page source.
  2. For a page with assets, upload its folder or a ZIP with index.html at the entry point.
  3. Check the preview and publish. Copy the resulting URL and send it to your recipient.

Open the publishing workbench

HTML to Link tool