What Actually Happens When You “Strip Formatting”

5 min read

“Strip formatting” is a phrase most people encounter in a right-click menu or a “paste as plain text” option, but few people know what it actually does under the hood. Understanding it makes it much easier to predict what will and won’t survive the process.

The layers being removed

When text is copied from a rich source, it typically carries several layers of hidden information beyond the visible characters:

1

HTML tags

Structural markers like <b>, <i>, <span>, or <div> that define bold, italics, or grouping.

2

Inline CSS styles

Specific style declarations attached directly to text, such as font family, font size, color, or background color.

3

Font and typography metadata

Information about which typeface, weight, and size was used, even if no explicit style tag exists.

4

Structural containers

Elements like table cells, list items, or blockquotes that describe how content is organized, not just how it looks.

Stripping formatting means removing all four of these layers and keeping only the raw characters underneath.

What survives and what doesn’t

The actual words, numbers, and punctuation always survive — that’s the entire point. What’s lost is anything that relied on those hidden layers: bold or italic emphasis, specific fonts and colors, table structure (rows/columns become plain lines), and list formatting (bullets and numbers become plain text unless manually re-added).

Why this is usually the right default, not a limitation

It’s tempting to think of formatting loss as the tool failing to preserve something valuable. In most real situations, it’s the opposite: the formatting from the original source was never meant for the destination. A font size that looked right in a Word document is almost never the font size you want in a website’s comment field. Stripping formatting resets text to a neutral state that any destination can interpret correctly, rather than forcing an unpredictable collision between two unrelated style systems.

When you might want to preserve some formatting

If bold, italics, or links matter for your specific use case, plain-text stripping isn’t the right tool — you’d want a format-preserving paste option instead, or to manually re-add the formatting you need using the destination’s own tools (like markdown syntax) after cleaning the rest.

Try it yourself

Paste any rich text into the tool below and watch every hidden layer disappear, leaving only the clean characters underneath — ready for any destination.

Strip Formatting Now