Skip to main content
Search is a core plugin that helps you find data in your Obsidian vault. You can combine keywords, operators, and regular expressions to narrow results precisely.
  • Press Ctrl+Shift+F (Windows/Linux) or Cmd+Shift+F (macOS).
  • Click the search icon in the left sidebar.
Select text in the editor before opening Search, and Obsidian will pre-fill the search field with your selection.
Open Search with an empty field to see your recent search terms and reuse them.
Files matching your Settings → Excluded files patterns will not appear in search results.
Type a word or phrase into the search field. By default, Obsidian searches the contents of notes and canvases.
  • Each word is matched independently: meeting work returns files containing both words.
  • Wrap a phrase in quotes for an exact match: "stand-up meeting".
  • Escape quotes inside a phrase with a backslash: "they said \"hello\" to each other".

Boolean operators

Combine words and phrases with boolean logic:
  • Use OR to match either term.
  • Use - (hyphen) before a word to exclude it.
  • Use parentheses to group expressions and control evaluation order.

Search operators

Operators let you target specific parts of a note or file: Some operators accept a nested search term in parentheses: task:(call OR email).

Search properties

Search across note properties using bracket syntax:
Both the property name and value support sub-queries including OR, parentheses, exact quotes, and regex.

Regular expressions

Surround a regular expression with forward slashes to use it in a search:
This matches any ISO 8601 date such as 2022-01-01. You can combine regex with operators:
This returns files with a date in the file path.
Obsidian uses JavaScript-flavored regular expressions.

Change case sensitivity

By default, search is case-insensitive. Click the Match case icon inside the search bar to enable case-sensitive matching. The icon is highlighted when case-sensitive mode is active.

Sort results

1

Enter a search term

Type your query in the search field.
2

Open the sort dropdown

Select the dropdown on the right side below the search field.
3

Choose a sort order

Options include file name (A–Z or Z–A), modified time, and created time.

Copy search results

1

Run a search

Enter your search term.
2

Open the results menu

Click the three-dots icon next to the result count below the search field.
3

Copy results

Select Copy search results.

Embed search results in a note

You can embed a live search query inside any note using a query code block:
The results update dynamically as your vault changes.

Search settings

Click the sliders icon on the right side of the search bar to access additional settings: