Originally published at: Five Solutions for Pasting Plain Text on a Mac - TidBITS
Most of the time, when you copy and paste text, the original formatting is carried over. We explore a handful of methods for stripping unwanted formatting so you get just the text.
Several years ago, I used a free App called Plain Clip to strip all formatting from copied text. It worked well for my needs then, but it hasnāt been updated since then.
I didnāt test it on my new M1 Mac with Monterey installed, so I am not sure if it still works.
I copied this AppleScript off the Internet years ago. The Finder says that the file creation date was March 2011. It converts the clipboard to plain text. I activate it using the Script menu. The pasting step is manual (Command-v).
set the clipboard to Ā«class ktxtĀ» of ((the clipboard as text) as record)
I have used iClip for years; it remains really useful. www.iclipapp.com
$15; fully operational trial, much more utility than just plain text but that works really well.
Donāt know how long a snippet it will accept, but Iāve found that hitting command-space and pasting the text into the Spotlight search field, then selecting it and cutting it from there before pasting into its final destination works most of the time for me.
Though, I do like @foo (Chikās) AppleScript.
Edit: @Shaminoās comment reminded me about good old TextEdit, which can convert any Rich Text to plain text.
Pasting/cutting via a non-formatted text field can work with any app that has such a field.
I frequently use my installation of GNU Emacs for this, since its edit buffer will let me paste/copy any amount of text, no matter how large it may be.
In Keyboard Maestro, clicking the menubar icon, choosing Paste then pressing shift-option causes the clipboard to convert to plain text.
Alfred!
Probably needs the Powerpack, but if you have it create a two-step workflow. First, map a hotkey (I use ā§āV). Set the action to āPass through to workflowā. Set the argument to āmacOS Clipboard Contentsā.
Connect that to a āCopy to Clipboardā action. Set the Type to āPlain Text - Match destination formatting on pasteā. Check the āAutomatically paste to front most appā and āMark item as transient in clipboardā boxes.
Iāve been using this for years and years - I didnāt write it but I canāt remember where it came from.
In Mail or Outlook paste formatted text into an unused address field (CC or BCC) then copy from there, cut and paste into the body of your email.
I have recently started using TextEdit for everything. I changed it to default to plain text. Initially I set the font to Adobeās Source Code Pro because I have found it to be lighter and much more readable than other monospaced fonts.
But recently I switched to Menlo which is much more widely available and significantly more Unicode-complete than other monospaced fonts.
I only used styled text (RTF) when I really need it, which is less often than I thought it was.
I use to use an app called TextSoap on my Mac. It worked via the Services menu and could do multiple text cleanups. For example, not just removing formatting, but also add a blank line after paragraphs, removing smart quotes and non-ascii text, remove extra spaces and returns, etc.
Iām not sure why, but I just sort of stopped using it. I think I needed to pay for an update, but most Mac programs had adopted the *paste plain text *option and you it just didnāt seem as important.
I still see itās around. I might buy it if they also offered a iOS version. Currently, I use MacVim on the Mac and IA Writer on the iPhone. MacVim is okay, but switching to use IA Writer is a pain.
Iām going with Pure Paste from here on. It does exactly what I need. Thanks for the tip.
I just use Edit > Paste and Match Style. I remapped it to a more humane key at System Preferences > Keyboard > Shortcuts > App Shortcuts > All Applications > Paste and Match Style.
(1) I second iClip as a clipboard manager that can directly paste any saved clip as formatted or plain text. It can also convert clips to plain text.
(2) PopClip can has a Paste= option for pasting as plain text. Itās a very handy App Store item by Pilotmoon.com.
If youāre a LaunchBar user, you can use its Clipboard History feature to paste plain text. Just turn on the āAs Plain Textā option and everything you paste from LaunchBarās clipboard history is pasted without formatting.
Iād suggest excluding your password manager from LaunchBarās clipboard history if you donāt want your passwords to show up there.
Iāve used Shift-Command-Option-V on the Mac for as long as I can remember. For me this is a bigger problem on the iPad. (I guess on the iPhone too but I donāt tend to do much copying and pasting between apps on the phone.) I think the only solution Iāve found is the āpaste and copy in a plain text appā approach, but thatās a lot of steps.
Iād love to see the ability to long-press āPasteā in the iPadOS pop up text menu to get an auxiliary pop up menu with the option to paste and match style. I envision it acting like long pressing a key on the on-screen keyboard.
Is there a better solution Iām not aware of?
Nice discussion - thanks for all the good ideas
I use TextEdit a lot. When thereās no (or few) hyperlinks Paste and Match Style is my main tool for the job. If there are a lot of hyperlinks I want preserved, I often plain paste, select the text, select Default from the documentās Style menu bar item (with the paragraph symbol), then, if paragraphs are not preserved, select the text and apply DEVONtechnologies free Word Serviceās āWord Service:Reformatā command from the Services Menu.
Word Service is available here under Freeware: DEVONtechnologies | Download
Pure Paste sounds like the catās meow for preserving hyperlinks, but alas, I remain using Big Sur
A few caveats about Word Service: Reformat
If the selection contains images, it removes them (yuck)
It usually fails to preserve bulleted lists
In some cases, it just doesnāt help at all
ā¦ the only example coming to mind is with text copied and plain pasted from YouTube video descriptions using Firefox (notoriously abysmal how it implements copy and paste). Gratefully, recent versions of Safari do a bang up job with YTās text when plain pasted, then Styled as Default in TextEdit
As an aside, Word Service also has many other nice tools, among which is āInitial Caps of Sentencesā which I find nowhere else (Iāve lobbied Apple a couple of times to add that to the Transformations contextual menu). I also find their āStatisticsā tool especially helpful for counting characters when composing text for online form and āChatā fields with limited character allowances (e.g., Appleās App Feedback comment field)
This is also possible with Typinator. I use the abbreviation āvvā for that - so I donāt even need a modifier key.
You can find a short description about this feature as well as many further Typinator power tips here:
https://www.ergonis.com/products/typinator/using/powertips/convert-clipboard-to-plain-text.html
And ā¦
ā¦ Typinator does NOT require a subscription to do that
@chrei I love your products. Iāve used Typinator for years and never realized it could do such tricks. Shows the bad habits one can get into when they fail to fully explore a powerful program. Thank you for the link - now I will actually sit down and do my homework to tap the full ability of a very excellent program!!
Has anyone tried the free āPaste Plain Textā from the App Store? From a company called FipLab?
Iām a little leery of apps I donāt know that have access to the clipboard - but I guess every app has access to the clipboard so maybe thatās being overly paranoid. (I mean, good to be careful about any app you put on your computer, but the fact that it manipulates the clipboard maybe isnāt really a special security issue.)