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 Cleaner

johnsonhong997johnsonhong99728k downloads

Clean empty files and unused attachments in your vault.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates11

This is a plugin for Obsidian (https://obsidian.md).

It can help you clean up empty files and unused attachments in the obsidian vault.

Note

  • Empty Files
    • Files with a size of 0 bytes.
    • Files with only spaces and line breaks
  • Unused Attachments
    • Support jpg, jpeg, png, gif, svg, pdf.
  • Settings
    • Move to system trash
    • Move to Obsidian trash (.trash folder)
    • Permanently delete

How to use

  • Click the ribbon icon of "File Cleaner".

Known issue

  • Attachments used in Admonition code blocks are not recognized
HealthFair
ReviewCaution
About
Clean empty files (zero bytes or only whitespace) and locate unused attachments — jpg, jpeg, png, gif, svg, pdf — across your vault. Delete or move found items to system or Obsidian trash to tidy and reclaim space.
AttachmentsFilesImages
Details
Current version
0.1.5
Last updated
4 years ago
Created
4 years ago
Updates
11 releases
Downloads
28k
Compatible with
Obsidian 0.12.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
johnsonhong997johnsonhong997
github.com/Johnson0907
GitHubjohnsonhong997
  1. Community
  2. Plugins
  3. Attachments
  4. File Cleaner

Related plugins

Pixel Perfect Image

Pixel perfect 100% image resizing, copy to clipboard, show image in Finder/Explorer, and much more.

Ink

Handwriting and drawing directly between paragraphs using a digital pen, stylus, or Apple pencil.

Local Images Plus

A reincarnation of Local Images to download images in Markdown notes to local storage.

Image Context Menus

Image context menus (mostly on right click): Copy to clipboard, Open in default app, Show in system explorer, Reveal file in navigation, Open in new tab.

Paste image rename

Rename image after pasting, support name pattern and auto renaming.

Image auto upload

Upload images from your clipboard by PicGo.

Janitor

Perform cleanup tasks on your vault.

Notebook Navigator

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

Claudian

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

Advanced URI

Control everything with URI.