Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Join the community
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

URI Commands

kzhovnkzhovn7k downloads

Execute URIs from the command palette.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates14

This plugin allows you to add custom URI commands to the command palette. Can be used with the Obsidian URI scheme, as well as any other URI scheme your computer supports.

Placeholders

You can use the placeholders below in your URI. All of these are URL-encoded for you unless you turn off URL-encoding, so you don't need to worry about your text having any unescaped illegal or reserved characters.

All commands with placeholders are hidden when there is no active file.

Placeholder Description
{{fileName}} Just the base name of the file, without the filepath or file extension.
{{filePath}} Path, relative to the vault, to the current file. E.g. FolderName/filename.md
{{fileText}} Entire contents of the file, including frontmatter. Available only in markdown files.
{{selection}} Your current selection. If nothing is selected, placeholder is replaced by the empty string.
{{line}} Current line.
{{vaultName}} Name of the current vault.
{{meta:FIELD_NAME}} The value of the metadata field corresponding to FIELD_NAME. Note that if there are multiple values in one field (as a comma-separated list or [array]), the values in the field will be inserted in the URI as a comma-separated list. Requires MetaEdit.

Examples

Obsidian

  • Open the vault work vault: obsidian://open?vault=work%20vault
  • Open the note hotkey reference in the vault my vault: obsidian://open?vault=my%20vault&file=hotkey%20reference
  • Append your selection to today's daily note (requires Advanced URI plugin): obsidian://advanced-uri?vault=&daily=true&data={{selection}}&mode=append
  • Open this plugin's settings page (requires Hotkey Helper plugin): obsidian://goto-plugin?id=uri-commands&show=config

Other programs

  • Open an email draft of your current note in your mail client: mailto:[email protected]?subject={{fileName}}&body={{fileText}}
  • Email your current note to Roam: mailto:[email protected]?subject={{fileName}}&body={{fileText}}
  • Open a spotify album: spotify:album:4niKC11eq7dRXiDVWsTdEy
  • Open a new HackMD collaborative markdown pad: https://hackmd.io/new
    • Note that for websites, you must start your URI with https:// or http://, not www.
  • Open the wikipedia page for the contents of the YAML field "topic": https://en.wikipedia.org/wiki/{{meta:topic}}
  • Look up your selection in your Calibre library: calibre://search/_?q={{selection}}
  • Open the url in the "external-link" metadata field: {{meta:external-link}}
    • Note that for this to work, URL encoding must be turned off

Related plugins

  • Advanced URI: enables URIs for daily note, appending text to a file, jump to heading, search and replace, and more
  • Hotkey Helper: enables Obsidian URIs for plugin READMEs, settings, and hotkey configurations

Help

For more information on URIs in Obsidian, see the Obsidian documentation. An incomplete list of other URI schemes can be found here.

Thanks

Parts of this code, especially the icon picker, borrow heavily from phibr0's plugins, including Obsidian Macros and Customizable Sidebar.

71%
HealthGood
ReviewSatisfactory
About
Add custom URI commands to the command palette to call Obsidian URIs or any system URI scheme. Use placeholders like {{fileName}}, {{filePath}}, {{fileText}}, {{selection}}, {{line}}, {{vaultName}} and {{meta:FIELD_NAME}} with automatic URL-encoding; commands with placeholders hide when no active file.
CommandsLinksFiles
Details
Current version
1.0.1
Last updated
Last year
Created
5 years ago
Updates
14 releases
Downloads
7k
Compatible with
Obsidian 0.9.12+
License
MIT
Report bugRequest featureReport plugin
Author
kzhovnkzhovn
GitHubkzhovn
  1. Community
  2. Plugins
  3. Commands
  4. URI Commands

Related plugins

Find orphaned files and broken links

Find files that are not linked anywhere and would otherwise be lost in your vault. In other words: files with no backlinks.

Advanced URI

Control everything with URI.

Paste URL into selection

Paste URL "into" selected text.

Note Refactor

Extract note content into new notes and split notes.

Custom Attachment Location

Customize attachment location with variables($filename, $data, etc) like Typora.

Notebook Navigator

Alternative file browser with folders, tags, properties, shortcuts, previews, keyboard navigation, drag and drop, and pinned notes.

Recent Files

Display a list of recently opened files.

Smart Connections

AI link discovery copilot. See related notes as you write. Lookup using semantic (vector) search across your vault. Zero-setup local model for embeddings, no API keys, private.

Commander

Customize your workspace by adding commands everywhere, create macros and supercharge your mobile toolbar.

Omnisearch

Intelligent search for your notes, PDFs, and OCR for images.