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

johnsonhong997johnsonhong99729k 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
5 years ago
Created
5 years ago
Updates
11 releases
Downloads
29k
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.

Custom Attachment Location

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

Ink

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

Paste image rename

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

Imagine

A comprehensive image management plugin for managing, inserting, resizing, viewing, and batch processing images.

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.

Thino

Quickly capture memos and display them in the sidebar with a heatmap. (Closed source)

Local REST API with MCP

Unlock your automation needs by interacting with your notes over a secure REST API.