Find Orphaned Images

by josmarcristello
5
4
3
2
1
Score: 54/100

Description

The Find Orphaned Images plugin scans a vault for image files that are no longer referenced and gives two ways to deal with them. It can generate a grouped report note with file sizes, totals and either embedded previews or links or open a sidebar panel with thumbnails, paths, sizes, checkboxes and a reclaimable space total before deletion. Reference detection goes beyond note links and embeds. It also checks YAML frontmatter links, canvas content, HTML img tags and legacy Admonitions embeds. Folder include and exclude rules, custom image extensions, report location, delete limits, trash support and a safety scan before deletion make cleanup more controlled. It also exposes commands and an optional ribbon button for quick access.

Reviews

  • Văn Đồng Bùi
    Reviewed on Feb 20th, 2026
    It just does what it said. Thanks for functioning.

Stats

21
stars
40,957
downloads
0
forks
51
days
51
days
51
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
6
total issues
1
open issues
5
closed issues
4
commits

Latest Version

2 months ago

Changelog

What's New

  • This release contains updates and improvements for the Find Orphaned Images plugin.
  • Detailed changelog can be found in the repository.

README file from

Github

Obsidian Plugin GitHub release (latest by date including pre-releases) Create Release Obsidian Downloads

Find Orphaned Images is an Obsidian plugin designed to help you keep your vault clean and organized by identifying and managing images that are not linked anywhere in your notes. With this plugin, you can:

  1. Generate a note with a report of all the orphaned (not linked) images in your vault.
  2. Delete all the orphaned images in your vault.

