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 Explorer Filter

singularitopiansingularitopian52 downloads

Filter the File explorer by top-level folder and optionally hide files and folders matching configurable text.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

Plugin for Obsidian to provide filtering on top-level folders in the File explorer.

Overview

File Explorer Filter adds a filter button to Obsidian's File explorer to switch the view between All folders or one specific top-level folder. Switch context without maintaining multiple notebooks - like OneNote sections.

Features

  • Switch Folder Context: Easily switch visual context between folders while staying in the same notebook.
  • Completed Notes: Hide completed notes using a customizable pattern, such as [DONE].
  • CSS-Based: Use filtering alongside other File explorer plugins, including Drag and Drop Sort.
  • Non-Destructive: Keep hidden items available through search, links, backlinks, and the quick switcher.

Installation

Community Plugins

Open Settings → Community plugins → Browse, search for File Explorer Filter, then select Install and Enable.

Manual

  1. Build the plugin:
cd src
npm install
npm run build
  1. Copy src/dist/main.js, manifest.json, and src/styles.css into .obsidian/plugins/file-explorer-filter/.

  2. Enable File Explorer Filter under Settings > Community plugins.

Usage

Select the filter icon in the File explorer toolbar, then choose All folders or a top-level folder such as Career. You can independently toggle Hide names containing "[DONE]".

Under Settings > File Explorer Filter, enable or disable the name-filter menu option and replace [DONE] with any non-empty text. Name matching is case-insensitive and can occur anywhere in a file or folder name; empty or whitespace-only settings are rejected.

You can also use the command palette commands File Explorer Filter: Show File Explorer Filter menu and File Explorer Filter: Toggle files and folders matching the name filter.

How it Works

When the plugin loads, it waits for the workspace layout and then applies the saved folder and name filters to every File explorer view. It also reruns this setup when Obsidian rebuilds the explorer, and refreshes the view when files are created, deleted, or renamed.

The filter keeps explorer rows in the DOM and applies a CSS class to rows outside the selected folder or matching the configured name pattern. When the filter changes, the view is refreshed; switching folders also invalidates Obsidian's virtual-scroll layout so the visible rows are recalculated immediately. The plugin does not patch getSortedFolderItems() or alter vault files, so it remains independent from explorer sorting plugins.

Versioning and Releases

This plugin is built and released using the repository's release.yml workflow. It is versioned using Semantic Versioning.

It is published as a community plugin, with release assets published to a corresponding GitHub Release:

  • GitHub Releases
  • File Explorer Filter on Community plugins

Development

The TypeScript source lives in src/. Run the plugin in watch mode while developing:

cd src
npm install
npm run dev

Run npm run build for a production build.

Chrome DevTools

To inspect the plugin in Obsidian's live renderer, close any running Obsidian instance and start it with remote debugging enabled:

& "C:\Program Files\Obsidian\Obsidian.exe" --remote-debugging-port=9222
  1. Confirm that the renderer is available at http://127.0.0.1:9222/json/list.
  2. Attach a Chrome DevTools MCP or CDP client to the webSocketDebuggerUrl returned for the renderer target.
  3. Evaluate JavaScript inside Obsidian's live renderer.

The --remote-debugging-port switch is documented in Electron's command-line switch reference, and the /json/list endpoint and webSocketDebuggerUrl are part of the Chrome DevTools Protocol.

Contributing

Contributions are welcome. Please fork the repository, create a focused branch for your change, and open a pull request with a clear description of what changed and why; issues are also welcome for bug reports and feature ideas.

Security

We welcome responsible security reports. Please contact the repository owner privately with the details rather than opening a public issue, so the problem can be investigated and addressed before it is disclosed.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

HealthExcellent
ReviewPassed
About
File Explorer Filter adds a filter button to the file explorer to switch the view between All folders or one specific top-level folder. Switch context without maintaining multiple notebooks - like OneNote sections.
FoldersSidebar
Details
Current version
1.0.3
Last updated
3 weeks ago
Created
3 weeks ago
Updates
2 releases
Downloads
52
Compatible with
Obsidian 1.4.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
singularitopiansingularitopian
GitHubsingularitopian
  1. Community
  2. Plugins
  3. Folders
  4. File Explorer Filter

Related plugins

Hide Folders

Quickly toggle the visibility of specific folders in the file navigator based on configured names. Useful for hiding attachment folders.

Custom File Explorer sorting

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

Flexplorer

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

Portals

Pin folders and tags as customizable tabs with icons, colors, and folder notes for easier navigation.

File Explorer Note Count

See the number of notes in each folder within the file explorer.

File Tree Alternative

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

Unhide

(formerly Show Hidden Files) Unhide hidden files, like dotfiles, in Obsidian.

File Explorer++

Hide and pin files and folders in the file explorer using custom filters.

Trash Explorer

Restore and delete files from the Obsidian .trash folder.

Settings Sidebar Organizer

Groups Community Plugins into folders, allows renaming, reordering, and compacting the sidebar.