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
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

File Filter

SebastienSebastien2k downloads

Filter your vault and your notes in a keystroke — type a word, watch everything irrelevant get out of the away.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates14

An Obsidian plugin with two features: a live filter and folder view for the Files pane, and a paragraph-level filter for the editor.

Vote on issues · Report a bug · Request a feature


Editor inline filter

Paragraph filter demo

Click the filter icon in the note header (or press the customizable hotkey Cmd+F) and a filter field appears below the header.

Type anything and watch non-matching paragraphs be hidden. Optionally, you can collapse the hidden paragraphs into an ··· ellipsis. Matching text is highlighted inline.

  • Click ··· or press Escape to clear the filter
  • Press Cmd/Ctrl+Z after clicking ··· to restore the previous query
  • Untick Show ellipses (in settings or under the filter input) to hide the ··· separators entirely

Filter words out

You can also use the filter in reverse: hide every paragraph that contains a word, and keep the rest.

Click the filter icon at the left of the search bar to switch to exclude mode — the icon gains an accent and the placeholder changes to Filter out paragraphs…. Type a word and matching paragraphs disappear instead of being shown.

Shortcut: type - as the first character (e.g. -apple) to switch to exclude mode — the - is consumed, not searched for. Press Backspace with the cursor at the start of the field to switch back.

Click the icon again to switch back. Closing the filter bar resets to normal (include) mode.

Several terms

One search can hold several filters, in the editor filter and the Files pane:

  • gym; run shows paragraphs with gym or run.
  • gym & run shows paragraphs with both.
  • gym & -draft shows paragraphs with gym and without draft. A - after ; or & excludes that term.
  • "r&d; notes" in quotes is searched as written.

& binds tighter than ;, so gym & -draft; run means (gym and not draft) or run. Task keywords work as terms too: todo & gym.

Tables

Tables are filtered by row: a table with a match shows its header plus only the matching rows (highlighted), and tables with no match are hidden. If the header itself matches, the whole table is shown. In exclude mode, matching rows are hidden instead.

Task keywords

Task filter demo

Three queries also match task syntax, on top of normal text matching:

  • task or todo — also matches unchecked tasks (- [ ])
  • done — also matches completed tasks (- [x])

So typing todo shows every open task on the page, and switching to exclude mode with done hides everything already completed. Only the exact keyword triggers this — done tasks is matched as plain text.

Note: the filter is designed for editing mode (Live Preview / Source). Filtering in reading mode also works but is known to be buggy.

Preserve structure (setting)

Enable Preserve structure in Settings → File Filter — or use the checkbox under the filter input — to keep ancestor headers visible when filtering a page.

Without this setting, only blocks whose text contains the search term are shown. With it enabled, any header that sits above a matching block in the document hierarchy is also shown — even if the header itself does not contain the search term.

Example: searching apple in a note structured as:

# Fruit Notes
## Varieties
A paragraph about apples.

Without Preserve structure: only the paragraph is shown.
With Preserve structure: # Fruit Notes, ## Varieties, and the paragraph are all shown.


File explorer filter

Click the filter icon in the Files pane (leftmost button in the nav bar). A search field appears below the nav buttons.

Type anything — the filter matches against the full file path, including folder names. So searching boston would surface:

Notes/
  Locations/
    Boston.md
Food/
  Pies/
    Boston Creme Pie.md

Press Escape or click × to clear the filter and return to the normal view.

Behaviour:

  • Matches any substring of the full path (case-insensitive)
  • Folder hierarchy is preserved for every matching file
  • Collapsed folders that contain matches are automatically expanded while the filter is active, then restored when cleared
  • All file types are included, not just Markdown notes

Folder view

Folder view demo

Click a folder's name to open it: the Files pane narrows to just that folder's contents, like double-clicking a folder in Finder's list view. Click the chevron to expand or collapse a folder in place as usual.

  • Click ← above the filter bar to go up to the parent folder; from a top-level folder it returns to the whole vault
  • While a folder is open, the filter only searches inside it, matching paths relative to the folder
  • New note and New folder create inside the open folder; Collapse all / Expand all acts on its subfolders
  • Turn off Open folders in folder view in Settings → File Filter to make clicking a folder name expand or collapse it instead

Other Plugins

Check out Date List and Calendar List if you liked this plugin.

HealthExcellent
ReviewSatisfactory
About
File Filter allows you to filer your pages (and sidebar) by a search term. Everything that doesn't match what you're looking for fades away.
FilesSearchSidebar
Details
Current version
1.7.0
Last updated
2 days ago
Created
5 months ago
Updates
14 releases
Downloads
2k
Compatible with
Obsidian 1.0.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Sponsor
Support
Author
SebastienSebastiensebshq
GitHubsebshq
  1. Community
  2. Plugins
  3. Files
  4. File Filter

Related plugins

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.

Tag Wrangler

Rename, merge, toggle, and search tags from the tag pane.

Omnisearch

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

Flexplorer

Enhance the file explorer with custom sorting, pinning, and hiding.

Recent Files

Display a list of recently opened files.

Reveal Active File Button

Add a button to the top of the File Explorer, to reveal the active file.

Custom File Explorer sorting

Manual or automatic config-driven reordering and sorting of files and folders in File Explorer.

File Tree Alternative

An alternative file tree view with separate folder and file panes.

Novel word count

Display a word count, page count, creation date, or other statistics for each file, folder and vault in the File Explorer pane.

Claudian

Embeds Claude Code/Codex and other local Agents as AI collaborators in your vault.