Open search
- Press
Ctrl+Shift+F(Windows/Linux) orCmd+Shift+F(macOS). - Click the search icon in the left sidebar.
Files matching your Settings → Excluded files patterns will not appear in search results.
Basic search
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 workreturns 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
ORto 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:OR, parentheses, exact quotes, and regex.
Regular expressions
Surround a regular expression with forward slashes to use it in a search:2022-01-01. You can combine regex with operators:
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 aquery code block: