Mar 2, 2020

Cant open local HTML file on chrome

I have a mac

When I open my HTML file in safari it opens up with no problem but when I try to open it with chrome is says Access to the file was denied
The file at file:///Users/.../index.html is not readable. It may have been removed, moved, or file permissions may be preventing access.
ERR_ACCESS_DENIED

Also this doesn't happen with every HTML file I try to open with chrome, i tested it out with a few others and it works just fine
Locked
Informational notification.
This question is locked and replying has been disabled.
Community content may not be verified or up-to-date. Learn more.
All Replies (33)
Mar 24, 2020
I have the same problem. Chrome was opening html files as regular, but now it doesn't work. I wasn't installing any updates. It just stop opening local html with same message as below. 

The file at file:///Users/.../index.html is not readable. It may have been removed, moved, or file permissions may be preventing access.
ERR_ACCESS_DENIED
Aug 27, 2020
The fix suggested above- i tried but in security and privacy the menu on the right does not show chrome- can anyone help me allow chrome access to my files and folders so it appears in this list please?
Sep 2, 2020
@User 15343279624124521410 

Thank you for your advice :-)
Sep 3, 2020
Yea I have the same issue as Lucie. I can drag html files onto chrome and it works but why doesn't double-clicking html file work?
Sep 3, 2020
I found a solution if you're using a command terminal:


Mac: Use the terminal to navigate to the directory that the relevant file is located in, and use the command open index.html (replace index.html with the actual file name you want to open if it is not called index.html). If you want to use a particular browser, use the command open -a "Google Chrome" index.html (replace "Google Chrome" with whichever browser you'd like to use).


Windows: Use Git Bash for Windows to navigate to the directory that the relevant file is located in, and use the command explorer . This will open up your explorer at the current directory. Double click the html file to open it in a browser.
Oct 5, 2020
file:///C:/Users/USERID/Desktop/jolink/[object%20Object]

Your file was not found
It may have been moved or deleted.
ERR_FILE_NOT_FOUND


WTF?
Oct 9, 2020
The easiest solution for me on Windows was to use Microsoft Edge to open the old html file.
Oct 10, 2020
Margaret T. Ray , Thanks For Your Solution , It Worked....
Oct 29, 2020
My scenario was that every time I tried to double click open my html file with chrome it would open 4-5 tabs with the parts of the whole url split amongst the 4-5 tabs. I would get ERR_File_NOT_FOUND and whenever I typed in the url myself it worked. So the browser was splitting it on its own into multiple tabs. I noticed I had the most updated version of Notepad++ but not the most updated Chrome Browser. Once I updated it, double clicking the html file from its folder worked. Perhaps try seeing if both are updated to the recent version to get it to work together smoothly.
Nov 21, 2020
I had the same problem as ulices nazario (10/29/20). It appeared after updating google chrome and Windows10. When I looked at what google chrome was trying to open, it displayed the adress file:///C:/Users/Mats/Backupfolders/Documents/Computers/Programming/HTML,  but that is the wrong adress. It had been shortened (by google chrome or windows?).
It should read file:///C:/Users/Mats/Backupfolders/Documents/Computers/Programming/HTML Programming/W3 Schools Programming.html
Where "W3 Schools Programming.html" is the html file that I want to see in google.
I typed in the correct file-adress in google and it displayed the file.

I suggest that you check the adress google tries to open and if it is the wrong adress for the file then type in the correct file adress.

My new question would be : Why does the browser or Windows cut the file-adress?

To Google and Microsoft I say, fire and hire some people.

Take Care

Mats Nilsson
Varberg, Sweden
Nov 23, 2020
Create Reply
Nov 30, 2020
I had the same problem- 
The file at file:/// is not readable. It may have been removed, moved, or file permissions may be preventing access.
ERR_ACCESS_DENIED
I had a file with three slashes- And now I can't access it.. This is a little.. creepy.
Dec 15, 2020
My problem is that when I open my html file on chrome (windows) is says "Aw... Snap! Something went wrong while displaying this webpage" I tried restarting my computer and it didn't work. So... I tried clearing my Chrome cache and it still didn't work so now I'm confused a little bit!
Do you have any Solution for this?? I would appreciate it very much.
false
35064653938766614
true
Search Help Center
true
true
true
true
true
237
Search
Clear search
Close search
Main menu
false
false