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

johnsonhong997johnsonhong99727k 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
64%
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
27k
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

Image Converter

Convert, compress, resize, annotate, markup, draw, crop, rotate, flip, align, drag-resize, rename with variables, and batch process images: WEBP, JPG, PNG, HEIC, TIF

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.

Ink

Hand write or draw 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.

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.

Custom Attachment Location

Customize attachment location with variables($filename, $data, etc) like Typora.

Imgur

Upload images from your clipboard to imgur.com and embeds uploaded image to your note.

Notebook Navigator

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