Obsidian Search

Canonical version: Obsidian Search.

Obsidian search (backed by the Search core plugin for Obsidian) is full-text search across the whole vault, with operators that most users never discover. Learning a handful of them is the difference between scrolling through results and getting exactly the notes you meant.

Operators

Operator What it matches
file: File name (e.g., file:.png finds all images)
path: File path (e.g., path:"33.02 Content")
content: Note content only
tag: Tag, including nested ones (e.g., tag:#obsidian/features)
line:(...) Terms appearing on the same line
block:(...) Terms appearing in the same block
section:(...) Terms appearing under the same heading
task: / task-todo: / task-done: Text inside tasks / open tasks / completed tasks
["property":value] Property value (e.g., ["public_note":true])
match-case: / ignore-case: Force case sensitivity either way

Combine them with quotes for exact phrases, OR for alternatives, - to exclude, (...) to group, and /regex/ for regular expressions:

tag:#obsidian -path:"60 Archives" /URI|deeplink/

Embedded queries

Any search can live inside a note as a ```query code block, rendering live results (see Obsidian Embeds). That's a zero-plugin dynamic index.

Good to know

  • Toggle Explain search term in the search pane to see how Obsidian parsed your query; it kills most "why doesn't this match" confusion.
  • Search covers file content and properties, not the content of embedded attachments.
  • For fuzzy or typo-tolerant search across the vault, the Omnisearch plugin for Obsidian complements the core engine; for semantic search, I use qmd via the Obsidian CLI.
  • External apps can trigger a search via obsidian://search (see Obsidian URI).

References


About Sébastien

Ready to get to the next level?

Found this valuable? Share it with someone who needs it.

Join 6,000+ readers. Get practical systems for knowledge & AI. Free.

Subscribe ✨

Free: Knowledge System Checklist

A clear roadmap to building your own knowledge system. Subscribe and get it straight to your inbox.

6,000+ readers. No spam. Unsubscribe anytime.

Subscribe