Notepad++ itself stores plain text on disk, but the styling that frustrates writers almost always arrives on the clipboard before it ever reaches the editor: bold runs, colored fonts, heading levels, list bullets, hyperlinks, embedded tables, and inline styles shipped from a word processor, a CMS, or a web page. Stripping that styling means turning the rich-text payload into ordinary characters while keeping the words, punctuation, accents, emoji, and the line breaks the source application actually sent. Notepad++ can do some of this through Paste Special → Plain Text and through its Language menu, and a browser tool like Remove Text Formatting can do the rest from any device without opening the editor at all. The choice between them depends on whether the styling is already inside an open file, attached to the clipboard, or sitting inside a styled snippet you want to inspect character by character before pasting it back into Notepad++.

how to remove text formatting in notepad ++
How to Remove Text Formatting in Notepad++

What Counts as Text Formatting in a Clipboard Paste

When a word processor such as Microsoft Word, Google Docs, or a rich-text CMS puts content on the clipboard, it usually offers several representations at once: a text/plain version, a text/html version, an image fallback, and often an application-specific blob. The text/html layer carries the inline styling, the heading levels, the table cells, the link targets, and the list markers. The text/plain layer carries the words with whatever the source application decided to use for a line break, a tab, or a list bullet.

Notepad++ has no rich-text rendering of its own, so any styling you see after pasting came from one of two places: either the editor interpreted the text/html layer through its HTML viewer, or the styling was already baked into the document file you opened. In both cases the goal is the same: end up with a buffer that contains only the characters you intend to keep, in the order you intend to keep them, separated by the line breaks you intend to keep.

Three properties distinguish a clean plain-text result from a dirty one. First, every HTML tag, style attribute, and span wrapper has been removed or rendered as literal characters. Second, the line endings are consistent, because CRLF, CR, and LF sources all flow through the same buffer. Third, the words, punctuation, spaces, tabs, and accents are byte-for-byte identical to what the source supplied in its text/plain representation. Any tool that does not preserve the third property is changing more than the formatting.

Inside Notepad++: Built-In Ways to Strip Styling

Notepad++ has two reliable built-in paths for stripping formatting from a paste, and one path for cleaning a file that is already open.

  1. Open Notepad++ and put your cursor in the destination tab. Do not use the standard Ctrl+V shortcut, because that path can pick up the rich-text layer in some clipboard modes.
  2. Open the Edit menu and choose Paste Special → Plain Text (or click the Paste as Plain Text button on the toolbar if you have it visible). The paste will land in the buffer as ordinary text, without fonts, colors, or styles.
  3. If the file is already open and you want to clear highlighting or language-specific coloring, choose Language → N → Normal Text. This stops Notepad++ from painting syntax colors on the buffer; it does not change the characters themselves.
  4. To remove leftover color marks from past searches, use Search → Clear All Highlights, or Clear All Color Marks in older builds. These commands erase the visual markers but never delete characters from the buffer.
  5. Save the cleaned buffer as plain text using File → Save As and pick the .txt extension or the UTF-8 (without BOM) encoding so the saved file matches the on-screen characters.

These steps cover every common Notepad++ scenario: a styled clipboard paste, an open file with syntax coloring you no longer want, or a document that was opened in the wrong language mode. They do not, however, let you inspect every character before committing, and they do not normalize mixed line endings across CRLF, CR, and LF sources.

Notepad++ vs. a Browser Plain-Text Field

Each approach has clear strengths, and the right one depends on where the styled content currently lives and how much verification you want to do before pasting back.

ScenarioNotepad++ Built-In PathRemove Text Formatting Browser Tool
Styled clipboard from Word, web page, or CMSPaste Special → Plain Text, then save as UTF-8 TXTPaste into the native textarea, click Create plain text, then copy or download
Already open styled file in Notepad++Language → Normal Text, Clear All Highlights, Save As .txtOpen the file in a viewer, copy the visible text, paste into the tool
Need character-level inspection before commitLimited; relies on what the buffer displaysPreview pane shows the exact normalized string before you copy
Source uses mixed CRLF / CR / LF endingsNotepad++ preserves whatever was pastedTool normalizes CRLF and standalone CR to LF for consistency
Working on a phone, tablet, or borrowed machineRequires Notepad++ to be installedWorks in any modern browser, no install
Need a downloadable UTF-8 TXT fileManual Save As with UTF-8 chosenOne-click download named plain-text.txt

For a quick in-editor cleanup of an open file, Notepad++ alone is enough. For anything coming off the clipboard, especially from a word processor or a web page, a browser plain-text field gives you a chance to verify the result before it lands in your destination tab.

