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

This tutorial will show you step by step how to bookmark a file stored on your computer in your 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.


How to bookmark a file (method 1)

  1. Open your file manager (e.g., File Explorer).
  2. Go to the file you want to bookmark.
  3. Right-click on the file.
  4. Move your mouse cursor (pointer) to Open with.
  5. Select your web browser (e.g., Chrome, Edge, Firefox, Brave or Opera).
    Open a file with your web browser
  6. Click the bookmark button to bookmark the file.
    Bookmark a file in Google Chrome

How to bookmark a file (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. Go to the file you want to bookmark.
  4. Minimalize the browser and file manager window and make sure both windows are visible and next to each other.
  5. Drag the file from the file manager window to the browser window.
    Drag file from File Explorer to web browser
  6. Click the bookmark button to bookmark the file.
    Bookmark a file in Google Chrome

How to bookmark a file (method 3)

  1. Open your web browser (e.g., Chrome, Edge, Firefox, Brave or Opera).
  2. Enter the location of the file in the address (URL) bar of your browser, like in the example below, but replace YourUsername with your username.
    
    file:///C:/Users/YourUsername/Documents/file.pdf
    
    
  3. Press the Enter key on your keyboard.
  4. Click the bookmark button to bookmark the file.
    Bookmark a file in Google Chrome