Copy File to Clipboard
approvedby Xabi
Right-click any file in the file explorer to copy it to the clipboard. Configurable: text files as text or raw file, images as PNG or raw file. - This plugin has not been manually reviewed by Obsidian staff.
Copy File to Clipboard
Copy any file in your vault straight from the file explorer's right-click menu: text files as text, images as PNG, and everything else as a raw file you can paste like in Windows Explorer.
Features
- Adds a Copy to clipboard option to the right-click menu of every file in the file explorer.
- Text files (
md,txt,json,csv, code files, ...) are copied as text, ready to paste into any editor or chat. - Images (
png,jpg,gif,webp,svg, ...) are copied as real image data (converted to PNG), ready to paste into documents, emails, or image editors. - Any other file (PDFs, binaries, ...) is placed on the clipboard as an actual file, just like pressing Ctrl+C on a file in Windows Explorer, so you can paste it into a folder, an email, or a chat app.
- Configurable per file type: choose content or raw file for text, PNG or raw file for images.
Usage
Right-click a file in the file explorer, click Copy to clipboard, and paste anywhere.
Settings
All behavior is configurable from Settings → Copy File to Clipboard:
| File type | Options |
|---|---|
| Text files | Copy text content (default), or copy the raw file |
| Images | Copy as PNG image (default), or copy the raw file |
"Copy raw file" places the file itself on the clipboard, like copying it in Windows Explorer.
Notes
- Desktop only. The raw file copy uses PowerShell, so it currently requires Windows.
Support
Found a bug or have a feature request? Open an issue on GitHub.
License
MIT
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.