HTML to Plain Text

Remove tags from HTML and keep only the readable text.

Also called: remove HTML tags, HTML to text converter, plain text converter.

FreeNo sign-upRuns in your browser
DEVELOPER

HTML to Plain Text

Remove tags from HTML and keep only the readable text.

Runs locally in your browser
Ready. Fill in the fields above, then press Run tool.
Privacy note: this tool runs in your browser, so the text you enter stays on your device.

Find a tool

Loading tools…

Watch: how to use the HTML to Plain Text (12 seconds)

Recorded on a phone, steps written on screen, no sound. Open the video page.

About the HTML to Plain Text

Paste HTML and get only the readable text, without tags, scripts or styles. Useful when you copy from a web page’s source, an email template or a CMS and need clean text for a document, a message or SEO checks.

Paragraphs and line breaks are kept as new lines, and HTML entities such as & become normal characters. It runs in your browser.

What HTML to plain text removes

The converter extracts readable text from pasted HTML and drops tags, scripts and styles. It is useful for cleaning copied page source, email templates or CMS snippets before editing, counting words or reusing the text in a plain-text message.

Plain text does not preserve the original layout, colours, fonts or interactive elements. Links may no longer behave as links, and image-only text cannot be recovered unless it was already present as text or processed with OCR.

This is a text extraction utility, not an HTML security sanitizer. Do not use its output as a substitute for safely sanitizing untrusted HTML before inserting content into a website.

How to use the HTML to Plain Text

  1. Enter your textType or paste HTML.
  2. Press Run toolThe result appears right under the button.
  3. Copy or download the resultCopy text results with Copy output; when the tool makes a picture or file, use its Download button.

This tool works inside your browser: what you enter stays on your device.

Example

A sample input and the result the HTML to Plain Text gives for it (produced by the tool itself, not typed by hand).

HTML
<!-- page header --> <header class="top"> <h1> Welcome </h1> <p>Fresh coffee, every day.</p> </header>

Result:

Welcome

Fresh coffee, every day.

Good to know

What you need
You type or choose: HTML
Where it runs
In your browser, on your device.
Cost
Free, no sign-up.

Questions

Does it remove scripts and styles?

Yes, their contents are dropped along with the tags.

Can I convert Markdown to text?

Use Markdown to Plain Text for that.

More tools in Developer

See all Developer tools