CosmicSeaFox13 downloadsClean and maintain your vault: find duplicate files, unused attachments, empty and orphan notes, and large files.
A safe cleanup and maintenance assistant for Obsidian.
VaultSweep scans your vault, creates a report of cleanup opportunities, and lets you decide what to do.
VaultSweep never deletes files automatically.
SCAN → REPORT → REVIEW → USER DECISION → CLEAN
![]()



| Issue | What VaultSweep Finds |
|---|---|
| Duplicate Files | Same filename in different folders |
| Unused Attachments | Images, PDFs, ZIPs, and other files not used in your notes |
| Empty Notes | Notes with no useful content, links, or tasks |
| Untitled Notes | Notes such as Untitled.md or New Note.md |
| Orphan Notes | Notes with no links to or from other notes |
| Large Files | Files larger than your chosen size limit |
Copy:
main.js
manifest.json
styles.css
into:
<your-vault>/.obsidian/plugins/vault-sweep/
Restart Obsidian and enable VaultSweep.
VaultSweep: Scan Vault
or click the VaultSweep ribbon icon.
Review the detected issues by category.
Select the items you want to clean up.
Click Delete Selected and choose an action:
| Action | Description |
|---|---|
| Keep selected | Leave selected files unchanged |
| Ignore selected | Exclude selected items from future scans |
| Move to trash | Safely move selected files to the system trash |
| Delete permanently | Permanently delete selected files after an additional confirmation |
VaultSweep follows a review-first approach.
VaultSweep does not send your vault data anywhere.
There is:
All processing happens locally inside Obsidian.
VaultSweep is designed to work completely offline.
Your vault contents are processed locally and are never uploaded to a server. VaultSweep does not collect analytics or require an account.
Requirements:
Install dependencies:
npm install
Run development build:
npm run dev
Run tests:
npm run test
Build the plugin:
npm run build
The production build generates:
main.js
If you enjoy VaultSweep and want to support future development:
MIT License