HTML to Text

The HTML to text converter turns HTML into clean, readable plain text. Tags are stripped, entities like & and — decoded, and scripts and styles dropped, while paragraphs, headings, list bullets and numbers, tables and link URLs stay readable. Paste HTML or drop many HTML files and download the text versions as a ZIP. The HTML is parsed in your browser without running it.

Conversions

HTMLText
<h1>Title</h1>Title (or # Title)
<p>A</p><p>B</p>A ⏎⏎ B
<li>Item</li>- Item / 1. Item
<a href="/x">Link</a>Link (/x)
&amp; &mdash;& —
<script>…</script>(removed)

When to use it

  1. Make a plain-text version of an HTML email.
  2. Extract the readable text from a saved web page.
  3. Clean CMS content before pasting it elsewhere.
  4. Prepare HTML for word counts, translation or AI tools.

How to Use

  1. Paste HTML or drop HTML files.
  2. Choose how headings, lists, links and tables appear.
  3. Copy or download the text.

Features

  1. Paragraphs and line breaks preserved
  2. List bullets and numbers with nesting
  3. Optional link URLs
  4. Plain, Markdown or uppercase headings
  5. Tables with separators
  6. Scripts and styles removed
  7. Bulk files with ZIP download
  8. 100% client-side

FAQs

How do I convert HTML to plain text?

Paste the HTML and copy the result. Tags are removed and the layout is kept with line breaks.

Are links kept?

Link text is kept, and the URL can be shown in brackets after it.

What happens to scripts and styles?

They're removed completely, along with other content that isn't shown on the page.

Can I convert many HTML files?

Yes. Drop them and download the plain-text versions as a ZIP.

Is the HTML run or uploaded?

Neither. It's parsed in your browser without executing scripts.

Technical Details

The HTML is parsed with the browser's DOMParser, which builds a document without running scripts or loading images. Script, style, noscript, template, head, SVG and iframe content is removed, then the tree is walked in order. Headings, paragraphs, blockquotes, preformatted text, tables and top-level lists get a blank line around them and other block elements a single line break; <br> becomes a line break and <hr> a divider. List items are prefixed with - or their number (respecting an ol start attribute) and nested lists are indented. Table cells in a row are joined with | or a tab. Link URLs can be appended in brackets after the link text, skipping in-page anchors, javascript: links and links whose text is already the URL. Headings can be left plain, marked with Markdown #, or uppercased. Text outside <pre> has whitespace collapsed the way a browser would render it. Entities are decoded by the parser, so &amp;, &mdash; and numeric references come out as real characters.

Text Utilities

Text Utilities

  • Data Extractor
  • PII Redactor
  • Arabic Script Formatter
  • Transliteration Tool
  • Text to Emoji
  • Username Generator
  • Email Subject Line Generator
  • Offline Translator