Features

  • Identify Orphaned Images: Scan your vault to find images that are not linked in any note.
  • Interactive Review Panel: Open a sidebar panel that lists every orphaned image with a thumbnail, path, and file size. Tick the ones you want, then delete just those — with a running total of how much space you'll reclaim.
  • Broad reference detection: Detects images used in note links and embeds, YAML frontmatter links, Canvas files (file nodes, group backgrounds, and embeds inside text cards), raw <img src="https://raw.githubusercontent.com/josmarcristello/Obsidian-Find-Orphaned-Images/HEAD/…"> HTML tags, and embeds inside legacy Admonitions code blocks (```ad-note).
  • Generate Reports: Create a report listing all orphaned images (grouped by folder, with per-file and total sizes), with options to display images directly or link to them.
  • Delete Orphaned Images: Remove orphaned images, with a confirmation preview and an optional safety scan before anything is deleted.
  • Folder Scoping: Include or exclude specific folders, so temporary folders can be cleaned while folders of intentionally-unlinked files are left untouched.
  • Customizable Settings: Define which image extensions to look for, where reports are saved, and a maximum number of images to delete.
  • Sidebar Button: Access the plugin's features using the sidebar button or with the slash command.

Installation

  1. In Obsidian, go to Settings, Community Plugins, Browse, and search for "Find Orphaned Images". Install it. Done!
  1. Download the Plugin: You can download the latest release from the GitHub Releases page.

  2. Extract the Files: Extract the downloaded zip file and copy the files into your Obsidian vault's plugins directory: .obsidian/plugins/find-orphaned-images/.

  3. Enable the Plugin: In Obsidian, go to Settings -> Community plugins, disable safe mode if it's enabled, and then search for "Find Orphaned Images". Enable it to start using the plugin.

  4. Configure Settings: Go to Settings -> Find or Delete Orphaned Images to configure your preferences.

Usage

1. Using the Sidebar Button

  • Enable Sidebar Button: Ensure the sidebar button is enabled in the plugin settings.
  • Click the Button: Click the button in the sidebar to open the interactive review panel, where you can browse orphaned images and delete a selected subset.

2. Running Commands

You can also access the plugin's features via commands (Command Palette: Ctrl+P / Cmd+P):

  • Open orphaned images panel: Opens the interactive review panel — thumbnails, per-image checkboxes, and delete-selected.
  • Find or delete orphaned images: Opens the options modal to generate a report or bulk-delete every orphaned image at once.

3. Settings

  • Image Extensions: Specify which image file extensions to search for. Default: png, jpg, jpeg, gif, svg, bmp.
  • Include Folders: One folder path per line. If set, only images inside these folders are scanned; leave empty to scan the whole vault.
  • Exclude Folders: One folder path per line. Images inside these folders are never reported or deleted — useful for folders where unlinked files are intentional. Takes precedence over Include Folders.
  • Report Folder: Where the generated "Orphaned Images Report" note is saved. The folder is created if it doesn't exist. Leave empty to save it in the vault root.
  • Max Delete Count: Set a limit on how many images can be deleted in one operation. Use -1 for no limit, or 0 to disable deletion.
  • Move to Trash: When deleting, move images to trash (following your Obsidian "Deleted files" preference) instead of permanently deleting them. Enabled by default.
  • Safety Scan Before Deleting: Before deleting, skip any image whose filename still appears in a note or canvas. Guards against references the plugin cannot parse. Enabled by default.
  • Show Ribbon Icon: Toggle the sidebar (ribbon) button on or off for quick access to the plugin's features.

Known limitations

Orphan detection relies on how Obsidian indexes references. An image may be reported as orphaned even when it is technically in use if it is referenced only by:

  • Bare (unbracketed) frontmatter values such as banner: my-image.png — Obsidian does not treat these as links; only the consuming plugin (Banners, etc.) understands them. Use a bracketed wikilink (banner: "[[my-image.png]]") to make it detectable.
  • Other plugins' internal formats that store image references in their own encoding (some Excalidraw usage, custom code blocks, etc.).
  • External/remote URLs, which are intentionally ignored (they are not vault files).

The Safety Scan Before Deleting setting is a conservative backstop for these cases: it will keep any image whose filename still appears anywhere in a note or canvas. When in doubt, generate a report first and review it before deleting.

Screenshots

Modal Options

Modal

Configuration Options

Configuration-Options

Contributing

Contributions are welcome! If you have suggestions for new features or find a bug, please open an issue or submit a pull request.

  1. Fork the Repository: Click the "Fork" button at the top right of this page to fork this repository.

  2. Clone Your Fork: Use the command git clone https://github.com/your-username/Obsidian-Find-Orphaned-Images.git to clone your forked repository.

  3. Create a Branch: Use git checkout -b your-feature-branch to create a branch for your feature or bug fix.

  4. Make Changes: Make your changes and commit them with a descriptive message.

  5. Push to Your Fork: Use git push origin your-feature-branch to push your changes.

  6. Open a Pull Request: Navigate to your fork on GitHub and click the "New pull request" button.

License

This project is licensed under the GPL-3. See the LICENSE file for more information.

Acknowledgements

  • Thanks to the Obsidian Community for their support and feedback.
  • Inspired by the need to keep vaults organized and efficient.

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
File Cleaner
4 years ago by Johnson0907
A file cleaner plugin for Obsidian.
Paste image rename
4 years ago by Reorx
Renames pasted images and all the other attachments added to the vault
Nuke Orphans
4 years ago by Sandorex
Obsidian notes plugin that trashes orphaned files and attachments
Auto Hide
4 years ago by skelato1
This Obsidian plugin enables you to collapse (and expand) the sidebar easier.
Janitor
4 years ago by Gabriele Cannata
Performs various maintenance tasks on the Obsidian vault
Obsidian markdown export
4 years ago by bingryan
This plugin allows to export directory/single markdown to a folder. support output format(html/markdown/text)
S3 attachments storage
4 years ago by TechTheAwesome
An Obsidian plugin for storage and retrieval of media attachments on S3 compatible services.
Cycle In Sidebar
4 years ago by Houcheng
Cycle through tabs of left/ right sidebar panel
S3 Image Uploader
4 years ago by jvsteiner
This project implements an image uploader, similar to others offered by the community, with one important difference: you can provide your own s3 based storage, instead of relying on a third party service, such as imgur.
O2
4 years ago by haril song
Converts obsidian markdown syntax to other platforms.
Soomda
3 years ago by Michael Lee
🙈 Soomda — An Obsidian plugin that lets you quickly hide your sidebars.
Google Keep Import
3 years ago by Dale de Silva
Imports Google Keep backup files
Attachment Management
3 years ago by trganda
Attachment Management of Obsidian
Note archiver
3 years ago by thenomadlad
Attachment Manager
3 years ago by chenfeicqq
Attachment folder name binding note name, automatically rename, automatically delete, show/hide.
Remove Empty Folders
3 years ago by fnya
Remove Empty Folders for Obsidian
File Cleaner Redux
3 years ago by husjon
A plugin for Obsidian to help clean up files in your vault
Note Companion Folder
2 years ago by Chris Verbree
A Obsidian Plugin providing a way to associate a folder to a note
Custom Sidebar Icons
2 years ago by RavenHogWarts
Custom Icons
Infostacker Note Publish
2 years ago by Taskscape LTD, Patryk Nowak, Kacper Pabianiak
Infostacker plugin for Obisidian
Recent Files
6 years ago by Tony Grosinger
Display a list of most recently opened files
Markdown Formatting Assistant
6 years ago by Reocin
This Plugin provides a simple WYSIWYG Editor for Markdown and in addition a command line interface. The command line interface facilitate a faster workflow.
Consistent attachments and links
5 years ago by Dmitry Savosh
Obsidian plugin. Move note with attachments.
Unique attachments
5 years ago by Dmitry Savosh
Obsidian plugin. Renames attachments, making their names unique.
Clear Unused Images
5 years ago by Ozan Tellioglu
Obsidian plugin to clear the images that are not used in note files anymore
Sidebar Expand on Hover
5 years ago by Tousif Iqbal Anik (toiq)
This Obsidian plugin expands or collapses the sidebar based on mouse hovering on the ribbons.
Hide Sidebars on Window Resize
5 years ago by NomarCub, Michael Hanson
A simple Obsidian plugin to hide the sidebars when the window gets narrow.
Window Collapse
5 years ago by Guilherme Quental
Custom Attachment Location
5 years ago by RainCat1998
Customize attachment location with variables($filename, $data, etc) like typora.
Cloud Storage
2 years ago by Jiajun Ma
Obsidian Cloud Storage is a powerful and user-friendly plugin designed to seamlessly integrate cloud storage capabilities into your Obsidian workflow. This plugin allows you to effortlessly upload your attachments to the cloud, freeing up local storage space and enabling easy sharing and access across all your devices.
Insert Multiple Attachments
2 years ago by mnaoumov
Obsidian Plugin that allows to insert multiple attachments at a time
Local Any Files
2 years ago by ShermanTsang
A obsidian plugin used to extract and download files in your obsidian note.
PDF Paste
2 years ago by Cormac
Image Size
2 years ago by Jie Zhang
Set the default size for pasted images.
Paste Image Into Property
2 years ago by Nito
Attachments Cache
a year ago by luisbs
Obsidian plugin to cache attachments locally
Auto Folder Note Paste
a year ago by d7sd6u
Convert your note into folder note upon pasting or drag'n'dropping an attachment
Simple File Info
a year ago by Lukas Capkovic
Quick Peek Sidebar
a year ago by Bradley Wyatt
Open and close the Obsidian sidebars on hover.
Image Embedder
a year ago by Natalie Sumbo
Rainbow-Colored Sidebar
a year ago by Kevin Woblick
Automatically color your sidebar like a rainbow. No configuration needed. 18 themes included.
Scratchpad
a year ago by KVH
An open source Obsidian plugin for quick note-taking and freehand drawing.
Linked Note Exporter
a year ago by the-c0d3r
Obsidian plugin to export a note along with all its attachments and linked notes—cleanly, conveniently, and ready to share.
Floating Headings
7 months ago by k0src
Displays a floating, collapsible outline of a note's headings on the right side of the editor. Expands on hover, click to navigate.
TikToker
6 months ago by ameyxd
A Tiktok parser and saver for Obsidian
WebDAV Explorer
6 months ago by 蓝星晓夜
WebDAV Server Explorer.
Content-Addressed Attachments
6 months ago by NateScarlet
Stores obsidian attachments using content-based addressing (similar to IPFS)
Markdown Cleaner
4 months ago by gao-qian-long
Obsidian格式化markdown插件
Tree Modal
4 months ago by krannich
Obsidian plugin: open files from the file explorer in a modal preview
YAOS
4 months ago by kavinsood
A zero-terminal, real-time sync engine powered by your own Cloudflare Worker.
Cornell Marginalia
4 months ago by Latazadehomero
A lightweight Obsidian plugin designed for students who use the Cornell Note-taking System.
Hide Folders
3 months ago by jonasdoesthings
Toggle the visibility of folders in the Obsidian.MD file navigator based on name-patterns
Advanced Note Mover
2 months ago by Lars Bücker
Quickly and easily move notes to predefined folders. Perfect for organizing your notes.
Fast Note Sync
2 months ago by HaierKeys
Can be privately deployed, focusing on providing Obsidian users with a seamless, distraction-free note synchronization plugin with real-time sync across multiple platforms, supporting Mac, Windows, Android, iOS, and offering multilingual support.可私有化部署,专注为 Obsidian 用户提供无打扰、丝般顺滑、多端实时同步的多平台笔记同步插件。
GTD Tasks
a month ago by unpreditable
Sidebar Keyboard Navigation
a month ago by denvolok
Obsidian plugin to smoothly navigate File Explorer using keyboard only.
Sidet
a month ago by Jiao Yingxing
An easy-to-use AI chat plugin for Obsidian with side browsing, focused conversations, and vault-aware knowledge capture.
Attachment Organizer
a month ago by kiteruunner
Automatically organize attachments into zone-based folders with conflict detection and batch operations
Attachment Uploader
a month ago by zhuxining
An attachment uploader plugin for Obsidian
Claude Sidebar
a month ago by derek-larson14
Run Claude Code, Codex, and other agent CLIs in Obsidian
Telegram Sidebar
a month ago by reallygood83
inBox Sync
a month ago by maoruibin
inBox 笔记的 Obsidian 插件
Mobile Sidebar Notes
a month ago by ckep1
Open notes & new tabs in the sidebar on the Obsidian mobile app.
Image Manager
24 days ago by David V. Kimball
Insert, rename, and sort external images by transforming them into local files within your notes.
Bi Ji Tong Bu
23 days ago by 笔记同步助手
Bi Ji Tong Bu (笔记同步助手) for Obsidian — marketplace edition (no self-update; full disclosures)
Alternative Explorer
21 days ago by sk-obsidian
Alternative Explorer is an Apple Notes–style sidebar for browsing folders and notes in Obsidian. Switch between an expandable folder tree and a notes list — a compact alternative to the built-in File Explorer.
WorkBuddy
16 days ago by Jason
obsidian plugin for workbuddy
PixNote
12 days ago by Sofia Milton