How to Browse and Open Folders in Chrome
In this article
Chrome can open local folders and files, but only through its address bar using the file:/// scheme. Type file:///C:/ (Windows) or file:///Users/ (Mac) and press Enter to see a clickable directory listing. This is handy for quickly viewing a PDF, image, or text file without leaving the browser, but Chrome is not a file manager: you cannot copy, move, rename, or delete files from it. For everyday browsing of local content, use your operating system's file explorer instead.
What You'll Need
- Google Chrome installed on Windows, macOS, or Linux (the steps below use Windows paths; Mac and Linux paths differ but the method is identical).
- The exact path to the folder or file you want to open. On Windows, you can copy it from File Explorer's address bar.
- Permission to read the folder. Chrome runs with your user account's file permissions, so system folders may be blocked.
Step-by-Step
- Open a new tab. Press
Ctrl+L(Windows/Linux) orCmd+L(Mac) to focus the address bar, or click it directly. - Type the file URL. Start with
file:///followed by the path. On Windows, use forward slashes:file:///C:/Users/YourName/Documents. On Mac, usefile:///Users/YourName/Documents. On Linux, usefile:///home/YourName/Documents. - Press Enter. Chrome displays a simple directory listing with folder names and file names as links.
- Navigate folders. Click any folder name to go into it. The address bar updates to show the new path. Use the browser's Back button to return to the parent folder.
- Open a file. Click a file name. Chrome opens supported types (PDF, images, plain text, HTML) in a new tab. Unsupported types trigger a download prompt instead.
- Go up a level. Delete the last part of the path in the address bar and press Enter, or click the parent folder link if the listing shows one. Chrome's directory listing does not always include a ".." link, so editing the URL is the reliable method.
- Bookmark useful locations. Press
Ctrl+D(Windows/Linux) orCmd+D(Mac) to save a folder URL for later. This works for local paths just like web addresses.
Menu labels and the exact appearance of the directory listing can differ slightly by Chrome version and operating system, but the file:/// method is consistent across platforms.
Common Mistakes
- Using backslashes. Windows paths copied from File Explorer contain backslashes (
\). Chrome needs forward slashes (/). Replace them manually or paste the path and edit. - Forgetting the third slash.
file://C:/is wrong; it must befile:///C:/. The third slash represents the root of the local file system. - Expecting file management. Chrome cannot rename, delete, move, or copy files. It only displays and opens them. Use File Explorer or Finder for management tasks.
- Typing a Windows drive letter without a colon.
file:///C/Userswill not work; it must befile:///C:/Users. - Assuming Chrome can open every file type. Executable files, archives, and many proprietary formats will download rather than open. That is normal browser behavior, not an error.
Tips
- Drag a file from File Explorer or Finder directly onto a Chrome window to open it without typing a path.
- Use
Ctrl+O(Windows/Linux) orCmd+O(Mac) to open a file picker dialog and browse visually. This is faster than typing paths for one-off files. - Chrome's directory listing is plain and not searchable. For large folders, use your OS file manager to find the file, then drag it into Chrome.
- If you frequently open local HTML files, consider a dedicated code editor with a live preview instead of Chrome's bare file view.
- Bookmark folder URLs you use often, such as a downloads or projects folder, to skip typing the path each time.
Troubleshooting
If Chrome shows a blank page, an error, or refuses to open the path, work through these checks in order.
- Verify the path exists. Copy the exact path from your file manager's address bar and paste it after
file:///. A single typo produces a "file not found" page. - Check slash direction. Replace all backslashes with forward slashes. On Windows, you can also paste the path into the address bar and Chrome may auto-convert it, but manual correction is more reliable.
- Confirm permissions. If the folder is on a network drive or in a protected system location, Chrome may be blocked. Try a folder in your user profile, such as Documents or Downloads, to confirm the method works.
- Try a different file type. If a specific file will not open, test with a simple
.txtor.htmlfile in the same folder. If those open, the issue is the file type, not the path. - Restart Chrome. Close all windows and reopen. This clears temporary glitches in the file handler.
- Update Chrome. Open the three-dot menu and check for updates. Outdated versions can have file-handling bugs.
- Try another browser. If the path works in Edge or Firefox but not Chrome, the problem is Chrome-specific. Reinstalling Chrome is the last resort; your bookmarks and settings sync if you are signed in.
Frequently Asked Questions
Can Chrome open a whole folder like a file manager?
No. Chrome displays a folder's contents as a list of links, but it cannot create, delete, rename, or move files. Use your operating system's file manager for those tasks.
Why does Chrome download a file instead of opening it?
Chrome only renders file types it supports natively, such as PDF, images, plain text, and HTML. Other types, including executables and archives, are downloaded by design for security.
Does this work on a Chromebook?
Yes, but paths differ. Chromebooks use the Files app, and local storage appears under file:///home/chronos/user/Downloads or similar. The file:/// method works, but the Files app is the intended tool.
Can I open a file from a network drive?
Yes, if the drive is mounted and your user account has read access. Use the mounted path, such as file:///Z:/Shared on Windows or file:///Volumes/Shared on Mac. Chrome cannot browse unmounted network locations.
Is it safe to open local files in Chrome?
Opening a local HTML file runs its scripts with local file access in some cases, so only open files you trust. Chrome sandboxes web content, but local files can behave differently. Avoid opening unknown HTML files from untrusted sources.
Why does the address bar show a search instead of the folder?
Chrome may treat your input as a search query if the file:/// prefix is missing or malformed. Retype the full URL starting with file:/// and press Enter.