User:Anne drew/CopyPlainText
Appearance
| Description | Adds a "Copy plain text" link to the Tools menu to copy a clean, unformatted version of the current article. |
|---|---|
| Author | Anne drew |
| Updated | November 13, 2025 (23 days ago) |
| Source | User:Anne drew/CopyPlainText.js |
CopyPlainText provides a one-click way to copy the plain text of a Wikipedia article, ready for use in other applications. It adds a link named "Copy plain text" to your "Tools" menu.
When you click the "Copy plain text" link, the script will:
- Get the text of the article you are currently viewing.
- Clean it up by removing post-article sections like "See also", "Notes", and "References".
- Convert wikitext headings into simple Markdown-style headings (e.g.,
## Heading). - Copy this clean article text directly to your clipboard.
The link will briefly change to "Copying..." and then "Copied!" to confirm the text is on your clipboard. This is useful for quickly pasting a clean, readable version of an article into an email, word processor, or note-taking app.
CopyPlainText source • Feedback
Installation
[edit]- Go to your common JavaScript and paste in the following line:
{{subst:iusc|User:Anne drew/CopyPlainText.js}}
- Save the page.