Copy as Markdown Button – Download Markdown
Adds a button to copy markdown, download, and view post as Markdown format. Supports shortcode, Gutenberg block and .md.txt endpoint.
Use with caution
Copy as Markdown Button works, but test it on a staging site before relying on it in 2026. Is rated 5/5 and was last updated 3 months ago, and scores 61/100 on our health check.
- Tested with the latest WordPress (7.1)
- Small user base (<10 active installs)
- Very few reviews so far
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Copy as Markdown Button stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| button | >100 |
| content | >100 |
| copy | >100 |
| export | >100 |
| markdown | #56 |
Rating breakdown
★★★★★★★★★★ 5 from 1 reviews
About Copy as Markdown Button
From the official readme · v1.0.3Description
Copy as Markdown Button lets your visitors copy any post or page content as clean, well-structured Markdown with a single click. It handles everything from headings and tables to code blocks and nested lists – no extra tools or dependencies required.
Placement & Auto-injection
- Automatically injects the button before or after the content on any combination of post types (posts, pages, and custom post types)
- Shortcode
[copy_as_markdown]for manual placement in any post, page, or widget - Gutenberg block available in the Widgets category – place it anywhere in the block editor with per-block overrides for button text, size, and content selector
- Exclude specific posts or pages from auto-injection by entering their IDs – shortcode and block placements are unaffected
Button Customisation
- Choose button size: Small, Medium, or Large
- Set custom background, text, and hover colours via colour pickers
- Adjust corner radius from 0 px (square) to 50 px (pill)
- Show or hide the copy icon alongside the button label
- Customise the button label (default: “Copy as Markdown”) and the success confirmation text (default: “Copied!”)
- Live preview in the settings panel updates instantly as you change style options
Content Control
- Optionally prepend the post title as a Markdown H1 heading
- Custom CSS selector to target a specific page element instead of the auto-detected content area
- Exclude any elements from the Markdown output using CSS selectors (one per line) – useful for stripping ads, share buttons, comment sections, and related posts
- Per-shortcode overrides for button text, size, content selector, and download button visibility
Download Button
- Optional dropdown “Download as .md” button that saves the converted Markdown as a
.mdfile directly from the browser, named after the post slug - Appears alongside the copy button in a split-button dropdown
- Can be force-enabled or force-disabled per shortcode instance using the
downloadattribute
Markdown URL Endpoint
- Enable a
.md.txtURL endpoint so any post or page can be viewed as plain-text Markdown by appending.md.txtto its URL (e.g.yoursite.com/your-post-slug.md.txt) - The server converts the post HTML to Markdown and serves it as
text/plain– useful for programmatic access, LLM ingestion, and content pipelines - Works with Elementor pages by using Elementor’s own renderer when available
- Optional “View as Markdown” link in the button dropdown opens the plain-text endpoint in a new tab
- Customisable link label for the “View as Markdown” item
HTML-to-Markdown Conversion
The converter handles a wide range of HTML elements cleanly:
- Headings (H1–H6), paragraphs, line breaks, and horizontal rules
- Bold (
**), italic (*), and strikethrough (~~) inline formatting - Hyperlinks with optional title attributes; images with alt text and titles
- Fenced code blocks with language detection from the
language-*CSS class - Inline code with backtick escaping
- Blockquotes with proper
>prefixing on every line - Ordered and unordered lists with full nested list support
- Tables converted to GitHub-Flavored Markdown pipe tables
- Figures with italicised captions
- YouTube iframe embeds converted to
[Video](url)Markdown links - Scripts, styles, navigation, and form elements are automatically stripped
Accessibility & Performance
- ARIA labels,
role="status"live region for screen-reader announcements after copy - Keyboard-navigable dropdown with
aria-expandedandrole="menu"semantics - Frontend CSS and JavaScript are only loaded on pages where the button will actually appear
Installation
- Upload the plugin folder to the
/wp-content/plugins/directory, or install the plugin through the WordPress Plugins screen directly. - Activate the plugin through the Plugins screen in WordPress.
- Go to Settings > Copy as Markdown to configure where and how the button appears.
Changelog
Adds a download button, a plain-text Markdown URL endpoint, YouTube embed support, and per-post exclusion by ID. After upgrading and enabling the endpoint, visit Settings > Permalinks once to flush rewrite rules.
1.0.3
- Minor tweaks to the modal.
1.0.2
- Added optional Download button that saves post content as a
.mdfile directly from the browser. - Added
.md.txtURL endpoint – append.md.txtto any post/page URL to view it as plain-text Markdown. - Added “View as Markdown” dropdown link that opens the
.md.txtendpoint in a new tab. - Added YouTube iframe support – embeds are converted to
[Video](url)Markdown links. - Added Exclude by Post ID setting to suppress auto-injection on specific posts or pages.
- Improved split-button dropdown UI for copy, download, and view actions.
1.0.1
- Fixed plugin review issues.
1.0.0
- Initial release.
Screenshots
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Copy as Markdown Button alternatives
All button plugins →FAQ
Copy as Markdown Button: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Copy as Markdown Button free?
Yes. Copy as Markdown Button is free to download and use from the official WordPress.org plugin directory.
Is Copy as Markdown Button safe to use in 2026?
Copy as Markdown Button works, but test it on a staging site before relying on it in 2026. Is rated 5/5 and was last updated 3 months ago, and scores 61/100 on our health check.
How many websites use Copy as Markdown Button?
Copy as Markdown Button is active on <10 WordPress websites and has been downloaded 779 times since it launched in June 2026. It was downloaded 157 times in the last 30 days.
Does Copy as Markdown Button work with WordPress 7.1?
Yes. The developer has tested Copy as Markdown Button up to WordPress 7.1.5, the latest release. It requires WordPress 6.0 or newer.
What PHP version does Copy as Markdown Button need?
Copy as Markdown Button requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Copy as Markdown Button last updated?
The latest version, 1.0.3, was released on August 24, 2026 (3 months ago).
Who makes Copy as Markdown Button?
Copy as Markdown Button is developed and maintained by Jose Varghese.
What are the best alternatives to Copy as Markdown Button?
The most popular alternatives to Copy as Markdown Button are AddQuicktag (100K+ installs), WP Edit (40K+ installs) and Forget About Shortcode Butt… (20K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
