Skip to content
Free converter · Google sign-in

Turn an HTML file into a URL

Drop the .html file you would otherwise attach to an email. Get a link that opens it as a web page — on any phone, laptop or tablet.

Free: 3 URLs × 24 hours, 2 MB · custom address, password & editing included · permanent from $9

 · 
.htmltourl.dev
Stays online
24 hours on Free · keep it forever
Password protect this link

Free plan · Google sign-in · URLs are noindex · permanent from $9 · rules

Why a URL beats sending the file

An .html file sent as an attachment rarely arrives as a page. Gmail and Outlook show a download prompt or the raw code, phones open it in a text viewer, Slack and Teams preview it as source, and many company mail filters strip it entirely because HTML attachments are a common phishing trick. A URL avoids every one of those problems: the person taps it and the browser renders the page, exactly as you saw it.

Upload the file — or the folder it lives in

  1. Single, self-contained file (all CSS and JS inside it, images from the web or embedded): drop just the .html file.
  2. File that uses other files (style.css, script.js, an images/ folder): choose choose a folder, or zip the folder and drop the ZIP. Every relative path keeps working.
  3. Several pages (index.html, about.html…): upload the folder; the file named index.html becomes the home page and the others are served at their own paths.

Not sure which you have? Open the file in the HTML viewer: if pictures or styling are missing there, the file depends on other files and you should upload the folder.

.html vs .htm vs .xhtml

All three are web pages and all three upload. .htm is the same format with the three-letter extension older Windows tools used; it is served identically. If your only file is named something other than index.html, it still becomes the home page of your URL.

Uploading from a phone

On Android, tap Upload then the drop area and pick the file from Downloads or Files. On iPhone, the file picker opens the Files app — the file is usually in Downloads or On My iPhone. If the file arrived as an email or WhatsApp attachment, save it to Files first. More detail in how to open an HTML file on a phone.

Common problems after uploading

  • Images show as broken icons — the paths point to C:\Users\… or a folder you did not upload. Use relative paths and upload the folder.
  • Styles missing on some pages — file names are case-sensitive online: Style.css and style.css are different files on most servers. (We match case-insensitively as a safety net, but fix it at the source.)
  • Fonts or videos blocked — links starting with http:// are blocked on HTTPS pages. Change them to https://.

Related guides

Frequently asked questions

Can I upload an HTML file without the CSS and images?

You can, but anything the file loads from your computer will be missing. Upload the folder or a ZIP so the CSS, scripts and images come along.

What is the maximum HTML file size?

2 MB on the Free plan (including ZIPs), and 25, 50 or 75 MB per site on Starter, Pro and Business.

Will the file name appear in the URL?

No. The URL is your custom address (or a random one), like https://report.htmltourl.dev/. Other files keep their names as paths, e.g. /about.html.

Can I replace the file later?

Yes. In My links choose Update content and upload the new version. The URL stays the same.

Other converters

Paste HTML. Get a URL.

Code, an .html file, a ZIP or a whole folder becomes a live HTTPS URL with your own address, an optional password and a QR code. Free to start with Google sign-in; paid plans keep URLs online for good.

Convert HTML to URL