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
Private: runs on this device

Input

208 characters

Result

Release notes

Version 2.1 is out. See the full changelog.

- Faster search
- Dark mode

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: Link text only, or Text followed by (URL).
  3. Press Run.
  4. Use Copy result or Download to save the text.

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.

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 followed by (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.

All 220 SnowRock tools