How to bookmark a file in Chrome, Edge, Firefox, Brave, Opera

Learn how to bookmark a file stored on your computer in your web browser Google Chrome, Microsoft Edge, Firefox, Brave, and Opera.

A few examples of files you can add to the bookmarks bar in your web browser are; PDF, HTML, XML, TXT, PNG, JPG, GIF, and WEBP files.

There are 3 methods on this page for adding a local file to the bookmarks bar of your web browser.

Method 1

1. Open your file manager (e.g., File Explorer).

2. Right-click on the file you want to bookmark.

3. Move your mouse cursor (pointer) to Open with.

4. Select your web browser (e.g., Chrome, Edge, Firefox, Brave or Opera).

Open a file with your web browser

Your web browser will open the file.

5. Click the bookmark button of your web browser to bookmark the file.

Bookmark a file in Google Chrome

Method 2

1. Open your web browser (e.g., Chrome, Edge, Firefox, Brave or Opera).

2. Open your file manager (e.g., File Explorer).

3. Minimalize the web browser and file manager window and make sure both windows are visible and next to each other.

4. In the file manager, you go to the file you want to bookmark.

5. Drag the file from the file manager window to the web browser window.

Drag file from File Explorer to web browser

You will now see the file in your web browser.

6. Click the bookmark button of your web browser to bookmark the file.

Bookmark a file in Google Chrome

Method 3

1. Open your web browser (e.g., Chrome, Edge, Firefox, Brave or Opera).

2. In the address (URL) bar of your web browser, you type the location of the file, like in the examples below, but replace YourUsername with your username.

file:///C:/Users/YourUsername/Documents/file.pdf
file:///C:/Users/YourUsername/Documents/file.txt
file:///C:/Users/YourUsername/Documents/file.jpg
file:///C:/Users/YourUsername/Documents/file.html

3. Press the Enter key on your keyboard.

You will now see the file in your web browser.

4. Click the bookmark button of your web browser to bookmark the file.

Bookmark a file in Google Chrome