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

Remove Empty Folders

fnyafnya3k downloads

Easily remove empty folders.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates3

This is an Obsidian plugin that removes empty folders.

Caution !!

Be sure to back up Obisidan data before running this plugin !!

In the worst case scenario, data may be lost.

How to use

Select the notes you want to merge in the file explorer.

Select the folder(s) in the File Explorer from which you want to remove the empty folder(s).

Right click on the selection and select Remove empty folders.

In the image example, subfulder1-2 and subfulder1-3 will be removed.

Limitations

This plugin removes empty folders at the point of execution. Therefore, empty folders as a result of running the plugin will not be removed.

You may need to run the plugin several times to remove all empty folders.

Troubleshootings

In the unlikely event that an unexpected folder is deleted, please check inside the ObsidianValtPath/.trash folder.

The plugin moves the empty folder to the obsidian .trash folder rather than physically removing it, so the contents can be checked and recovered as shown in the following image.

67%
HealthFair
ReviewCaution
About
Remove empty folders from selected locations in the file explorer. Run repeatedly to clear nested empties; removed folders are moved to Obsidian's .trash for easy recovery.
FoldersFilesSidebar
Details
Current version
0.0.3
Last updated
2 years ago
Created
3 years ago
Updates
3 releases
Downloads
3k
Compatible with
Obsidian 0.0.0+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
fnyafnya
github.com/fnya
GitHubfnya
  1. Community
  2. Plugins
  3. Folders
  4. Remove Empty Folders

Related plugins

Flexplorer

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

Custom File Explorer sorting

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

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.

Trash Explorer

Restore and delete files from the Obsidian .trash folder.

File Explorer++

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

Notebook Navigator

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

Recent Files

Display a list of recently opened files.

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.

Multi Properties

Add properties to multiple notes at once. Either right-click a folder or select multiple notes and right-click the selection.