Ready, runs in your browser
0 chars · 0 words
bytes leaving your browser
0
entities decoded, named
4
runs per day
Unlimited

The job

What the Llama strip HTML tool keeps and what it removes

The fastest way to know whether this tool fits your workflow is a list of what comes out the other side. The pass is fixed, so the answer is the same every time and you can plan around it.

Removed
Every tag, and the code inside script blocks and the CSS inside style blocks.
Kept
All text content, all line breaks and all indentation, since whitespace is never touched.
Kept unexpectedly
Text from the head of a document, including the page title, which arrives at the top of the output.
Converted
Exactly four entities:  , &, < and >. Nothing else is decoded.

Entities

The entity question, answered with the actual list

Every tool in this category handles entities differently, and most pages describe it vaguely enough that you have to test it yourself. Here is the tested behaviour, so you do not have to.

The practical consequence for an editing workflow: if your source is a CMS field that escapes quotation marks and apostrophes, you will see " and ' in the output and you will need a second pass or a find and replace to clear them. If your source is ordinary article markup, four entities is usually all it needs.

Handled
  becomes a space. &, < and > become their characters.
Left as text
", ', ©, —, ’ and every other named or numeric entity.
Over-decoded
Double-encoded markup such as < comes back as a bare angle bracket instead of as <, because the replacements run in sequence.

How to

How to strip HTML from Llama text in three steps

Three actions and nothing to configure. Your original stays in the input box, so a bad result costs you nothing.

Step 1
Paste the markup. A fragment or a whole saved page both work, and there is no character limit.
Step 2
Run it. The plain text fills the output box straight away.
Step 3
Scan the result for leftover entity text and, if you pasted a full document, delete the page title from the top before copying.

The pitfall it avoids

Script and style contents go with the tags

The standard failure in this category is a stripper that removes script tags and leaves the JavaScript between them. You get an article with a few hundred lines of tracking code in the middle, and in a long document it is genuinely easy to miss until someone else finds it.

Style blocks behave the same way, dumping selectors and colour values into the middle of your prose.

Both block types are removed with their contents here, before the general tag pass runs. That is a small implementation detail with a large effect on whether the output is safe to paste without reading all of it.

Known limits

Two inputs that defeat this tool

This is pattern matching, not document parsing, and two inputs break it in a predictable way. Neither is common in published article markup, and both are worth a look if you are pasting hand-written HTML.

Angle bracket in an attribute
Markup like <a title="a > b" href="#"> ends the tag match early, and the rest of the attribute text appears in your output.
Angle bracket in a comment
A comment containing a > leaks its remainder the same way.
Broken markup
Unclosed tags and bad nesting are not repaired. Anything the pattern does not read as a tag is treated as text.
What to do
For those sources, read the output rather than copying it blind. For ordinary content HTML, the pass is clean.

Structure

Line breaks are kept and there is no toggle

Competing tools offer a keep-line-breaks checkbox. This one has no options, and line breaks are always kept, because the pass removes tags and never touches whitespace.

That means a source with markup on its own indented lines produces output with those same blank lines and that same indentation. If you want the result compacted afterwards, that is a separate whitespace pass rather than a setting here.

Workflow

Where stripping HTML fits before a model run

Searches that combine a model name with stripping tags usually come from one task: turning a saved web page into clean input. Markup adds length without adding meaning, and the tags say nothing useful about the prose you want summarised.

Stripping first is the cheap version of that step. It will not select the article out of a page for you, so a full document still arrives with navigation text, footer links and the page title attached as plain words. Paste the region you want rather than the whole file and the output is much closer to usable.

In practice

Who uses the Llama strip HTML tool, and when

Editors pulling body copy out of a CMS field that stores raw markup. Support teams reducing an email template to its words before rewriting it. People preparing a saved article as plain text input.

It is the right tool when the markup is disposable. It is the wrong tool when structure matters, because nothing here turns tags into headings, lists or links. Removal is the whole feature.

FAQ

Everything answered. Working with the Llama strip HTML tool

How do I strip HTML from Llama text?

Paste the markup, run the tool, copy the plain text. There is nothing to configure.

Is the Llama strip HTML tool free?

Yes, with no account and no cap on how often you use it.

Does my text leave my browser?

No. The pass runs locally in the page, so nothing is uploaded or stored.

Does it remove every tag?

Yes. Every tag is removed and the text inside it is kept.

Do line breaks survive?

Always. Whitespace is never modified, so every newline in your source is still in the output.

Can I turn line break preservation off?

No. There are no options at all on this tool. It is a fixed pass.

Which HTML entities are decoded?

Four: &nbsp;, &amp;, &lt; and &gt;. Everything else is returned as written.

Why is &#39; still showing in my result?

Numeric entities are not decoded here. Neither is &quot;. A find and replace afterwards is the quickest fix.

Is JavaScript removed from a pasted page?

Yes. Script blocks are removed with their contents, so no code is left in the text.

What about CSS?

Style blocks are removed with their contents too, before the general tag pass.

Why is my page title at the top of the output?

Head content is not treated separately, so the title text survives the tag removal and lands first in the result.

Why did an attribute leak into my text?

An angle bracket inside an attribute value ends the tag match early. It is the known limit of a pattern-based stripper.

Are comments removed?

Usually. A comment containing an angle bracket can leave part of itself behind.

Does it fix broken HTML?

No. It does not parse or repair a document, so unclosed tags and bad nesting pass through as text.

Is there a length limit?

No. The input has no cap and there is no request size to hit, since the work is local.

Can I keep certain tags?

No. There is no whitelist. The pass removes everything that looks like a tag.

Can I upload or download a file?

No. It takes pasted text and gives back pasted text.

Does it convert HTML into Markdown?

No. It strips markup rather than translating it, so a heading becomes a plain line.

Does it work on mobile?

Yes. Two text boxes in a web page, nothing to install.

Is it specific to Llama output?

No. The same pass applies to any input. The name reflects the text people usually bring to it.

Is there an API or batch mode?

No public API and no batch upload. It is a single paste-and-run tool.

Can I undo a run?

Your original is still in the input box, so copy it back from there if the result is not what you wanted.