Text ToolsA little help for every day

Search by name or task, such as JSON or percentage.

Text Tools

HTML Tag Stripper: HTML to Plain Text

Strip HTML tags and get readable plain text with paragraphs, bullet points and table rows kept. Scripts and styles are removed and entities decoded.

View all tools
ResultUpdates as you type
Title

Hello world & friends …

• First item
• Second item

Visit the example site
Second line

Name	Price
Apple	5

114 characters of plain text on 12 lines.

Removed 2 script, style or other hidden elements along with their contents.

How to use HTML Tag Stripper: HTML to Plain Text

Paste HTML source and the plain text appears as you type. Choose whether to leave a blank line between paragraphs, add bullets and numbers to list items, keep link URLs and keep image alt text.

  1. Paste the HTMLPaste page source, an email template, CMS content or rich text copied as HTML.
  2. Set the text optionsKeep paragraph gaps and list bullets, and optionally add link URLs in brackets and image alt text.
  3. Copy the plain textThe note shows the character and line count and how many hidden elements were removed.

How HTML becomes plain text, with an example

Tags are removed but the structure is kept: headings and paragraphs are separated by a blank line, line breaks start a new line, list items get • or 1., 2., 3. (nested lists are indented), and table cells are separated by tabs with one row per line, so tables paste neatly into a spreadsheet. Text inside pre blocks keeps its spacing. Entities are decoded, so & becomes & and … becomes …. The sample, with a heading, a paragraph, a list, a link and a small table, becomes 114 characters of plain text on 12 lines.

Links, images and hidden content

Scripts, styles, the head section, iframes, SVG, audio, video and elements marked hidden are removed together with their contents, so no CSS or JavaScript ends up in the text; the note says how many were dropped. By default only link text is kept; tick Keep link URLs after the link text to get "Visit the example site (https://example.com)". Image alt text can be kept to preserve what images say. Unlike HTML to Markdown, the output has no formatting marks at all, which suits word counts, translation, emails and plain-text fields.

Accuracy and data handling

Before copying the output, check names, punctuation and the intended meaning against the source text. The calculation runs in your current browser; the tool code does not send the input to a processing API.

Often Used Together

Next step

FAQ

How do I convert HTML to plain text?

Paste the HTML into the box. Tags, scripts and styles are removed as you type, leaving readable text with paragraphs and lists; press Copy result.

Will paragraphs and line breaks be kept?

Yes. Paragraphs and headings are separated by a blank line (untick Blank line between paragraphs for single breaks), and each br tag starts a new line.

Can I keep the link URLs?

Yes. Tick Keep link URLs after the link text and each link is followed by its address in brackets. Links whose text is already the URL are not repeated.

What is the difference between stripping tags and converting to Markdown?

Stripping tags gives plain text with no formatting marks. HTML to Markdown keeps headings, bold text, links and tables as Markdown syntax for READMEs and docs.

More Text Tools

Related tools