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

Remove Unused Block IDs

isdmgisdmg440 downloads

Remove unused block ids in your vault.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates9

A simple plugin that removes unused block IDs.

Caution

Consider backing up your vault before using this plugin to avoid any risk of data loss.

Limitations

  • When a block ID is only referenced in a canvas card (and nowhere else), it will be considered unused and added to the unused block IDs list. This happens because a canvas card is not treated like a markdown file.
  • If a page has duplicate block IDs and one of those IDs is referenced (as shown in the picture), the plugin won’t be able to tell which block is in use. Obsidian also struggles with handling duplicate block IDs within a single page, so avoid using them. If the duplicate IDs aren’t referenced, the plugin will work correctly and remove all of the instances of the duplicates. Duplicate block ids

How to use?

  1. Open the command palette and run the command Remove Unused Block IDs: Scan vault.
  2. Confirm the deletion of unused block IDs.
69%
HealthGood
ReviewSatisfactory
About
Remove unused block IDs from your vault to clean up orphaned anchors and stray references. Scan the vault and confirm deletion; back up your vault first, as canvas cards and duplicate block IDs may be misidentified.
FilesLinksUtilities
Details
Current version
1.0.9
Last updated
2 years ago
Created
2 years ago
Updates
9 releases
Downloads
440
Compatible with
Obsidian 0.15.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
isdmgisdmg
GitHubisdmg
  1. Community
  2. Plugins
  3. Files
  4. Remove Unused Block IDs

Related plugins

Advanced URI

Control everything with URI.

Note Refactor

Extract note content into new notes and split notes.

Find orphaned files and broken links

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

Custom Attachment Location

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

Notebook Navigator

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

Local REST API & MCP Server

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

QuickAdd

Quickly add new notes or content to your vault.

Recent Files

Display a list of recently opened files.

Omnisearch

Intelligent search for your notes, PDFs, and OCR for images.

Claudian

Embeds Claude Code/Codex as an AI collaborator in your vault. Your vault becomes agent's working directory, giving it full agentic capabilities: file read/write, search, bash commands, and multi-step workflows.