Text · Made a little simpler

HTML Strip Tags

Strip HTML tags to text. Keep or decode entities, control whitespace and block breaks, and download the result without rendering markup.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device
Output options

Only plain text is shown and downloaded. The whitespace controls affect ASCII spaces and line endings. Keep script and style contents to include them as text.

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

HTML Strip Tags: how to use it

  1. Paste HTML source, open a UTF-8 file, or load the field-note example.
  2. Choose how to handle entity spelling, block breaks, ASCII whitespace, and script and style contents.
  3. Select Strip tags, inspect the plain text, and copy or download it.

Limits and notes

Use up to 250,000 UTF-16 code units of HTML. UTF-8 file imports accept up to 1 MB. The parser removes recognized tags, comments, and doctypes. Retained text follows source order and may include hidden or title text. It does not render layout or apply CSS. Block breaks and ASCII whitespace changes are optional. Decoded text and retained script/style contents remain inert.

How your privacy works →

HTML Strip Tags: common questions

Can I preserve entity spelling such as &?

Yes. Leave Decode HTML entities off to keep character references as written, including named, decimal and hexadecimal forms.

Will script and style content run in the preview?

No. If you keep those contents, they appear as plain text. Neither the source nor the result is loaded as a web page.

How do I keep original line endings?

Open the UTF-8 file and leave Collapse ASCII whitespace off. Insert block breaks may add LF at tag boundaries, so switch it off to keep only the original text line endings.

Guides