Ready, runs in your browser
0 chars · 0 words
bytes uploaded
0
steps: paste, run, copy
3
usage limit
None

Claude strip HTML

What the Claude strip HTML tool gives you back

You have markup and you want the words. The Claude strip HTML tool removes every tag, deletes script and style blocks along with their contents, and hands back the readable text that was in between.

It runs in your browser, so there is no upload, no length cap and no run limit. Paste a fragment or a whole document, it makes no difference to the speed.

One thing to know before you start: this is a removal pass, not a parser. It matches tags and deletes them rather than building a document and reading its structure. That is why it is instant and local, and it is also why a paragraph tag does not become a blank line. Everything on this page follows from that one design decision.

Before you run it

What happens to each part of your HTML

Run through this list once and the result will hold no surprises.

Tags and attributes
Gone. Classes, ids, hrefs, styles and data attributes leave with the tag they were on.
Link text
Stays. The words a reader saw remain, the destination does not.
Alt text
Goes. It lives in an attribute, so it leaves with the image tag.
Script and style blocks
Deleted whole. You will not find CSS or JavaScript in the output.
Text inside head elements
Stays, as plain words. A page title ends up as the first line of your result.

How it works

How to strip HTML from Claude output in three steps

Nothing to configure. There are no options on this route.

Step 1
Paste the markup, whether it came from an Artifact, a code block or a rendered page.
Step 2
Run it. Tags and script and style blocks are removed locally in one pass.
Step 3
Copy the text and scan the first line, where head content lands if you pasted a full document.

Entities

Which HTML entities get decoded, and which do not

Four are converted back to characters. The rest come through as literal text, which is the honest answer and the one most tool pages skip.

 
Becomes an ordinary space, which matters because it is the entity that most often survives a paste.
&
Becomes an ampersand.
< and >
Become angle brackets. If your source had escaped markup, this is why brackets appear in your result.
", ', ©
Not decoded. They stay exactly as written and you will need to replace them yourself.
Numeric entities
Also not decoded. Anything in the ’ style comes through unchanged.

The usual question

Do paragraphs survive stripping the HTML?

The line breaks already in your source stay. Most markup arrives with a newline after each tag, so in practice the text comes back roughly on the lines it was written on.

There is no conversion step, though. A paragraph tag does not turn into a blank line and a list item does not start a new one. Minified HTML, which has no newlines at all, comes back as one long line. Add the breaks yourself, or use the markdown formatter afterwards to tidy the spacing.

Why it matters

What leftover HTML actually breaks

Four concrete failures, all of them common.

A CMS field
Stray markup either renders as broken layout or shows your readers literal angle brackets.
A word count
Tags and attributes count as words, so a 400-word article can report as 700.
An email composer
Unclosed markup pasted into a rich-text editor can swallow everything after it.
A plain-text export
Tags survive as visible noise a reader has to look past line by line.

In practice

Who uses the Claude strip HTML tool, and when

Mostly people who asked Claude for a build and wanted the copy.

Writers and editors
Pulling the readable text out of an Artifact so it can be edited as prose.
SEO and content teams
Extracting body text from a page to check length, keyword placement or reading level.
Developers
Checking what a template actually says once the structure is gone, which is how placeholder text gets caught.
Support and ops
Turning an HTML email into something that can be pasted into a ticket without breaking it.
FAQ

Everything answered. Claude strip HTML, frequently asked

How do I strip HTML tags from Claude output?

Paste the markup above and run it. Tags are removed and the text between them comes back.

Does it remove every tag or only formatting tags?

Every tag, with its attributes, whatever it is called.

Will my paragraphs and line breaks survive?

Line breaks already in the source do. Paragraph tags are not turned into blank lines, so minified HTML returns as one line.

What happens to scripts and stylesheets?

Script and style blocks are deleted entirely, contents included. No CSS or JavaScript appears in the result.

Does it decode HTML entities?

Four of them:  , &, < and >. All other entities come through as literal text.

Why is " still in my text?

That entity is not one of the four handled here. You will need to replace it yourself.

Why did angle brackets appear in the output?

Your source contained escaped markup. Decoding < and > turns it into real brackets after stripping. Run it a second time to remove them.

Is the Claude strip HTML tool free?

Yes, with no run limit and no length cap, because it runs on your device.

Is my markup uploaded?

No. Everything happens in your browser and no request is made.

Can I paste an entire HTML page?

Yes. Check the first line of the result, because text from head elements such as the title is left behind as words.

Are links kept?

The visible link text is kept. The URL goes with the tag.

Is image alt text kept?

No. Alt text is an attribute and leaves with the tag.

Can I keep some tags and strip the rest?

No. There are no options on this route: every tag is removed.

Does it handle HTML comments?

Ordinary comments are removed. One containing a stray angle bracket can leave a fragment behind.

Does it fix broken markup?

No. It strips tags rather than parsing a document, so malformed HTML is stripped but not repaired.

Does it strip Markdown too?

No, that is the markdown stripper. Different syntax, different route.

Can I upload a file or download the result?

No. Paste in, copy out.

Does it work on markup from ChatGPT or Gemini?

Yes. It works on the markup itself, not on where it came from.

Is there an API or batch mode?

No. One document at a time on this page.

Does it work on phones?

Yes, identically in any modern mobile browser.

Is it safe for confidential markup?

Yes. Nothing is transmitted or stored, because nothing leaves your browser.