---
title: "HTML to Text Converter — Strip HTML Tags Online | fbuff"
description: "Paste HTML and instantly extract clean plain text. Removes scripts, styles and tags. Preserve line breaks and link URLs. Free, no upload to server."
url: https://fbuff.com/tools/html-text-extractor/
---

Text

# HTML Text Extractor

Paste raw HTML and instantly extract clean plain text. Removes scripts, styles and tags. Preserve line breaks and link URLs. 100% client-side.

OPTIONS

PRESERVE LINE BREAKS

REMOVE EXTRA WHITESPACE

INCLUDE ALT TEXT

INCLUDE LINK URLS

HTML INPUT

PLAIN TEXT OUTPUT

0CHARS0WORDS0LINES

All processing happens in your browser. No HTML is sent to any server.

![A code card with angle brackets passing through a funnel into a clean page of text lines](https://fbuff.com/content/html-text-extractor.webp)

## How to use

1. Paste HTML into the HTML INPUT box, or click UPLOAD to open an .html file.
2. The plain text appears at once in the output, with scripts, styles and all tags removed.
3. Choose the options you need: PRESERVE LINE BREAKS keeps paragraphs and list items on their own lines, REMOVE EXTRA WHITESPACE collapses spaces and blank lines, INCLUDE ALT TEXT keeps image descriptions, and INCLUDE LINK URLS writes each link's address after its text.
4. Click COPY, or DOWNLOAD to save the result as a .txt file.

## Convert HTML to plain text

Paste the source of a web page, an HTML email or a block copied from a CMS, and get just the readable words. It is useful for counting words in a page, pasting an article into a plain-text field, checking what a screen reader or search engine sees, or preparing text for translation.

Block elements such as paragraphs, headings, list items and table rows start a new line, so the text keeps its structure. Inline tags such as bold and links simply disappear and leave their words in place.

## Example

With PRESERVE LINE BREAKS and INCLUDE LINK URLS ticked:

| HTML | Plain text |
| --- | --- |
| <h1>Opening hours</h1> | Opening hours |
| <p>Open <b>Mon–Fri</b>, 9–5.</p> | Open Mon–Fri, 9–5. |
| <a href="https://example.com/map">Map</a> | Map (https://example.com/map) |
| <script>track()</script> | (removed) |

## What gets removed

Scripts, styles and HTML comments are dropped entirely, along with every tag and attribute. Character codes such as &amp; and &nbsp; are turned back into the characters they stand for. Links that start with javascript: are never written out, even with INCLUDE LINK URLS ticked.

The HTML is read by your browser's own parser but never displayed or run, so scripts inside it cannot execute and images inside it are not downloaded.

## Frequently asked questions

### How do I strip HTML tags from text?

Paste the HTML here and copy the output. Every tag is removed and only the visible text is kept.

### Can I extract text from a whole web page?

Yes. In your browser, right-click the page and choose View page source, select everything, copy it and paste it here. Menus and footers are included, so trim the parts you don't need.

### Does it work with HTML emails?

Yes. Email HTML is full of tables and inline styles; the tool ignores them and keeps the text, with each table row on its own line.

### How do I keep the link addresses?

Tick INCLUDE LINK URLS. Each link is written as its text followed by the address in brackets, for example Map (https://example.com/map), so nothing is lost when you paste the text somewhere without links.

### Is my HTML sent anywhere?

No. Everything is processed in your browser and nothing is uploaded.

Found a problem or have an idea? [Report a problem](https://fbuff.com/contact/?tool=html-text-extractor)

Share

## You might also like

- - [Pipe Delimiter Data Splitter Split and filter data columns using a pipe delimiter. Extract information quickly and format accounts easily.](https://fbuff.com/tools/pipe-data-splitter/)
- - [Text Diff Checker Paste two texts and instantly see word-level differences highlighted.](https://fbuff.com/tools/text-diff/)
- - [String Case Converter Convert text to UPPERCASE, lowercase, camelCase, snake_case, kebab-case, PascalCase, and Title Case, with optional accent removal.](https://fbuff.com/tools/case-converter/)
- - [Lorem Ipsum Generator Generate Lorem Ipsum placeholder text by paragraphs, sentences, or words. Copy instantly. 100% client-side.](https://fbuff.com/tools/lorem-ipsum/)
- - [Text Reverser Reverse text characters, word order, or line order. Flip text upside down with Unicode. 100% client-side.](https://fbuff.com/tools/text-reverser/)
- - [Readability Score Flesch-Kincaid reading ease, grade level, word count, and reading time.](https://fbuff.com/tools/readability-score/)
- - [Word Counter Count words, characters, sentences, and analyze text statistics.](https://fbuff.com/tools/word-counter/)
- - [Text Sorter & Deduplicator Sort, deduplicate, shuffle lines and compare two lists by exact match or substring. 100% client-side.](https://fbuff.com/tools/text-sorter/)
- - [Base64 Encoder Decoder Encode and decode Base64 text locally in your browser.](https://fbuff.com/tools/base64-encoder-decoder/)
- - [MD5 Encoder Generate MD5 hashes from text locally in your browser.](https://fbuff.com/tools/md5-encoder/)
