jncohen41 downloadsLink to files and folders outside your vault. Register folder roots with short prefixes; paste any Windows path and it becomes a clickable link.
An Obsidian plugin for linking to files and folders outside your vault, even when those folders live in different local paths on different devices.
This is useful when you keep shared work in services like Dropbox, OneDrive,
Google Drive, or a network drive. The same synced folder might be
D:\Dropbox on one computer and C:\Users\Joe\Dropbox on another. External
Namespaces lets you write links with a stable prefix, such as dropbox:, while
each device stores its own local folder path for that prefix.
Desktop only · Requires Obsidian 1.5.0+
You register folders with short prefix names in the plugin settings. The prefix is saved with your vault, while the folder path is stored only on the current device:
| Prefix | Folder path |
|---|---|
dropbox |
D:\Dropbox |
work |
C:\Users\Joe\Documents\Work |
When you paste a Windows path from one of those folders into a note, the plugin converts it automatically:
D:\Dropbox\papers\smith2020.pdf
→ [smith2020.pdf](obsidian://ens?p=dropbox:papers/smith2020.pdf)
In reading or preview mode, only the filename label is visible. Clicking it
opens the file (or folder) in its default application via Obsidian's internal
obsidian://ens handler — no Windows protocol registration required.
Folder paths work too: pasting D:\Dropbox\papers produces a link that opens
that folder in Explorer.
On another device, you can use the same dropbox: links after setting that
device's local Dropbox folder path in the plugin settings.
main.js, manifest.json, and styles.css from the
latest release.obsidian/plugins/external-namespaces/dropbox) and the full path to the folder
(e.g. D:\Dropbox)Copy any file or folder path from Windows Explorer (right-click → Copy as path, or just copy from the address bar), then paste it into a note while in editing mode. If the path falls under a registered root, the plugin replaces it with a formatted link. If it doesn't match any root, the path is pasted unchanged.
Links use standard Markdown syntax with an obsidian://ens?p= URL:
[smith2020.pdf](obsidian://ens?p=dropbox:papers/smith2020.pdf)
[Q1 report](obsidian://ens?p=work:reports/Q1.xlsx)
[Papers folder](obsidian://ens?p=dropbox:papers)
In reading or preview mode these render as ordinary links showing only the label text.
If a name contains a space, &, # or %, percent-encode it — a raw space
would end the Markdown link early, and a raw & would cut the URL short:
[Lecture Framework.pdf](obsidian://ens?p=gdrive:Teaching/Lecture%20Framework.pdf)
[Q1&Q2 notes.md](obsidian://ens?p=gdrive:Teaching/Q1%26Q2%20notes.md)
Pasted links are encoded for you. Leave / between folders as-is.
If you used a previous version of this plugin with Dropbox, OneDrive, or custom root settings, those will be imported into the new format automatically on first load.
This plugin accesses files and folders outside your Obsidian vault. That is its purpose: it exists to link notes to documents you keep in synced folders such as Dropbox, OneDrive, or Google Drive, which by definition live outside the vault. Without out-of-vault access the plugin could not do anything useful.
That access is deliberately narrow:
.. to
climb above it — is refused rather than opened.MIT © Joseph N. Cohen
Active development. Core functionality (paste conversion and link opening) is stable.