Find Orphaned Images

by josmarcristello
5
4
3
2
1
Score: 53/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

22
stars
43,191
downloads
0
forks
81
days
81
days
81
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
7
total issues
2
open issues
5
closed issues
4
commits

Latest Version

3 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.
Add Attachment
23 days ago by olegg90
Obsidian plugin for adding multi attachments
Advanced Note Mover
3 months ago by Lars Bücker
Quickly and easily move notes to predefined folders. Perfect for organizing your notes.
Advanced Rename and Delete Handler
a month ago by Michael Naumov
Handles renames and deletes for the whole vault in one place: updates links, moves attachment files and folders, and cleans up what a deletion leaves behind.
Alternative Explorer
2 months 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.
Attachment Management
3 years ago by trganda
Attachment Management of Obsidian
Attachment Manager
3 years ago by chenfeicqq
Attachment folder name binding note name, automatically rename, automatically delete, show/hide.
Attachment Organizer
2 months ago by kiteruunner
Automatically organize attachments into zone-based folders with conflict detection and batch operations
Attachment Uploader
2 months ago by zhuxining
An attachment uploader plugin for Obsidian
Attachments Cache
2 years ago by luisbs
Obsidian plugin to cache attachments locally
Auto Folder Note Paste
2 years ago by d7sd6u
Convert your note into folder note upon pasting or drag'n'dropping an attachment
Auto Hide
4 years ago by skelato1
This Obsidian plugin enables you to collapse (and expand) the sidebar easier.
Bi Ji Tong Bu
2 months ago by 笔记同步助手
Bi Ji Tong Bu (笔记同步助手) for Obsidian — marketplace edition (no self-update; full disclosures)
BrainCore LifeOS
20 days ago by 囍樂
BrainCore 侧边栏不仅是一个展示面板,更是你整个 Obsidian 知识库的“核心呼吸机”。它由 6 大模块组成,涵盖了时间感知、极速收集、工作流转、习惯养成与知识内化。一切信息从这里输入,最终也会在这里沉淀。
Claude Sidebar
2 months ago by derek-larson14
Run Claude Code, Codex, and other agent CLIs in Obsidian
Clear Unused Images
5 years ago by Ozan Tellioglu
Obsidian plugin to clear the images that are not used in note files anymore
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.
Consistent attachments and links
6 years ago by Dmitry Savosh
Obsidian plugin. Move note with attachments.
Content-Addressed Attachments
7 months ago by NateScarlet
Stores obsidian attachments using content-based addressing (similar to IPFS)
Cornell Marginalia
5 months ago by Latazadehomero
A lightweight Obsidian plugin designed for students who use the Cornell Note-taking System.
Custom Attachment Location
5 years ago by RainCat1998
Customize attachment location with variables($filename, $data, etc) like typora.
Custom Sidebar Icons
2 years ago by RavenHogWarts
Custom Icons
Cycle In Sidebar
4 years ago by Houcheng
Cycle through tabs of left/ right sidebar panel
Fast Note Sync
3 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 用户提供无打扰、丝般顺滑、多端实时同步的多平台笔记同步插件。
Feishu Importer
a month ago by leon
feishu document importer for Obsidian
File Cleaner
5 years ago by Johnson0907
A file cleaner plugin for Obsidian.
File Cleaner Redux
3 years ago by husjon
A plugin for Obsidian to help clean up files in your vault
Floating Headings
8 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.
Floating Quick Note
a month ago by sabosman
Floating Quick Note is an Obsidian plugin that lets you open a small, detached note window that stays on top of your other apps. It is great for taking notes during meetings or while you are working in other programs without having to switch back and forth to Obsidian.
Google Keep Import
3 years ago by Dale de Silva
Imports Google Keep backup files
GTD Tasks
2 months ago by unpreditable
Hide Folders
4 months ago by jonasdoesthings
Toggle the visibility of folders in the Obsidian.MD file navigator based on name-patterns
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.
ICOR for Life - PDF Annotation
a month ago by Thomas Roedl
Highlight text or draw a box on a PDF and get a note in the vault for it, with a deep link back, a card on any canvas by drag and drop, and a sidebar of every highlight in the open PDF. Part of the ICOR for Life suite.
Image Embedder
a year ago by Natalie Sumbo
Image Manager
2 months ago by David V. Kimball
Insert, rename, and sort external images by transforming them into local files within your notes.
Image Size
2 years ago by Jie Zhang
Set the default size for pasted images.
inBox Sync
2 months ago by maoruibin
inBox 笔记的 Obsidian 插件
Infostacker Note Publish
2 years ago by Taskscape LTD, Patryk Nowak, Kacper Pabianiak
Infostacker plugin for Obisidian
Insert Multiple Attachments
2 years ago by mnaoumov
Obsidian Plugin that allows to insert multiple attachments at a time
Janitor
4 years ago by Gabriele Cannata
Performs various maintenance tasks on the Obsidian vault
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.
Local Any Files
2 years ago by ShermanTsang
A obsidian plugin used to extract and download files in your obsidian note.
Markdown Cleaner
5 months ago by gao-qian-long
Obsidian格式化markdown插件
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.
Mobile Sidebar Notes
2 months ago by ckep1
Open notes & new tabs in the sidebar on the Obsidian mobile app.
Note archiver
3 years ago by thenomadlad
Note Companion Folder
3 years ago by Chris Verbree
A Obsidian Plugin providing a way to associate a folder to a note
Nuke Orphans
4 years ago by Sandorex
Obsidian notes plugin that trashes orphaned files and attachments
O2
4 years ago by haril song
Converts obsidian markdown syntax to other platforms.
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)
Oriko
a month ago by trevware
A pannable, zoomable wall of your web clippings. Sort them into grids, filter by any property, and clip from your phone. Media is downloaded into your vault, so clippings keep their images and videos even if the source page is deleted.
Paste Image Into Property
2 years ago by Nito
Paste image rename
4 years ago by Reorx
Renames pasted images and all the other attachments added to the vault
PDF Paste
2 years ago by Cormac
PixNote
a month ago by Sofia Milton
Quick Peek Sidebar
a year ago by Bradley Wyatt
Open and close the Obsidian sidebars on hover.
Rainbow-Colored Sidebar
a year ago by Kevin Woblick
Automatically color your sidebar like a rainbow. No configuration needed. 18 themes included.
Recent Files
6 years ago by Tony Grosinger
Display a list of most recently opened files
Remove Empty Folders
3 years ago by fnya
Remove Empty Folders for Obsidian
S3 attachments storage
4 years ago by TechTheAwesome
An Obsidian plugin for storage and retrieval of media attachments on S3 compatible services.
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.
Scratchpad
a year ago by KVH
An open source Obsidian plugin for quick note-taking and freehand drawing.
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.
Sidebar Keyboard Navigation
2 months ago by denvolok
Obsidian plugin to smoothly navigate File Explorer using keyboard only.
Sidet
2 months ago by Jiao Yingxing
An easy-to-use AI chat plugin for Obsidian with side browsing, focused conversations, and vault-aware knowledge capture.
Simple File Info
2 years ago by Lukas Capkovic
Simple Meeting Sidebar
a month ago by Wren
A macOS-only Obsidian plugin that reads Apple Calendar events into a sidebar and turns them into tasks or meeting notes.
Soomda
3 years ago by Michael Lee
🙈 Soomda — An Obsidian plugin that lets you quickly hide your sidebars.
Telegram Sidebar
2 months ago by reallygood83
TikToker
7 months ago by ameyxd
A Tiktok parser and saver for Obsidian
Tree Modal
5 months ago by krannich
Obsidian plugin: open files from the file explorer in a modal preview
Unique attachments
6 years ago by Dmitry Savosh
Obsidian plugin. Renames attachments, making their names unique.
WebDAV Explorer
7 months ago by 蓝星晓夜
WebDAV Server Explorer.
Window Collapse
5 years ago by Guilherme Quental
WorkBuddy
2 months ago by Jason
obsidian plugin for workbuddy
YAOS
5 months ago by kavinsood
A zero-terminal, real-time sync engine powered by your own Cloudflare Worker.