TEXT · CLEANUP

Your text, clean.

When you paste text from a PDF, Word doc or web page, you almost always get smuggled line breaks, non-breaking spaces, smart quotes and invisible characters that break forms, CSVs and databases. This tool detects them and lets you choose what to clean.

What to clean

Original text

Everything runs in your browser. Your text never leaves it.

0 characters

Clean text

0 characters

What it does

  • Remove line breaks and collapse to one paragraph
  • Collapse multiple spaces into one
  • Convert smart quotes to straight (" → ")
  • Remove invisible chars (zero-width, NBSP)
  • Trim leading/trailing whitespace
  • Toggle uppercase / lowercase / Title Case

Use cases

  • PDF-pasted text that comes broken into lines
  • CSV with NBSPs breaking your parser
  • Normalize copy before uploading to a CMS
  • Smart quotes → straight quotes for JSON or code
  • Strip zero-width chars from AI-generated text

FAQ

What are invisible characters?

Unicode code points that take up space without rendering: zero-width space (U+200B), NBSP (U+00A0), zero-width joiner (U+200D). They sneak in from word processors, web copy, and AI models.

Why aren't all spaces actually spaces?

NBSP (U+00A0) looks like a space but isn't a word separator for some systems. We convert it to a regular space.

Does it preserve other formatting?

Each transformation is opt-in. Toggle only what you need; everything else is left alone.

Does it work with other languages?

Yes. Transformations are Unicode-aware: accents, ñ, CJK and Arabic are respected.