Skip to content
SUMILORASUMILORA

Clean up spaces and line breaks

Numbers & text

Paste text from a PDF, a Word document or an email and tidy it up. Each option is separate, so you can fix only what is wrong.

Runs in your browser

Nothing is uploaded. The work happens on your own device, so your file or text never reaches us.

About this tool

The invisible characters that break search and paste

Text copied out of a PDF or a Word document frequently carries characters that look exactly like a space and are not:

  • U+00A0 no-break space — the usual culprit
  • U+202F narrow no-break space — French thousands separators
  • U+3000 ideographic space — from CJK documents
  • U+200B zero-width space — invisible, and it breaks exact matching
  • U+FEFF byte-order mark — Excel adds one to CSV files

These are why a name you can see refuses to match in a search, and why a lookup in a spreadsheet returns nothing. Normalise Unicode spaces converts the space-like ones to ordinary spaces and deletes the zero-width ones — deletes rather than converts, since turning an invisible character into a visible space would change how the text reads.

Questions

Why does my text not match even though it looks identical?

Almost always an invisible character: a no-break space, a zero-width space, or a byte-order mark. Turn on "normalise Unicode spaces" and compare again.

How do I remove all line breaks and make one paragraph?

Turn on "remove all line breaks". Double spaces left behind are collapsed in the same pass.

Related tools