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

Copy Linked File

flutterspikeflutterspike19 downloads

Copy the vault file or local file URL behind a link or file menu item to the Windows clipboard.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

Copy Linked File is a Windows desktop plugin for Obsidian. It adds a right-click action that copies the real file behind an internal link, local file URL, embed, or file menu item to the Windows clipboard.

Use it when a note contains a file link such as:

[[paper.pdf]]
![[data.xlsx]]
[[attachments/report.docx|report]]
[spreadsheet](attachments/book.xlsx)
[slides](<file:///I:/data/Research/20260509-0900%20Meeting/20260509-0900%20JC.pptx>)

After choosing Copy linked file, paste into File Explorer, email, chat apps, or browser upload controls as if you had copied the file from Explorer.

Requirements

  • Obsidian desktop
  • Windows
  • PowerShell available as powershell.exe

The plugin is marked isDesktopOnly because it uses Node.js and Windows clipboard APIs. macOS, Linux, iOS, and Android are not supported.

Usage

Right-click one of these targets and choose Copy linked file:

  • A vault file in Obsidian's file explorer
  • An internal wikilink or embed in the editor
  • A Markdown link that points to a local file:/// URL
  • A rendered internal file link or embed when Obsidian provides the linked file menu

The plugin resolves vault targets using Obsidian's link resolver, resolves local file:/// URLs directly, then writes the target file into the Windows clipboard as a file drop list.

Privacy and security

  • No network requests
  • No telemetry
  • No account required
  • No note or attachment modifications
  • Reads only the target vault file path needed for the copy action
  • Invokes Windows PowerShell locally to write the file path into the system clipboard

The plugin encodes file paths as UTF-16LE base64 before passing them to PowerShell. This preserves paths containing spaces, commas, non-ASCII characters, and punctuation such as em dashes.

Development

Install dependencies:

npm install

Run checks:

npm test
npm run typecheck

Build the release asset:

npm run build

The release asset main.js is generated at the repository root and is intentionally ignored by git. Upload main.js and manifest.json to the GitHub release whose tag matches the manifest version.

Release checklist

  1. Update manifest.json and versions.json.
  2. Run npm test and npm run typecheck.
  3. Run npm run build.
  4. Create a GitHub release with a tag matching manifest.json version.
  5. Attach main.js and manifest.json to the release.
  6. Submit the plugin to obsidianmd/obsidian-releases.

Community plugin entry template:

{
  "id": "copy-linked-file",
  "name": "Copy Linked File",
  "author": "Ximkool",
  "description": "Copy the vault file behind an internal link or file menu item to the Windows clipboard.",
  "repo": "YOUR_GITHUB_USERNAME/obsidian-copy-linked-file"
}

License

MIT

93%
HealthExcellent
ReviewSatisfactory
About
Copy the real file behind an internal link, embed, or local file:/// URL to the Windows clipboard as a file drop list. Resolve vault links and file URLs so you can paste linked files into File Explorer, email, chat, or browser upload controls on Windows desktop.
AttachmentsFiles
Details
Current version
1.0.1
Last updated
2 weeks ago
Created
2 weeks ago
Updates
2 releases
Downloads
19
Compatible with
Obsidian 1.5.8+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
flutterspikeflutterspike
GitHubflutterspike
  1. Community
  2. Plugins
  3. Attachments
  4. Copy Linked File

Related plugins

Janitor

Perform cleanup tasks on your vault.

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.

Image Converter

Convert, compress, resize, annotate, markup, draw, crop, rotate, flip, align, drag-resize, rename with variables, and batch process images: WEBP, JPG, PNG, HEIC, TIF

Text Extractor

A (companion) plugin to facilitate the extraction of text from images (OCR) and PDFs.