HTML to Text Converter

HTML to text conversion strips all markup tags (<p>, <div>, <a>, etc.) from HTML documents, leaving only the visible text content. HTML entities like &amp; become &, &lt; becomes <, and &nbsp; becomes a space. Script and style blocks are removed entirely. Links can be preserved as "text (URL)" format. Useful for extracting content from web pages, cleaning email HTML, and preparing text for analysis.

Convert HTML to plain text instantly. Strip all HTML tags, decode entities, preserve links and list formatting. Extract readable text from web pages, emails, and HTML documents.

Works OfflineDark ModeNo Ads

Common HTML Entities

EntityCharacterDescription
&amp;&Ampersand
&lt;<Less than
&gt;>Greater than
&quot;"Double quote
&#39;'Single quote
&nbsp;(space)Non-breaking space
&mdash;Em dash
&ndash;En dash
&copy;©Copyright
&reg;®Registered
&trade;Trademark
&laquo;«Left guillemet
&raquo;»Right guillemet
&hellip;...Ellipsis

How to Use

  1. 1

    Paste HTML

    Paste your HTML code in the input area. Or click a preset to load example HTML (Article, Email, Table, Complex Page).

  2. 2

    Configure options

    Toggle Line Breaks (preserve paragraph/heading breaks), Links (show URLs), Lists (show bullets), and Collapse Whitespace as needed.

  3. 3

    Review plain text output

    The converted text appears instantly below. All HTML tags are stripped, entities are decoded, and formatting is applied per your options.

  4. 4

    Copy the result

    Click Copy to copy the plain text to your clipboard. Review the conversion statistics showing tags removed, entities decoded, and size reduction.

Frequently Asked Questions

How do I convert HTML to plain text?
Paste your HTML into the input field and the converter instantly strips all HTML tags, decodes entities (&amp; becomes &, &lt; becomes <), and outputs clean readable text. Toggle options to preserve line breaks, links (shown as text + URL), and list formatting.
What HTML entities are decoded?
The converter decodes all common HTML entities: &amp; (&), &lt; (<), &gt; (>), &quot; ("), &#39; ('), &nbsp; (space), &mdash; (em dash), &ndash; (en dash), &copy; (copyright), &reg; (registered), &trade; (trademark), plus numeric entities like &#169; and hex entities like &#x00A9;.
Does it remove JavaScript and CSS?
Yes. The converter removes all content within <script> and <style> tags before stripping HTML. This means embedded JavaScript code, inline styles, and CSS rules are completely removed from the output, leaving only the visible text content.
Can I preserve links when converting HTML to text?
Yes. Enable the "Preserve Links" option and anchor tags are converted to "link text (URL)" format. For example, <a href="https://example.com">Click here</a> becomes "Click here (https://example.com)". Disable it to get just the link text without URLs.
How are HTML tables converted to text?
Table cells (<td> and <th>) are separated by tabs, and rows (<tr>) are separated by newlines. This tab-separated format can be pasted directly into spreadsheets like Excel or Google Sheets. For complex table formatting, consider using a dedicated HTML table parser.
Is the HTML processed on my computer or a server?
All processing happens entirely in your browser using JavaScript. Your HTML is never sent to any server. This makes it safe for converting emails, private documents, or any content containing sensitive information.

Related Tools