Manuel Niehues33 downloadsShow collapsible previews of PDFs, images and videos right below links to files outside your vault, including HEIC and TIFF photos and optionally Google Drive links.
Show PDFs, images and videos right inside your notes, even when the files live outside your vault.
Many people keep large files out of the vault, in a cloud folder or on a file server, and link to them with file:// links. Obsidian opens such links in another app, but cannot show them in the note. Inline Preview adds a small eye icon behind these links in reading view. Click it and the file appears right below, click again and it is gone.

sips tool, cached in the temp folder, the original stays untouched).https://drive.google.com/file/d/… are previewed from the local copy. The file ID is looked up in Drive's local database with the sqlite3 tool that ships with macOS. Nothing is sent over the network. Optionally, clicking such a link opens the local copy instead of the browser.


In Obsidian, open Settings → Community plugins → Browse, search for "Inline Preview", install and enable it.
Manual installation: download main.js, manifest.json and styles.css from the latest release into <vault>/.obsidian/plugins/inline-preview/ and enable the plugin.
Write a normal Markdown link to a local file, for example:
[Inspection report](file:///Users/me/Documents/Reports/2026-03%20Inspection.pdf)
Switch to reading view. An eye icon appears behind the link. Click it to show the preview, click it again or the × to hide it. The command Inline Preview: Close all previews closes every open preview.
| Setting | Effect |
|---|---|
| PDFs, Images, Videos | Which file types get a preview. |
| Open previews automatically | Every preview is expanded when a note opens. |
| Maximum height | Height of a preview in percent of the window. Longer content scrolls. |
| Preview Google Drive links | macOS with Google Drive for desktop only. |
| Open Drive links locally | Clicking a Drive file link opens the local copy with the default app. |
file://) and, optionally, Google Drive file links are supported. Files inside the vault are already handled by Obsidian's own embeds (![[file.pdf]]).Inline Preview makes no network requests, collects no data and has no telemetry. To do its job it accesses files and runs two system tools:
sips (macOS only): converts HEIC and TIFF images to JPEG for display. The converted copies go to the system temp folder ($TMPDIR/obsidian-inline-preview/), the originals stay untouched.sqlite3 (macOS only, only with the Google Drive setting on): reads Google Drive for desktop's local metadata database read-only to find the local copy of a linked Drive file.shell).MIT, see LICENSE.