Copy Anything to Clipboard


Copy Anything to Clipboard is the #1 WordPress plugin with 1,15,813+ downloads 🚀

You can use plugin to copy anything including:

  • Copy Blockquote
  • Copy Wishes
  • Copy Messages
  • Copy Shayari
  • Copy Offer Codes
  • Copy Special Symbols
  • Copy Code Snippets
  • Copy Hidden Content
  • and much more 🥳

You can add a copy button anywhere on your website which simply copy the content into the clipboard (📋)

You can use the plugin with two ways:

METHOD 1 – Copy with Shortcode

Use the shortcode [copy] shortcode


The zoom meeting is scheduled on data [copy]15 November 2022[/copy] please note down it.


In the above paragraph, On click on date 15 November 2022 it will copy to the clipboard.

Another example,

Hello Students,

Please save the next meeting link [copy content=""]Click to Copy Link[/copy] for next meeting.

In this example, When someone click on Click to Copy Link then the meeting URL will copy to clipboard.

Above are some common use cases.

You can use it as you want.

Read more about all shortcode options

METHOD 2 – Copy with CSS Target

This is the most useful way and is mostly used by a lot of users with this plugin

Use Case 1: How to add the copy button to Blockquote

  • Step 1 – Go to “Copy to Clipboard”
  • Step 2 – Click on the “Add New” button

See the below screenshot for reference:

You’ll see the screen something as below:

Now, Just do:

  • Step 3 – Add the selector as a blockquote
  • Step 4 – Click on “Create”


That’s it. You don’t need to do anything. If you visit the blockquote you’ll see something as below:

Read more about Copy Anything to Clipboard

🤩 FREE and Popular Copy to Clipboard Plugin Ever

Over 10,000 thousands plus active people are empowering their websites with “Copy Anything to Clipboard” – 100% compatible for all themes and plugins.

Reasons why people love the Copy Anything to Clipboard

  • Zero configuration
  • Easy to use
  • Copy with shortcode
  • Customization options
  • Quick support

Welcome for featured requests

If you have any suggestion or any featured request then don’t hesitate to contact me.

Bug reports

Bug reports for “Copy Anything to Clipboard” are welcomed in WordPress support forum.

Further reading

For more info check out the following:

Image Copyrights

Icons made by Pixel perfect from



  1. Install the Copy Anything to Clipboard plugin either via the WordPress plugin directory, or by uploading the files to your server at wp-content/plugins.


2023 年 8 月 17 日
This plugin Suites my site perfectly and Author is very much efficient to fix any issue or giving you little customisation.
2023 年 7 月 31 日 1 則留言
this plugin is simple and easy to use. great for a lot of use case scenarios. the developer also provides great support.
2022 年 12 月 25 日 1 則留言
Very basic Wordpress install, common host, thorough read of documentation. We couldn't get this to operate or create anything but confusion, but that's not a criticism of the author. It just didn't work for us, as we found the documentation totally undercooked and the encouragement to upgrade to premium more important to the author than a functional plugin. We messed with it for a half hour, accomplished nothing and deleted it.
2022 年 11 月 11 日 1 則留言
I tested this plugin and ir works great!! In addition, i’ve post a doubt and the programmer answered me very quickly!
閱讀全部 29 則使用者評論


以下人員參與了開源軟體〈Copy Anything to Clipboard〉的開發相關工作。


〈Copy Anything to Clipboard〉外掛目前已有 3 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Copy Anything to Clipboard〉外掛本地化為台灣繁體中文版


