HTML to Text

Paste HTML to get just the text content, with tags, scripts, and styles stripped out.

Input code
Result

Use cases

  • Extracting article text for analysis or translation
  • Preparing a plain-text version of an email template
  • Quickly checking what's hidden behind some markup

FAQ

Are line breaks preserved?

Yes. Paragraphs and headings are separated by a blank line; div, li, table rows and br start a new line; table cells are separated by a tab. Spaces and line breaks inside pre are kept.

Does any embedded JavaScript get executed?

No. The HTML is parsed in an isolated browser document: no code runs, no resources load and nothing is sent to a server. The contents of script, style and head are left out of the result.

Related tools