file:/// C:/ Users/ .../ index.html: Why Nobody Else Can Open Your Link
A link that starts with file:///
Short answer
An address such as file:///C:/Users/you/Downloads/index.html is not a web link. file:// tells the browser to read a file from the disk of the computer it is running on, so the page opens for you and for nobody else. To share it, the file has to be on a web server. Upload the index.html (or paste its code) to a host and you get an https:// address that opens on any phone or computer.
Turn your index.html into a link that works for everyone
Drop in the index.html from your Downloads folder, or paste its code, and get a live HTTPS address in about 30 seconds. Add your own domain afterwards. 14 days free, no card.
You saved a web page, maybe one that ChatGPT, Claude or Grok wrote for you, and opened it. The address bar shows something like file:///. It looks like a link, so you send it to a friend or a customer, and they get an error. Here is why, and how to make a link that does work.
What a file:/// address is
A normal web address starts with https:// and names a server on the internet. An address that starts with file:// names a place on the disk of the computer the browser is running on:
| Address | Where the browser looks |
|---|---|
file:/// |
Windows: your Downloads folder |
file:/// |
Windows: your desktop |
file:/// |
Mac: your Downloads folder |
file:/// |
Linux: your home folder |
https:// |
A web server, reachable by everyone |
The part after Users/ is your account name on that computer (admin, user, hp, dell or your own name), which is why these addresses look slightly different for everyone.
Why the link fails for everyone else
When someone else opens file:///, their browser looks in C:/ on their computer. There is no such file there, often not even such a folder. They see "Your file couldn't be accessed" or "ERR_FILE_NOT_FOUND". On a phone, nothing happens at all.
Nothing is wrong with your page. The address simply never pointed at the internet. Mailing or texting it sends the text of the address, not the file.
Three ways to share the page
1. Host it and send an https link. This is the one that works on every device:
- Create a site on VibeDeploy.
- Drop in the
index.htmlfrom your Downloads folder. Is the page part of a folder with images, CSS or scripts? Drop in the whole folder or a zip of it. No file at hand, only code in a chat? Use Paste code. - You get an address such as
https://in about 30 seconds. That is the link you send.my-site.subsite.site
2. Send the file itself. Attach index.html to a mail or a chat. The other person downloads it and opens it. This only suits a single self-contained page, and several mail services refuse .html attachments.
3. Show it on your own screen. For a quick look in a call, share your screen. The page stays on your computer.
Not sure the code is the right page? Paste it into the free HTML preview first: it shows the page in your browser, without an account.
Turn your index.html into a link that works for everyone
Drop in the index.html from your Downloads folder, or paste its code, and get a live HTTPS address in about 30 seconds. Add your own domain afterwards. 14 days free, no card.
The page works for me but looks broken once it is online
Usually one of these:
- Missing files. The page loads
style.css,script.jsor images from the same folder. Upload the whole folder, not onlyindex.html. - Paths that point at your disk. Inside the HTML there are references such as
C:/orUsers/ you/ Pictures/ photo.jpg file:///. Those exist only on your computer. Put the files next to... index.htmland refer to them by name (photo.jpg,images/).photo.jpg - A project, not a page. If the folder has a
package.json, it has to be built first. Upload thedistorbuildfolder, or use a host that builds from the source.
If an AI assistant made the page, the shortest fix is to ask it: "Give me one self-contained index.html with the CSS, JavaScript and images inside the file."
Where did the file come from?
Often from an AI chat. The assistant first saved the page on its own server, under a path that is just as unreachable as a file:/// address: sandbox:/mnt/data/index.html for ChatGPT, /mnt/user-data/outputs/index.html for Claude, /home/workdir/artifacts/index.html for Grok. After you download it, it becomes a file:/// address on your side. In both cases the answer is the same: the page needs a host before anyone else can see it. The list of AI sandbox paths has the other assistants.
Working with a local development server instead (an address like localhost:3000)? That is a different case, covered in localhost to a live URL.
Your own domain
A hosted page can also live on your own name instead of a platform address. Add the domain in the dashboard, set the DNS records it shows and click Verify; SSL is issued automatically. The 14-day trial needs no credit card. Details on the pricing page.
Ship your AI-built site in minutes
VibeDeploy hosts your AI-built websites in the EU with custom domains, automatic SSL, and a 14-day free trial that gets you online today.
Questions people ask
What does file:///C:/Users/.../index.html mean?
It is the location of a file on your own computer, written the way a browser shows it. file:// means "read from this computer's disk", C:/Users/your-name/Downloads is the folder, and index.html is the page. On a Mac the same thing looks like file:///Users/your-name/Downloads/index.html.
Why can't other people open my file:/// link?
Because their browser looks for that folder on their own computer, where the file does not exist. A file:/// address never leaves your machine. Sending the link by mail or chat sends only the text of the address, not the page.
How do I turn it into a real link?
Put the file on a web host. On VibeDeploy you drop the index.html into a new site, or paste its code, and get an https:// address in about 30 seconds that works on every device. You can connect your own domain afterwards.
Can I just send the index.html file itself?
For one self-contained page, yes: the other person saves the attachment and double-clicks it. It breaks as soon as the page uses separate files (a stylesheet, scripts, images), many mail services block .html attachments, and on a phone it rarely opens properly. A hosted link avoids all of that.
The page shows without styles or pictures after I upload it. Why?
The page refers to other files that were not uploaded, or it points at them with file:/// or C:/ paths that only exist on your computer. Upload the whole folder (or a zip of it) and keep the structure, or ask the AI that made the page for one self-contained index.html.
Related reading
sandbox:/ index.html Does Not Open? How to See the Page ChatGPT Made
ChatGPT answered with sandbox:/
/ home/ ubuntu/ index.html: Where Manus Saved Your Site
Manus says your site is at /
/ mnt/ agents/ output/ : Where Kimi Saved Your File
Kimi says your page is at /
/ mnt/ okcomputer/ output/ : Where Kimi Put Your Website
Kimi says your site is in /