Strip HTML - Remove HTML and formatting from text

Paste content below, and hit the button

Formatted text from Word, Google Docs, emails or web pages
0 of 20,000 characters

Remove formatting from Word, Google Docs and emails

Copy a paragraph out of Word, an email or a web page and it rarely travels alone. Fonts, colours, odd spacing and a layer of hidden markup come along with it, and they turn up the moment you paste it somewhere else.

Paste the text into the box above and click the button to unformat it. What comes back is the words and nothing else, ready for wherever they are going next.

For a line or two, your keyboard can often do the job. In most browsers and in Google Docs, Ctrl+Shift+V pastes without formatting. On a Mac, try Cmd+Shift+V, or Cmd+Option+Shift+V in Apple's own apps such as Mail, Notes and Pages. The shortcut only helps at the moment you paste, though, and it can do nothing about HTML code, where the tags are part of the text itself. That is what the box above is for.

Frequently asked questions

Does StripHTML remove all HTML tags or just the formatting?

It removes every HTML tag, along with the contents of script, style and head blocks that hold no visible text. What is left is the plain, readable text.

Will my line breaks and paragraphs survive?

Yes, as long as the Keep line breaks option is ticked. Block-level tags are turned into line breaks, so paragraphs and list items stay on separate lines. Untick it to get one continuous block of text.

Can I paste a whole web page into it?

Yes. Select the page, copy, and paste. The formatting travels as HTML, which is exactly what gets stripped, so what comes back is the readable text without the markup behind it.

Does it work on text copied from Word or Google Docs?

Yes. Pasted formatting from a word processor is HTML under the surface, and Word adds a good deal of its own markup on top. All of it is removed here, formatting included. If you want to keep the headings, lists and links and have only Word's own markup taken out, the Word HTML Cleaner does that instead.

Does Ctrl+Shift+V remove formatting?

In most places, yes. Browsers and Google Docs treat it as paste without formatting, and so does Word in Microsoft 365. Older versions of Word use the same keys to paste formatting rather than text, which is the opposite of what you were after. There, click the Paste Options button that appears after pasting and choose Keep Text Only.

Where is the clear formatting button in Word and Google Docs?

In Word it sits on the Home tab: an A with a small eraser next to it, called Clear All Formatting. In Google Docs it is under Format, then Clear formatting, or Ctrl+\ (Cmd+\ on a Mac). Both only work on the text you have selected, so select everything first if the whole document needs it.

What happens to entities like & and  ?

They are turned back into the characters they stand for: &amp; comes back as an ampersand, &nbsp; as an ordinary space. Markup you escaped on purpose survives as readable text, so &lt;div&gt; comes out as <div> rather than being removed with the real tags. If what you are pasting is Markdown rather than HTML, the Markdown to Plain Text tool is the one you want.

The tags are gone but the spacing is still a mess. What now?

Stripping tags leaves behind the whitespace that surrounded them, which is why you often get runs of spaces and stacked blank lines. Whitespace Remover collapses both in one pass.