Search queries: tag, filter, and other queries

Below are some examples of using the in and the group keywords for filtering search results. These keywords work in the regular search bar as well as in the Ctrl-O quick-search menu, on both web and mobile 🕵️‍♀️.

link#️⃣ Filtering by tags

To search for notes under a particular tag, use the in: special keyword:

in: my-tag-name

To search for all notes under an arbitrary node of the tag hierarchy, include the entire tag name:

in: my-parent-tag/my-child-tag

To search for notes tagged with multiple tags, use comma-separated names of tags:

in: my-first-tag,my-second-tag

Combining the in: keyword with a regular search keyword will yield all notes under a particular tag that contain the given string:

in: my-tag-name My search keyword

Exclude a tag from a search query by typing a caret ^ sign before the tag name:

in: ^daily-jots

☝️ The above will exclude notes tagged with the daily-jots tag from the search results.

Excluding tags also works in comma-separated lists of tags.

in: ^daily-jots,work

☝️ The caret only applies to the tag it precedes, that is, for the query above, the search will only include notes tagged with work that are also not tagged with daily-jots. The query above is equivalent with typing in: work,^daily-jots. 💡

Finally, complex tag filtering also works with regular search keywords:

in: ^daily-jots,work My search keyword

link✨ Other search queries

To show all notes that don't have any tags, use the group: special keyword followed by the word untagged:

group: untagged

To show all archived notes:

group: archived

To show all notes created by you and shared with other people:

group: shareSent

To show all notes created by other people and shared with you:

group: shareReceived