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 Contents

Richard JonesRichard Jones1k downloads

Copy or export file and folder contents in Markdown, plain text, or JSON formats.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates4

Copy or export the contents of an Obsidian file or folder in Markdown, plain text, or JSON format.

Features

  • Copy a file or an entire folder from the file menu.
  • Export the same content to a file inside the vault.
  • Keep nested folder paths when combining files.
  • Select which files to include in larger folders.
  • Filter by extension and maximum file size.
  • Use Markdown, plain text, or structured JSON output.
  • Run every action from the command palette and assign your own hotkeys.

Copy Contents works locally inside Obsidian. It does not send notes, usage data, or credentials over the network.

Privacy and clipboard access

Copy Contents accesses the system clipboard only when you explicitly choose a Copy Contents action. It writes the selected note content to the clipboard; it never reads existing clipboard content. The plugin has no network requests, analytics, or background clipboard monitoring.

Clipboard contents may be visible to your operating system's clipboard history and to other applications. Use an Export Contents action instead when you do not want note content placed on the clipboard.

Usage

Right-click a file or folder and choose a Copy Contents action. You can also open the command palette with Ctrl+P or Cmd+P and search for:

  • Copy active file contents to clipboard
  • Copy current folder contents to clipboard
  • Export active file contents to file
  • Export current folder contents to file

For a large folder, the plugin opens a selection dialog before it processes the files.

Settings

Open Settings → Copy Contents to configure:

  • Output format
  • File names and folder headings
  • Separator between files
  • Supported extensions and maximum file size
  • File-selection threshold
  • Export folder and timestamped file names

Installation

Community Plugins

Once Copy Contents is listed in the Obsidian community directory:

  1. Open Settings → Community plugins → Browse.
  2. Search for Copy Contents.
  3. Select Install, then Enable.

Manual installation

  1. Download main.js, manifest.json, and styles.css from the latest GitHub release.
  2. Put them in <vault>/.obsidian/plugins/copy-contents/.
  3. Reload Obsidian and enable Copy Contents under Community plugins.

Development

This project requires Node.js 20 or later.

npm install
npm run dev

Run all release checks with:

npm run validate

The version in package.json, manifest.json, and versions.json must match. Creating a Git tag runs the release workflow and prepares a draft GitHub release with the required Obsidian assets.

Support

Use GitHub Issues for bugs and feature requests.

License

MIT

HealthExcellent
ReviewPassed
About
Copy or export the contents of a file or entire folder to the clipboard or to a file in your vault in Markdown, plain text, or JSON. Preserve nested folder paths when combining files, pick which files to include, filter by extension and size, and run actions from the file menu, command palette, or custom hotkeys.
ExportFilesFormats
Details
Current version
1.0.3
Last updated
2 weeks ago
Created
Last year
Updates
4 releases
Downloads
1k
Compatible with
Obsidian 1.12.7+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Sponsor
Buy Me a Coffee
Author
Richard JonesRichard Jonesaccsimplify
GitHubaccsimplify
  1. Community
  2. Plugins
  3. Export
  4. Copy Contents

Related plugins

qmd as md

Edit, preview, and render Quarto (.qmd) files with executable code cells via Quarto to PDF, DOCX, HTML, or reveal.js.

Importer

Convert your data to Markdown files you can use in Obsidian. Works with Apple Notes, OneNote, Evernote, Notion, Google Keep, and many other formats.

Notebook Navigator

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

Claudian

Embeds Claude Code/Codex and other local Agents as AI collaborators in your vault.

Advanced URI

Control everything with URI.

Local REST API with MCP

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

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.

Omnisearch

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

Recent Files

Display a list of recently opened files.

Pandoc Plugin

Commands to export to Pandoc-supported formats like DOCX, ePub and PDF.