Online HTML to Text Converter: What It Keeps, What It Drops, and When to Use One
How an online HTML to text converter strips markup, what happens to links, tables and hidden content, and how to judge whether plain text output fits your task.
An online HTML to text converter takes markup, either pasted source or, in some tools, a page fetched from a web address, and returns only the readable words. This review explains what that conversion changes, where it helps, where it loses information, and how to check whether the output is usable for your purpose. It does not evaluate any specific named tool. No product was tested for this article, so the points below describe general behavior and what to verify yourself, not measured results.
Is converting HTML to plain text right for your task?
The conversion suits you when you need the words and not the layout. Common cases include pasting content into a field that accepts only plain text, preparing copy for a text-only email or message, counting words, reviewing wording without visual distraction, or passing text to another tool that would choke on tags. The main benefit is predictability: plain text carries no hidden styling, scripts or markup, so it behaves the same way wherever you paste it.
The decisive tradeoff is lost structure. Headings become ordinary lines, emphasis disappears, link destinations are usually dropped, and tables collapse into rows of loosely separated values. If your destination depends on that structure, plain text is the wrong target. Keep the HTML, or convert to a lightweight format such as Markdown that preserves headings, lists and links in readable form. Plain text is the better choice when the receiving system does not render HTML, when you want to edit or search the content without markup getting in the way, or when stray formatting would cause problems downstream.
What the conversion actually changes
An HTML to text converter changes stored characters, not just appearance. It removes tags, decodes character entities (for example, the entity for an ampersand becomes an actual ampersand), and decides how to turn block-level elements such as paragraphs, headings and list items into line breaks. Many converters also discard the contents of script and style elements, because those are code rather than readable text. How whitespace is collapsed, how lists are marked, and whether link targets are kept all vary from tool to tool.
This is a different operation from the transformations sometimes grouped with it under the label of text tools. It does not reverse characters or words, mirror glyphs, or swap letters for decorative Unicode look-alikes marketed as fonts. The letters in the output are the same code points that appeared as text in the source. Only the markup around them is removed.
Below is an illustrative example of the mechanism. It is not output captured from a particular tool, and real tools may format lists, spacing and links differently.
Input HTML:
<h2>Shipping & Returns</h2>
<p>Orders ship in <strong>two</strong> business days.</p>
<ul>
<li>Free returns</li>
<li>See <a href="...">our policy</a></li>
</ul>
<script>trackPage();</script>
Possible plain-text output:
Shipping & Returns
Orders ship in two business days.
- Free returns
- See our policy
In this example the entity is decoded, the bold tag is removed while its word stays, list items become hyphen-prefixed lines, the link keeps its visible text but loses its destination, and the script is dropped entirely. Some converters instead append the link target in brackets, number ordered lists, or keep the script text. Check those behaviors against your needs.
Source text versus what the browser shows
A converter that works on HTML source sees the characters in the markup, not the page as rendered. That gap matters in several ways:
- Text hidden with CSS, such as collapsed menus, screen-reader-only labels or hidden duplicates, can appear in the output even though it was invisible on the page.
- Text added by CSS (generated content) or by JavaScript after the page loads may be missing, because it never existed in the source.
- CSS-only presentation, such as uppercase styling, letter spacing or visual reordering in a grid or flex layout, is not reflected. The output follows source order and original letter case.
- Direction markup, such as a dir attribute or a bidirectional override element, is removed. The characters stay in their stored logical order, but mixed right-to-left and left-to-right text may display differently once that markup is gone.
Converting from a web address instead of pasted source
Some tools accept a page address and fetch the HTML themselves. That saves a step, but the tool retrieves whatever the server returns to it, which may not match what you see in your browser. Pages that build their content with JavaScript can come back nearly empty. Pages behind a login, a paywall or a consent screen may return only the gate. Content can also vary by region or device. If the extracted text looks thin or wrong, copying the rendered source from your own browser and pasting it in is a more reliable route.
| Element | Typical handling | What to check |
| Headings | Become plain lines, sometimes with blank lines around them | Whether you can still tell section breaks apart |
| Paragraphs and line breaks | Turned into line breaks or merged | Whether spacing collapses into one long block |
| Lists | Items prefixed with a hyphen, bullet or number, or just separated by lines | Whether nesting and numbering survive |
| Links | Visible text kept; destination dropped or appended | Whether you need the destinations |
| Tables | Cells flattened into lines or tab- or space-separated rows | Whether rows and columns stay distinguishable |
| Images | Removed, or replaced by their alt text | Whether meaningful alt text is kept |
| Scripts and styles | Usually discarded | Whether any code leaks into the output |
| Entities and non-breaking spaces | Decoded into characters; non-breaking spaces may stay as such or become regular spaces | Whether odd spacing breaks searches or line wrapping |
Will the result stay readable and usable after copying or sharing?
Plain text generally pastes more predictably than formatted content, because nothing beyond characters and line breaks travels with it. It is also easy to search and edit, since no tags or hidden attributes sit between words. These are general properties of plain text. How a specific app, CMS or messaging service treats pasted line breaks, tabs or non-breaking spaces was not tested here, so check your own destination with a short sample before converting a large document.
Reading order is the most common usability problem. Because output follows source order, a page laid out in columns, sidebars or cards can come out with navigation, captions or related links interleaved with the main text. Flattened tables are another weak point: without visible gridlines, values can drift away from their column headings. Read through the output once rather than assuming it matches the page.
For accessibility, plain text has one advantage and one cost. The words themselves are ordinary characters, so assistive technology can read them as normal text. Unicode-styled lettering, by contrast, is often announced poorly. The cost is lost semantics: in plain text, a screen reader cannot jump between headings, list items or table cells, because those roles no longer exist. Alt text may or may not survive conversion. If the converted text is meant for readers who rely on that navigation, keep a structured version, either the original HTML or a Markdown equivalent, alongside the plain text. Behavior with any named screen reader was not tested for this article.
How to evaluate a converter before relying on it
- Run a small sample that includes a heading, a list, a link, a table and an entity, then compare the output line by line.
- Confirm whether link destinations are kept and in what form.
- Check for leaked script or style text, especially on pages with inline code.
- Look for hidden-by-CSS content that should not be in the output, and for missing content that was loaded by JavaScript.
- Test text in your languages, including accented characters, non-Latin scripts and any right-to-left passages, to make sure nothing is garbled or reordered.
- Paste the result into your actual destination to see how line breaks and spacing behave there.
Privacy and data handling
Pasting HTML into an online converter usually sends it to someone else's server, and fetching from a page address always does. A clean interface or reassuring wording says nothing reliable about whether content is logged, stored or shared. Read the tool's stated privacy policy. If none is available, or the content is confidential, such as internal pages, customer data or unpublished drafts, use an offline method instead: a local script, a text editor's paste-as-plain-text option, or a browser's own copy of the rendered text.
Gaps in this review
No specific converter was examined, and no measurements, prices, feature lists or test results were available, so this article makes no claims about any particular tool's accuracy, speed or data practices. The handling described above reflects how HTML-to-text conversion commonly works. Individual tools differ, and the checklist is the practical way to close that gap for the tool you choose.