HTML to Text

Strip the tags, keep the readable layout.

Runs in your browser Instant No sign-up
Bullets
HTML
Text

Paste, type or drop a file — output appears as you type.

Waiting for input
Processed locally · nothing is uploadedProcessed locally

How to use the HTML to Text converter

  1. Paste HTML: a snippet, an email template or a full saved page. The text appears as you type.
  2. Show link URLs adds each link’s address after its text.
  3. Bullets: •, - or * in front of list items. Ordered lists keep their numbers, including a custom start.
  4. Wrap at (More options) wraps long lines for plain-text email or a terminal.
  5. Copy the text, or Download it as page.txt.

Example

The sample article becomes:

Release notes

Version 2.4 adds pipelines — read the guide (https://tidypane.dev/pipeline/).

• Faster JSON formatting
• Share links for every tool

Tool	Status
Formatter	Stable

The &mdash; entity is decoded, the link keeps its target, the table’s cells are separated by tabs and the tracking <script> is gone.

How the layout is kept

Block elements (paragraphs, headings, divs, sections, list items, table rows) start on new lines, and the bigger ones (paragraphs, headings, tables, blockquotes) get a blank line around them, the way a browser spaces them. Inside a block, whitespace collapses to single spaces just as it does on screen, so indentation in the HTML source doesn’t leak into the text. <br> is a line break, <hr> a row of dashes, images contribute their alt text in brackets, and blockquotes are prefixed with > .

Differences from copy and paste

Selecting text in a browser and copying it usually works, but the result depends on the browser: bullets go missing, table cells run together, hidden text sometimes comes along and line breaks differ between Chrome and Firefox. Converting the HTML source gives the same text every time, which matters when the text feeds a script, a test fixture or a translation file, and it works on HTML you only have as source, such as an email template or an API response.

When to use it

  • Writing the plain-text part of an HTML email.
  • Pasting web content into a ticket, chat or commit message without stray markup.
  • Getting text out of an HTML export for a word count with the Word Counter or a comparison in Text Diff.

To keep headings, emphasis and links as formatting instead, convert to Markdown with HTML to Markdown. For a single table, HTML Table to CSV keeps the rows and columns as data.

Frequently asked questions

How is this different from just removing the tags?

Removing tags joins everything into one run of text. This keeps the layout a reader expects: headings and paragraphs on their own lines with a blank line between them, list items with bullets or numbers, table rows on separate lines with cells separated by tabs, and <pre> blocks exactly as written.

What happens to links?

With Show link URLs on, a link's address follows its text in parentheses, e.g. guide (https://tidypane.dev/pipeline/). It is skipped when the text already is the URL, for in-page #anchors and for javascript: links. Turn the option off to keep only the link text.

Are HTML entities decoded?

Yes. Named entities such as &amp;, &copy; and &mdash;, numeric ones such as &#233; and hex ones such as &#x2014; are turned into the real characters, and non-breaking spaces become normal spaces.

Can I wrap the text for email or a terminal?

Yes. Under More options, Wrap at breaks long lines at 72, 80 or 100 columns, keeping the indentation of list items and the > of quotes on every wrapped line. Table rows are never wrapped, so tab-separated columns stay intact.

Does it run the page's scripts?

No. Script and style contents are dropped and never appear in the text, and nothing in the HTML is executed. The conversion happens in your browser, and the HTML is not uploaded.

Last updated