Category Archives: Text

Paste pure text in Windows


Years ago, text could only be copied in Windows between the programs as a plain text. That is, only the content, without the format. Today the situation has improved changed and in many programs now when you copy and paste the text, you do so together with the format, whatever it may be.


In my opinion, this is a really poor approach from the user experience perspective. You should use styles to control the look of your text, so the text properties should not be connected to its content. One should really move around the text, not the look. (Word actually does it pretty neatly, by moving the style rather than the look of the text. The problem however is still there if you copy & paste the text from Word to, say, Excel.)

Another problem with moving the text properties around is that sometimes it is really not what you want. Have you ever tried to copy the content of a web page and paste it into Word? You know what happens. Word tries to keep the whole structure of the web page and transfer it to your document. The problem is that web pages are formatted inherently differently than the paper documents. Adding the structure of a web page to a text document means adding numerous redundant elements, such as tables, to your document. Besides, you just wanted the content, the text.


In Google Documents with Windows + Chrome, you can now press Ctrl+Shift+V. For other OS and browsers, see here.

In MS Office, use the Paste Special command. And if you do not like using it all the time, the PureText program comes to help. It is beautifully simple, tiny, and does not require installation. You can assign a new combination for pasting text-only (such as the default Windows+V or Google-like Ctrl+Shift+V) or overrule the standard Ctrl+V. The only two drawbacks are that the program needs admin rights to be run and is not as fast as Windows own clipboard.


Set UTF-8 as default encoding in Notepad

While the majority of power users will recommend to switch from Notepad to the wonderful Notepad++ or Notepad 2, it is still useful to make the original Windows Notepad save texts in UTF-8 by default. 

First, ANSI, which is the default Notepad encoding) is outdated. There is no benefit in saving files in ANSI over saving them in UTF-8. So why not do it properly.

Second, occasionally I want to have the simplicity of Notepad and still be able to use symbols outside the ANSI standard.

So here is how to do it (solution taken from Microsoft Community; note that you need the admin rights to do it):

  1. Start Notepad, do not type anything, do File > Save As, choose UTF-8 encoding and save the file somewhere as TXTUTF-8.txt.
  2. Copy TXTUTF-8.txt to c:\windows\shellnew.
  3. Run regedit (registry editor) and navigate to HKEY_CLASSES_ROOT\.txt\ShellNew.
  4. Right click in the right window > New > “String Value” and rename it to FileName.
  5. Double click on “FileName” and put TXTUTF-8.txt into “Value data:” field and press OK.

Now the default encoding in Notepad is UTF-8.