HTML to Text — Strip Tags & Remove HTML Online Strip HTML to text or wrap text in HTML.
100% offline
Input148 chars · 6 lines
Output74 chars
74 chars
Welcome

This is HTML with an entity: café & tea.

First item

Second item

About HTML to Text — Strip Tags & Remove HTML Online

This HTML to text converter strips out the markup so you're left with clean, readable plain text. Paste a chunk of HTML — a web page snippet, a rich email body, or an exported document — and it removes the tags, decodes HTML entities like &amp; and &nbsp;, and keeps the structural line breaks from paragraphs, lists, and <br> elements intact.

It also works the other way: switch to Text → HTML to escape special characters and wrap plain text into simple paragraph markup, ready to drop into an email template or a basic web page.

Everything runs locally in your browser. Nothing you paste is uploaded or stored, which makes it safe for pasting content you'd rather not send to a server.

Features

  • Strip HTML tags down to clean, readable plain text
  • Decode named, decimal, and hex HTML entities (&amp;, &#160;, &#x00A0;)
  • Preserve block-level line breaks from <p>, <li>, and <br>
  • Reverse direction: escape and wrap plain text in <p> / <br> HTML
  • Fully offline — your content never leaves the browser

How to use

  1. Paste your HTML (or plain text) into the input pane.
  2. Choose HTML → Text to strip tags, or Text → HTML to wrap text in markup.
  3. Review the converted result in the output pane.
  4. Copy the output, or clear the input and start over.

Frequently asked questions

Does this remove all HTML tags?

Yes. Every tag is stripped, including the contents of <script> and <style> blocks. Block-level elements such as paragraphs and list items leave a line break behind so the text stays readable, and <br> tags become newlines.

Are HTML entities decoded?

They are. Named entities (&amp;, &nbsp;, &copy;), decimal references (&#160;), and hex references (&#x00A0;) are all converted back to their real characters, so the text reads naturally.

Can I convert plain text back into HTML?

Yes — switch to the Text → HTML direction. It escapes the characters that are special in HTML (&amp;, <, >, "), wraps blank-line-separated blocks in <p> tags, and turns single newlines into <br>. It is intentionally minimal, ideal for email bodies or simple pages.

Is my content sent to a server?

No. All conversion happens in your browser using plain JavaScript. Nothing you paste is uploaded, logged, or stored, so it is safe for sensitive content.

Everything runs locally in your browser — your input is never uploaded.