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

Find orphaned files and broken links

VinzentVinzent218k downloads

Find files that are not linked anywhere and would otherwise be lost in your vault. In other words: files with no backlinks.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates30

A Plugin for Obsidian

Features

  • Find orphaned files (files with no backlinks)
  • Find broken links (links to files that do not exist)
  • Find empty files (files with no content)
  • Find empty folders (folders with no files)
  • Delete orphaned files, empty files and empty folders
  • Archive orphaned files

How does it work?

Find orphaned files

This plugin goes through your whole vault and searches for files, which are linked nowhere. In other words: Files with no backlinks.

In the end, it will create a file with a list of links to these orphaned files. Now you can either delete these unused files or link them somewhere in your vault.

Find broken links

Creates a file with a list of links, which linked file has not been created yet.

In addition, there is a command to create those linked files.

Find empty files

Creates a file with a list of empty files. Files with just frontmatter are considered empty as well.

Find empty folders

Creates a file with a list of empty folders. Use the Delete empty folders command to move the listed folders to the system trash after confirmation. Folders that are no longer empty are left untouched.

Note that hidden files and folders (starting with a dot) are ignored. So folders containing only hidden files are considered empty as well.

How to use

Call the command Find orphaned files and the file Find orphaned files plugin output.md will be created in your vault root and opened in a new pane.

Additional features:

  • add files to ignore
  • add directories to ignore
  • add tags to ignore files with one of these tags
  • add files to ignore files with links to one of these files
  • add specific file types to ignore
  • change output file name
  • sort output by size or alphabetically

Move files with certain extension in output file to system trash or archive (extra commands)

Goes through every link in the output file. If the extension of the link is in the corresponding delete or archive filetype list (can be set in settings), it moves the file to system trash or to the configured archive directory. This is useful to clean up many unused media files while still allowing you to preserve them in an archive folder.

The archive command requires the configured archive directory to already exist and preserves the original path inside it.

Please note that the setting "Disable working links" needs to be disabled.

Installing

From Obsidian

  1. Open settings -> Third party plugin
  2. Disable Restricted mode
  3. Click Browse community plugins
  4. Search for "Find orphaned files and broken links"
  5. Install it
  6. Activate it under Installed plugins

From GitHub

  1. Download the latest release
  2. Move manifest.json and main.js to <vault>/.obsidian/plugins/find-unlinked-files
  3. Reload Obsidian (Str + r)
  4. Go to settings and disable safe mode
  5. Enable Find orphaned files and broken links

If you find this plugin useful and would like to support its development, you can support me on Ko-fi.

HealthExcellent
ReviewSatisfactory
About
Find orphaned files, broken links, and empty notes across your vault and generate an output file listing them. Create missing linked notes for unresolved links and move unused files by extension to the system trash.
FilesLinksCommands
Details
Current version
1.11.0
Last updated
2 weeks ago
Created
6 years ago
Updates
30 releases
Downloads
218k
Compatible with
Obsidian 1.6.6+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Sponsor
Ko-fi
Author
VinzentVinzentvinzent03
github.com/Vinzent03
GitHubvinzent03
  1. Community
  2. Plugins
  3. Files
  4. Find orphaned files and broken links

Related plugins

Advanced URI

Control everything with URI.

Paste URL into selection

Paste URL "into" selected text.

Note Refactor

Extract note content into new notes and split notes.

Notebook Navigator

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

Excalidraw

Visual PKM powerhouse. Create and edit Excalidraw drawings.

Claudian

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

Smart Connections

Find related notes and excerpts while writing. Your AI link building copilot displays relevant content in graph + list view. A local embedding model powers semantic search. Zero setup. No API key.

Local REST API with MCP

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

Thino

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

Breadcrumbs

Visualise the hierarchy of your vault using a breadcrumb trail or matrix view.