Skip to content
Free developer tool

HTML to text converter

This tool turns HTML into readable plain text by removing tags while keeping paragraphs, line breaks and lists. People use it to clean up copied web content, write plain-text email versions and pull text out of templates.

  • Runs in your browser
  • Free, no account needed
  • Copy or download the result

Your input

208 characters

Links

Result

Release notes

Version 2.1 is out. See the full changelog.

- Faster search
- Dark mode

The short answer

Converting HTML to text keeps what a reader sees and drops the markup. Tags are removed, scripts and styles are discarded, block elements like paragraphs and headings are separated by blank lines, list items get a dash, and entities such as   are turned into characters.

Worked exampleThe sample keeps the heading Release notes, the sentence "Version 2.1 is out. See the full changelog." and the bullets Faster search and Dark mode, while the script call track("view") and all tags are removed.

Example

Input
<h1>Release notes</h1><p>Version <b>2.1</b> is out.&nbsp;See the <a href="https://example.com/changelog">full changelog</a>.</p><ul><li>Faster search</li><li>Dark mode</li></ul><script>track("view");</script>
Result
Release notes

Version 2.1 is out. See the full changelog.

- Faster search
- Dark mode

How to use the html to text converter

  1. Paste HTML into the HTML box.
  2. Choose Links: Text only, or Text (URL).
  3. The result updates as you type (Run also works). Use Copy result or Download to save it.

How it works

Script, style, template, noscript and head content is dropped, along with comments.

Paragraphs, headings, block quotes and tables are separated by a blank line, while br, div and table rows start a new line. List items become - bullets or numbered items, and nested lists are indented.

Named entities such as &amp;, &nbsp; and &copy; and numeric references are decoded. Runs of spaces and line breaks collapse to one space, except inside pre blocks.

Table cells in a row are separated by a tab. With the URL option, links show as text (url), except page anchors and javascript: links.

This is plain text processing, not a browser, so it does not run scripts or apply CSS such as display: none.

Everything runs in your browser. Your input is not uploaded or stored. If you use Copy link, what you entered is placed in the link.

Questions and answers

Does it remove hidden text?

Only text inside script, style, template, noscript and head tags. Text hidden with CSS is still included, because styles are not applied.

Can I keep link addresses?

Yes. Choose Text (URL) in Links, and each link appears as its text followed by the address in parentheses.

Is it safe to paste untrusted HTML?

Yes. The tool never runs the HTML. It only reads it as text and returns plain text.

Is my HTML uploaded?

No. It runs in your browser, and nothing you paste is sent to a server.

Last updated November 1, 2026. Maintained by SnowRock. How our tools work

All 220 SnowRock tools