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

File Master

weichen.inkweichen.ink211 downloads

Manage vault assets with self-hosted cloud storage, clipboard auto-upload, SHA-256 deduplication, zero-broken-link batch migration, and orphan cleanup.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates39

Take control of your Obsidian attachments: an all-in-one workspace combining local vault cleanup with your self-hosted file server.

简体中文 · English · Server (file-master-server) · Changelog

File Master Hub


Why File Master?

As an Obsidian vault grows, attachment management quickly gets messy:

  • Bloated vaults: screenshots, images, and videos pile up locally and slow down sync, yet you hesitate to delete anything for fear of breaking notes.
  • Duplicates and orphan files: pasting the same screenshot multiple times leaves redundant copies; deleting a note leaves unused attachments behind.
  • Publishing friction: local images don't travel well to blogs or external editors without manual re-uploading and link rewriting.
  • Painful renames: renaming a hosted file breaks every note that links to it unless you hunt down each reference by hand.

File Master brings all of this into one safe workflow: use it locally with zero server setup for deduplication, orphan cleanup, and broken-link checks—or connect your own server for WebP optimization, watermarks, vault-wide renames, and a cloud recycle bin.


Core Workflows

1. Instant Capture & Two-Way Migration

  • Smart paste & drag-and-drop: automatically save incoming images, videos, or documents locally or upload them to your server and insert the right link.
  • One-click note migration: upload every local attachment in the active note to your server, or download remote attachments back into your vault—all links are rewritten automatically.
  • Multi-format support: works across Markdown, Canvas, and Excalidraw files.

2. Ready to Publish: WebP & Link Copying

  • Copy full note with WebP links: copy the current note with image URLs swapped to their WebP variants without modifying your original note.
  • Flexible link copying: copy raw URLs, WebP URLs, or Markdown snippets directly from the gallery or file preview dialog, and inspect every note referencing a file.

3. Safe Vault Cleanup Without Broken Links

  • Exact SHA-256 deduplication: find byte-identical duplicates, keep one copy, and merge references across all notes automatically.
  • Orphan attachment cleanup: detect unreferenced local and remote files across your vault, with lock protection so important assets are never swept up by cleanup or deduplication.
  • Broken-link health check: scan your vault for dangling [[wikilink]]s, missing local embeds, and HTTP 404 remote links—grouped by note with inline hover previews that scroll straight to the line without leaving the modal.
  • Vault analytics: view local vs. remote attachment counts, storage usage, and largest files at a glance.

4. Vault-Wide Server File Renames

  • Before renaming a file on the server, File Master scans affected Markdown, Canvas, and Excalidraw documents and lists every matching link with hover preview and one-click jump to line.
  • Committing the rename updates all note references automatically while the server keeps an alias grace period for old URLs so external posts don't immediately 404. Renamed target filenames remain permanently reserved on the server even after deletion to prevent future uploads from hijacking historic external links.

5. Preview, Insert, and Recover Anytime

  • Gallery & desktop sidebar: filter by directory, type, search query, and sort order; zoom images, toggle Original/WebP, and insert directly into the active editor.
  • Server recycle bin: deleted server files go to the recycle bin first so you can restore mistakes or purge them permanently.

Local-Only vs. With Server

Capability Local-Only (No Server) With file-master-server
Paste / drop attachment handling ✅ ✅
Exact SHA-256 duplicate merge ✅ ✅
Orphan scan & safe cleanup ✅ ✅
Broken-link health check ✅ ✅
Vault attachment analytics ✅ ✅
Auto upload, WebP optimization & watermarks — ✅
Vault-wide remote rename (with alias grace period) — ✅
Cloud gallery, sidebar browser & recycle bin — ✅

Safe by Design & Cross-Platform

  • Pre-deletion reference safety gate: re-checks live note contents before deleting or merging, blocking deletion if a reference still exists or a note changed mid-operation.
  • Resumable checkpoints & operation logs: batch migrations and renames journal progress so interrupted jobs can recover cleanly.
  • Desktop & mobile: supports English and Simplified Chinese and adapts to your Obsidian light/dark theme.

Installation

Option 1: With BRAT (Recommended)

  1. Install and enable BRAT from Obsidian Community Plugins.
  2. Add https://github.com/weichen-ink/file-master in BRAT.
  3. Enable File Master in Settings → Community Plugins.

Option 2: Manual Installation

  1. Download main.js, manifest.json, and styles.css from Releases.
  2. Copy them into your vault's .obsidian/plugins/file-master/ folder.
  3. Reload Obsidian and enable File Master in Community Plugins.

Quick Start

  1. Click the File Master ribbon icon to open the Hub (or use the command palette).
  2. Local cleanup right away: run Duplicate Merge, Orphan Cleanup, Broken Link Check, or Vault Analytics with no server required.
  3. Connect your own server (optional):
    • Deploy the backend using the file-master-server guide.
    • Enable the server connection in plugin settings and enter your site URL plus the API token from the server's Site settings.
    • Click Test Connection to start uploading and browsing server files.

Note: Plugin 1.2.9+ requires File Master Server 1.2.8 or later (and vice versa). On mobile, use a server URL reachable from your phone rather than localhost.


Changelog · Report an issue · MIT license

HealthExcellent
ReviewPassed
About
Offload attachments to a self-hosted media hub and rewrite Markdown and Canvas links to prevent broken links during migrations or cleanup. Detect duplicates with SHA-256 instant upload, deduplicate across vaults, scan link health and orphan attachments, and run safe batch migrations with automated safety verification.
AttachmentsLinks
Details
Current version
1.2.9
Last updated
Last week
Created
Last month
Updates
39 releases
Downloads
211
Compatible with
Obsidian 1.0.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
weichen.inkweichen.inkweichen-ink
weichen.ink/
GitHubweichen-ink
youtube.com
Xweichen_ink
  1. Community
  2. Plugins
  3. Attachments
  4. File Master

Related plugins

Custom Attachment Location

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

Consistent Attachments and Links

Move note attachments and update links automatically.

Better Paste

Removes tracking from links, fetches page titles, and cleans up pasted text from AI chats, terminals and PDF documents.

Excalidraw

Visual PKM powerhouse. Create and edit Excalidraw drawings.

ExcaliBrain

An interactive, structured mind-map of your Obsidian 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.

Breadcrumbs

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

Advanced URI

Control everything with URI.

Share Note

Instantly share/publish a note, with the full theme and content exactly like you see in Obsidian. Data is shared encrypted by default, and only you and the person you send it to have the key.

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.