How to Strip Formatting with the Remove Text Formatting Tool

The tool follows a deliberately small five-step path. Each stage is explicit, so the result you see in the preview is the result you copy or download.

  1. Open Remove Text Formatting in any modern browser. The page has one native plain-text textarea, a Create plain text button, a Copy plain text button, and a Download TXT button. There is no upload field, no file picker, and no remote endpoint.
  2. Copy the styled content from your source application the way you normally would (Ctrl+C in Word, Cmd+C on a Mac, the Copy action on a phone). Switch to the tool and paste with Ctrl+V, Cmd+V, or your browser's paste gesture into the textarea. Because the field is a native HTML textarea, the browser supplies the text/plain clipboard representation directly; rich HTML, scripts, and embedded layout nodes are not retained.
  3. Click Create plain text. The tool validates the current value, rejects empty or malformed input, and normalizes any CRLF or standalone CR line endings to LF. Tabs, ordinary spaces, repeated spaces, blank lines, punctuation, emoji, accented letters, and other scripts are preserved exactly. Literal HTML source such as the 14 characters <b>literal</b> stays literal; the tool does not interpret or strip it.
  4. Inspect the preview pane. This is the exact string that will be copied or downloaded, so confirm that line breaks, tabs, list markers, and any literal tag characters look the way you expect for the source application you pasted from.
  5. Click Copy plain text. The browser's Clipboard API writes the preview string without an extra newline or invisible prefix. A success message appears only after the write resolves; on permission failure you get an honest manual-copy instruction rather than a silent fail. If you want a file instead, click Download TXT and the browser saves plain-text.txt with the text/plain;charset=utf-8 media type from a short-lived Blob URL that is revoked as soon as the download starts.

Once the cleaned text is on your clipboard, return to Notepad++ and use Paste Special → Plain Text to drop it into the open tab. The two paths together give you a clean in-editor result plus a verifiable, deterministic plain-text artifact you can keep.

What the Tool Preserves and What It Changes

Understanding the exact transformation matters when the result has to round-trip into Notepad++ without surprises. The only change is line-ending normalization; every other accepted code point is preserved.

Input PropertyTool BehaviorNotes
CRLF line endings (\r\n)Replaced with LF (\n)Mixed CRLF/LF sources become consistent
Standalone CR (\r)Replaced with LF (\n)Classic Mac line endings join CRLF normalization
LF line endings (\n)Preserved as LFNo change needed
Tabs, ordinary spaces, repeated spacesPreserved exactlyTool does not collapse or reflow
Blank linesPreserved exactlyNot removed or trimmed
Literal HTML such as <b>literal</b>Preserved as literal charactersNot parsed, not stripped, not interpreted
Emoji, accents, scripts (Cyrillic, Greek, CJK)Preserved exactlySubject to one-million-code-point limit
Leading and trailing whitespacePreserved exactlyTool does not trim
Empty inputRejected before outputNo partial result is returned
Malformed isolated surrogatesRejected before outputKeeps UTF-8 Blob and clipboard contract consistent
Input over 1,000,000 code pointsRejected before outputBounded for memory and validation

The clipboard write uses the standard Clipboard.writeText method described in the MDN Clipboard API, so the exact preview string is what reaches the destination application. The TXT download wraps the same string in a Blob with the text/plain;charset=utf-8 media type, so the saved bytes match the on-screen result on every platform.

When to Reach for a Different Cleanup Tool

Remove Text Formatting is a deliberately narrow tool. It is not a whitespace remover, an HTML-to-text parser, an OCR service, an emoji cleaner, or a Markdown converter, and reaching for it on the wrong job will leave you with the wrong result. If the styling is already in the buffer and you want to keep your Notepad++ workflow, Paste Special → Plain Text inside the editor is the faster path. If the styling is on the clipboard and you want character-level verification plus a downloadable UTF-8 artifact, the browser tool is the safer path. For broader cleanup such as trimming repeated words, removing blank lines, or normalizing quoted smart punctuation, a specialized tool built for that exact job will produce a more predictable result than a generic plain-text paste.

The cleanest workflow for most Notepad++ users is a two-step routine. Step one: paste the styled clipboard into the browser tool, create the plain text, and either copy or download the result. Step two: return to Notepad++, use Paste Special → Plain Text into the destination tab, and save the file as UTF-8 plain text. The tool gives you a verifiable, deterministic artifact, and Notepad++ gives you a familiar editor in which to keep working.