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.