HTML to Text
Extract the words from a page or email template without the markup.
How HTML to Text works
Strip HTML tags and scripts to leave readable plain text with paragraphs intact. Everything happens inside this page: the tool reads your input, runs the calculation or conversion locally, and hands the result back to you. Nothing is transmitted, because there is no backend to transmit it to.
That design choice is deliberate. Most free tool sites upload your files to a server, process them there, and quietly keep a copy. Toolcin cannot do that — the site is a set of static files. If your connection dropped the moment the page finished loading, every tool would still work.
What is stripped and what is kept
Script and style blocks are removed entirely — not just their tags — because their contents are not text a reader ever sees. Block elements such as paragraphs, headings and list items become line breaks, and <br> becomes a newline.
Inline tags like <b> and <a> are dropped but their text remains, so the sentence survives without the markup.
Why not a regex
The HTML is parsed into a DOM before extraction. A regular expression that strips tags also strips a less-than sign in prose, and it cannot tell a <p> from a <script>. Parsing gets both right.
The trade is that a malformed document may be repaired by the parser in ways you did not expect — an unclosed tag can swallow the rest of the page.
| Input | Output |
|---|---|
| <h1>Title</h1> | Title |
| <p>a<br>b</p> | a / b on two lines |
| <script>x()</script> | (removed) |
| <b>bold</b> | bold |
Tables and entities
Cells are separated by whitespace rather than aligned columns, so a table loses its structure and keeps its values. Named entities such as & are decoded to the character they represent.
If you need the table structure, convert to CSV instead — that preserves rows and columns.
Good to know
- Works offline once loaded, including on flights and in locked-down networks.
- No file size limit beyond your device's own memory.
- Free to use, with no account and no usage counter.
- Results are produced locally, so they are not logged or shared with anyone.
Questions
Are scripts removed?
Yes, script and style contents are dropped entirely.
Are line breaks kept?
Paragraph and heading boundaries become blank lines.
Does it keep links?
The link text stays; the href is dropped.
Can it extract just one element?
No, the whole document is converted.
Keep going
More files tools
Text to HTML
Convert plain text into paragraphs and line breaks, with HTML characters escaped.
Open toolText to JSON Array
Turn a list of lines into a valid JSON array of strings. One line becomes one array element, with quotes and escapes handled for you.
Open toolCSV Column Extract
Extract a single column from CSV data by position and delimiter. Useful when a spreadsheet export has twenty columns and you need one.
Open toolSQL Formatter
Re-indent SQL by putting each major clause on its own line. SELECT, FROM, WHERE, JOIN, GROUP BY and ORDER BY each start a new line.
Open toolJSON to TypeScript
Turn a JSON sample into TypeScript interfaces automatically. Nested objects become their own interface, and arrays become typed arrays.
Open toolMerge PDF
Combine several PDFs into one document in the order you choose. Pages, bookmarks and text stay intact.
Open tool