HTML to Text Converter

A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call

Free HTML to text converter. Removes tags, scripts and styles, keeps paragraphs, lists and line breaks, decodes entities and can keep link addresses.

Plain text

Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.

How to use the HTML to text converter

Paste HTML into the box: a page's source code, an HTML email, a block from a website builder, or text copied out of a CMS's code view. The tool converts HTML to text instantly and shows clean, readable plain text below, ready to copy.

It does more than delete tags:

  • Paragraphs, headings and other blocks become separate paragraphs with a blank line between them.
  • Line breaks (<br>) become new lines.
  • List items become lines starting with a dash.
  • Table cells are separated by tabs, so tables paste neatly into a spreadsheet.
  • Scripts, styles, comments and other invisible code are removed completely, not left as junk text.
  • HTML entities such as &amp;, &nbsp;, &euro; and &#8364; are turned back into the characters they stand for.
  • Extra spaces are tidied.

Tick "Keep link addresses in brackets" if you want links to keep their destination: <a href="https://example.com">our menu</a> becomes "our menu (https://example.com)". Phone and email links work too.

It all runs in your browser, so HTML from private emails or unpublished pages isn't uploaded anywhere.

Why convert HTML to text?

  • Reusing content. Take the text of a web page or an old newsletter and reuse it in a document, an email or a social post.
  • Plain-text email versions. Email best practice is to send a plain-text version alongside HTML. Converting the HTML gives you a clean starting point.
  • Counting and checking. Paste the result into the word counter, readability checker or keyword density checker to analyse the real text without code getting in the way.
  • Feeding data to other tools. Spreadsheets, translation tools, CRMs and AI writing tools all work better with clean text.
  • Migrating content between platforms where formatting doesn't carry over.
  • Reading code-heavy pages or emails where the text is buried in markup.

What happens to each part of the HTML

HTML Becomes
<p>, <div>, <h1> to <h6>, <section>, <blockquote> Separate paragraphs
<br> A new line
<li> A line starting with "- "
<td>, <th> Text separated by tabs
<a href="…"> The link text, plus the address in brackets if you tick the option
<strong>, <em>, <span> and other inline tags Removed, text kept
<script>, <style>, <noscript>, <template>, <head> Removed entirely, with their contents
<!-- comments --> Removed
&amp;, &lt;, &nbsp;, &euro;, &#233; &, <, a space, €, é

Images are removed, since there's no text inside them. If you need the image descriptions, look for their alt attributes in the HTML before converting.

Getting HTML to paste

  • From a web page: right-click and choose View Page Source (or press Ctrl+U), then copy everything. For just one section, open the browser's developer tools (F12), right-click the element in the Elements panel and choose Copy, then Copy outerHTML.
  • From an email: many email apps let you view or save the original message source. Gmail has "Show original" in the message menu.
  • From a website builder or CMS: switch the editor to code or HTML view and copy.

If you only want the visible text of a page you're viewing, you can also select it and copy it directly, but you'll often pick up menus, buttons and cookie notices too. Converting the HTML of just the content section gives cleaner results.

Entities, explained

HTML uses entities to represent characters that are special in code or hard to type. Named entities look like &amp; (ampersand) or &copy; (©); numeric entities look like &#233; or &#xE9; (both é). The HTML to text converter decodes the common named entities and every numeric entity, so prices, accented names and symbols come out correctly. Unknown or misspelled entities are left exactly as they are, so nothing is silently lost.

A non-breaking space (&nbsp;) becomes an ordinary space. Website builders often scatter these through text, and they cause odd spacing and counting problems when pasted elsewhere. For any leftover spacing issues, run the result through remove extra spaces.

Writing a plain-text version of an HTML email

Most email platforms send two versions of every campaign: the designed HTML version and a plain-text version for email apps that can't or won't show HTML, and for some readers who prefer it. A plain-text version is also one of the signals spam filters look at. Many platforms generate it automatically, but the result is often messy.

To make a better one:

  1. Copy the HTML of your email (most platforms have a "view code" option).
  2. Convert HTML to text here with "Keep link addresses in brackets" ticked, so readers can still reach your links.
  3. Remove anything that only makes sense visually, such as "Click the image below" or social icon labels.
  4. Keep paragraphs short and put the most important link near the top.
  5. Paste it into your platform's plain-text field and send yourself a test.

The result reads like a normal, personal email, which is exactly what a good plain-text version should be.

Who uses an HTML to text converter

Busy content editors moving articles between two systems, marketers reusing web copy in emails, developers cleaning scraped or exported data, translators who need just the words, and anyone who copies something from a website and gets a mess of code instead of text. When you convert HTML to text this way, you keep the structure that matters (paragraphs and lists) and lose everything that doesn't.

The reverse: text to HTML

If you have plain text and need HTML for a website or an email template, use the text to HTML converter. It wraps paragraphs, converts line breaks and lists, and escapes special characters safely.

Limitations

  • The converter reads HTML text; it doesn't run JavaScript. Pages that load their content with JavaScript may show little text in their raw source. Copy the rendered HTML from developer tools instead.
  • Layout created with CSS (columns, grids, cards) can't be reproduced in plain text; content appears in the order it's written in the HTML.
  • Very unusual or broken HTML may produce some leftover symbols. A quick read-through catches them.
  • If you need to see the page's structure rather than its text, use the heading checker, which outlines its headings.

A worked example

Pasting this HTML from a café's website:

<h2>Our menu</h2>
<p>Fresh bread &amp; rye, baked daily.</p>
<ul><li>Sourdough</li><li>Seeded rye</li></ul>

The HTML to text converter returns:

Our menu

Fresh bread & rye, baked daily.

- Sourdough
- Seeded rye

The heading and paragraph are separate, the ampersand is restored, and the list keeps its shape.

Check the result once before you reuse it: tables and multi-column layouts become plain lines, so read through any part that depended on its layout to make sense, and add line breaks where two cells ran together.

Need more customers from Google?

This tool is free and runs in your browser. If your business also needs more leads or sales, Google Ads is where people search with their wallet out. That is the whole job of DeepRit: a PPC-only agency that sets up and runs Google Ads accounts so every click is accounted for. You keep full ownership of your account, get a written report every week, and can stop at any time. See our pricing or ask for a free audit.

Frequently asked questions

How do I convert HTML to plain text?

Paste the HTML into the HTML to text converter. It removes tags, scripts and styles, keeps paragraphs and lists, decodes entities, and gives you readable text to copy.

Will it keep my paragraphs and line breaks?

Yes. Block elements such as paragraphs and headings become separate paragraphs, <br> becomes a line break, and list items become lines starting with a dash.

Can I keep the links?

Yes. Tick "Keep link addresses in brackets" and each link's address is added after its text, for web, email and phone links.

Does it decode & and other entities?

Yes. Common named entities and all numeric entities are converted back to their characters. Unknown entities are left unchanged.

Is my HTML uploaded?

No. The HTML to text converter runs entirely in your browser, so private emails, client documents and unpublished pages stay on your device.

Can it convert a web page from its address?

Not directly. Paste the page's HTML source instead. This keeps everything in your browser, and it means you can also convert pages that need a login or aren't published yet.

Free PPC audit

See where your ad budget leaks.

We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.

Book a free audit call 30-minute call · Free · The audit is yours to keep