任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄



  • Improvement: Compatibility to WordPress 6.3.1.
  • Improvement: Address a reflected Cross-Site Scripting vulnerability from icon-color shortcode parameter.


  • Improvement: Avoided the HTML markup from the content shortcode parameter.
  • Improvement: Updated Freemius SDK version 2.5.10 to address a Reflected Cross-Site Scripting vulnerability via fs_request_get.


  • Improvement: Added the shortcode attribute color to set the custom color for the text. E.g. [copy content="Custom Text.." color="#2dcd78"]Copy me![/copy]
  • Improvement: Added the shortcode attribute icon-color to set the custom color for the icon. E.g. [copy content="Custom Text.." style="icon" icon-color="#9437f6"][/copy]
  • Improvement: Added the shortcode attribute style to show the icon. E.g. [copy content="Custom Text.." style="icon"][/copy]


  • Improvement: Compatibility to WordPress 6.1.1.
  • Improvement: Updated Freemius SDK wit version 2.5.3.
  • Improvement: Added the support to copy emojis from the content into the clipboard.


  • Improvement: Avoided the button copy to clipboard for Google Docs and Email format.
  • Improvement: Avoided the “Copy” text from the clipboard.


  • New: Added the Copy Format setting to copy the content for Google Docs or Email.
  • Improvement: Added filter copy_the_code_shortcode_atts for shortcode to redirect the user to another page after copying the content to the clipboard.
  • Improvement: Added the support to Trim Lines with filter copy_the_code_localize_vars.
  • Improvement: Added translation support for pt_BR language.


  • New: Added a link to easily upgrade to the premium version which was recently not easily visible.

  • Improvement: Improve the default button style.

  • Improvement: Improve the welcome message by adding the plugin name. Thanks @Andre


  • Fix: The message “You are just one step away..” is not disappearing after clicking on button. Thanks @MingHong


  • Improvement: Added the sub-menus page links into the post type screen.
  • Improvement: Removed the sub-menus Dashboard, Contact Us, Upgrade, and Support Forum.


  • New: Integrated the Freemius library for automatic updates, upgrade and for quick support.
  • Improvement: Add new dashboard admin page for Copy Anything to Clipboard.
  • Improvement: Deprecated the Shortcode admin page which is no longer used.


  • Improvement: UI improvements in the shortcode information admin page.
  • Improvement: Added the title tag support for the shortcode. So, Whenever the user hovers on shortcode text then it’ll see the title.
  • Improvement: Avoid the remove spaces support by setting false values to the parameter remove_spaces. Use filter from code snippet


  • Improvement: Keep the welcome message only for first time user activate.


  • Improvement: Added a welcome message to the user for smooth plugin onboarding.


  • Improvement: Improve the code with PHPCS fixes.


  • Improvement: Keep the tab spaces while copy to clipboard. Thanks @marius84
  • Improvement: Users can now share non-personal usage data to help us test and develop better products.


  • New: Added support to redirect user after copy to clipboard. Thanks @zecke Read more


  • Improvement: Getting multiple white spaces in Gutenberg editor.
  • Fix: The add new link was wrong which navigate to invalid page.


  • Improvement: Move the parent menus as submenu in settings menu.


  • New – Added shortcode [copy] to copy the content. E.g. [copy]12345[/copy]. Read more at


  • Improvement – Compatibility to WordPress 5.7.


  • New: Added filter copy_the_code_localize_vars to allow to copy the content as HTMl instead of text.


  • Tweak: Create a new post copy to clipboard post depends on the old user settings.
  • Deprecated: Removed the filter copy_the_code_enabled which is no more useful.
  • Deprecated: Removed the option Copy the content which is no more useful. Will add the support though filter if required.
  • New: Added custom post type support to add multiple copy to clipboard buttons with different selectors and styles.
  • New: Improve the UI with live preview.
  • New: Added the new SVG Icon button style to show the SVG icon instead of button.
  • New: Added inside and outside position support for the new style SVG Icon.
  • New: Added the new Cover style to copy the small element in which we could not add the copy button. Such as Emoji and Symbols.


  • New: Set the Copy Content As default option with text.
  • Improvements: Converted the <br> tags into the new line if the option “Copy Content As” selected as Text.
  • Improvements: Converted the <div> tags into the new line if the option “Copy Content As” selected as Text.
  • Improvements: Converted the <p> tags into the new line if the option “Copy Content As” selected as Text.
  • Improvements: Converted the <li> tags into the new line if the option “Copy Content As” selected as Text.
  • Improvements: Remove the white spaces and trim the content if the option “Copy Content As” selected as Text.
  • Fix: Copy the content as text works different on Chrome, Firefox and Internet Explorer browsers.


  • Fix: The <br> tag converted into the next line. Select the Text from option Copy Content As. Reported by Konrad.
  • Fix: Single level selector copies the selector in the clipboard. Reported by Seb.


  • Fix: Nested selectors was not working due to mismatch the copy button position.


  • Fix: The <br> tags was not copied as new line. Reported by @psanger.


  • Improvement: Removed unwanted code.


  • Improvement: Updated Freemius SDK library with version 2.3.2.
  • Improvement: Added the latest new section.
  • Fix: The submit button is not visible form the settings page. Reported by Nicolas Tizio


  • New: Added General & Style tabs.


  • Improvement: Added WordPress 5.4 compatibility.


  • New: Added filter copy_the_code_default_page_settings to change the default page settings.
  • New: Added filter copy_the_code_page_settings to change the page settings.


  • New: Added option ‘Button Text’ to set the default button text. Default ‘Copy’.
  • New: Added option ‘Button Copy Text’ to set the button text after click on copy. Default ‘Copied!’.
  • New: Added option ‘Button Title’ to set the default button title which appear on hover on button. Default ‘Copy to Clipboard’.
  • New: Added option ‘Button Position’ to set the button position. Inside or outside the selector. Default ‘inside’.
  • Improvement: Added support for Internet Explorer devices. Reported by @rambo3000


  • Fix: Added support for IOS devices. Reported by @radiocure1


  • New: Added option ‘Copy Content As’ to copy the content as either HTML or Text.


  • Improvement: Updated the strings and compatibility for WordPress 5.0.


  • New: Added support, contact links.


  • New: Added settings page for customizing the plugin. Added option selector to set the JS selector. Default its <pre> html tag.


  • Fix: Removed Copy button markup from the copied content from the clipboard.


  • Initial release.