textscrubr
Home / Blog / Text tools

How to Fix Text Formatting After Pasting

Text tools2 min readUpdated 2026-06-24
To fix text formatting after pasting, undo and paste as plain text with Ctrl+Shift+V, or run the text through a cleaner to strip the styling, invisible characters, and odd spacing that carried over. Cleaning fixes both the visible formatting clashes and the hidden characters a plain paste leaves behind.

You paste text and the formatting is wrong: mismatched fonts, weird gaps, stray boxes, or broken spacing. Here is how to fix it and prevent it.

Why pasted formatting breaks

When you copy text, you often copy more than the words:

The destination faithfully keeps all of it, so the paste looks wrong.

The quick fix

Undo, then paste as plain text.

Plain-text paste drops the styling and usually fixes the visible clashes. But it leaves invisible characters and odd spaces inside the text, so if you still see gaps or boxes, there is more to remove.

The thorough fix

Run the text through a cleaner. textscrubr strips the invisible characters, normalizes the non-breaking and exotic spaces, fixes smart quotes and em dashes, and collapses double spaces, while keeping your real structure. Copy the clean result and paste it where it needs to go. This fixes the problems a plain-text paste cannot, because those characters live inside the text, not in the styling.

Prevent it next time

If you paste from the same source often (a chatbot, a web page, a Word doc), make cleaning a habit before the text lands anywhere that matters. Clean, then paste. It takes a few seconds and stops the formatting from breaking in the first place.

Match the destination

Scrub this text in one click

textscrubr strips the hidden characters, em dashes, and double spaces, and keeps your lists, headings, and code exactly where you put them. Free, and it runs entirely in your browser.

Clean my text free →

Frequently asked questions

How do I fix formatting after pasting text?

Undo and paste as plain text with Ctrl+Shift+V, which drops the styling. If gaps or boxes remain, run the text through a cleaner to remove the invisible characters and odd spaces that a plain paste leaves behind.

Why does my pasted text have weird gaps or boxes?

Because it carries invisible characters and non-breaking spaces that the destination cannot display or handle normally. A cleaner removes them, since they live inside the text rather than in the styling.

How do I stop formatting from breaking when I paste?

Clean the text before you paste it, especially from chatbots, web pages, and Word. Cleaning strips the styling, hidden characters, and odd spacing so the paste lands correctly.