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

Content Copy

blotspotblotspot1k downloads

Copies a document as HTML or text and saves it to the clipboard.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates24

A simple Obsidian plugin to copy notes as HTML to the clipboard.

What it does

Copy as HTML

  1. Converts the Markdown content of a note to HTML (either selected text or entire document) using Obsidian's markdown renderer.
    • Should work with all other plugins that add content to your note, like DataView (please keep in mind that all css classes that are not explixitly set in the config will be removed)
  2. Cleans up the HTML from the clutter obsidian likes to add
    • Removes all atrributes from tags (a list of attributes to keep can be configured in the settings)
    • Removes all classes (a list of classes to keep can be configured in the settings)
    • Converts internal images up to a size of 128KB into base64 strings
    • Removes empty paragraphs (leftovers from comment blocks, for example)
  3. Saves the resulting HTML to the clipboard.

[!NOTE]
This plugin doesn't generate a full HTML page and I don't intend to add that feature.

Copy as Text

  1. Copies a full note without any frontmatter to the clipboard.
  2. Can be also used on partially selected text, but it will be nothing more than a normal copy.
  3. This feature is probably just for my own enjoyment, and that fine. :)

Usage

  1. Open the command palette (default is Ctrl+P or Cmd+P) and search for "Content Copy".
  2. Select Copy as HTML OR Copy as Text to save your current selection, or if nothing is selected, the full file to the clipboard.

Tested on

  • Desktop (Windows & Linux)
  • iOS
  • Android (not good at storing HTML type text in clipboard, so pasting the result into a Rich Text Editor might cause issues.)

[!TIP] On Android: Paste contents through the context menu of the text field and not through the keyboard copy option, since that method doesn't cut off the string after a certain amount of characters.

Installation

Obsidian Community

The plugin is now available in the Obsidian Community Hub.

Manually (From Github)

  1. Download the latest release from the releases page.
  2. Unzip the downloaded file.
  3. Copy the folder to your Obsidian plugins directory (usually located at .obsidian/plugins).
  4. Enable the "Copy Markdown to HTML" plugin from the Settings > Community Plugins menu in Obsidian.

API Documentation

  • Obsidian: https://github.com/obsidianmd/obsidian-api
HealthExcellent
ReviewSatisfactory
About
Copy notes as clean HTML or plain text to the clipboard. Convert selected text or whole documents to HTML using Obsidian's renderer, strip all tag attributes and classes, inline internal images as base64 (up to a certain size), remove empty paragraphs, and preserve content added by other plugins.
ExportHTMLPublishing
Details
Current version
1.2.7
Last updated
5 days ago
Created
2 years ago
Updates
24 releases
Downloads
1k
Compatible with
Obsidian 1.5.7+
Platforms
Desktop, Mobile
License
GPL-3.0
Report bugRequest featureReport plugin
Sponsor
Ko-fi
Author
blotspotblotspotblotspot
GitHubblotspot
  1. Community
  2. Plugins
  3. Export
  4. Content Copy

Related plugins

Wechat Converter

将 Markdown 转换为微信公众号排版,并支持一键发送到微信公众号(支持自定义 CSS和公众号贴图)、飞书、小红书、知乎、微博、CSDN等20+平台。

GitHub

Share as Gist

Share a note as a GitHub.com Gist.

markdown export

Export Markdown to a package, including images.

QuickShare

Securely share your notes with one click. Notes are end-to-end encrypted. No API keys or configuration required.

WordPress

Publish to WordPress.

Copy as source

Select and copy source HTML in reading view.

Live PDF Preview

Real-time PDF preview and export plugin.

Html Server

Spin up a local http server to access your vault via a web browser.

Publish to Telegram

Allows you to post notes directly to Telegram channels, groups and personal messages with different presets and advanced publishing settings.

Document Exporter

Export notes, folders, and query results into Markdown bundles, HTML documents, and print-ready exports.