EN
My tools

Text Cleaner

Clean pasted text in one pass: fix spaces, hidden characters and blank lines, join broken PDF lines, straighten quotes, replace dashes, strip Markdown and emoji.

A preset replaces the choices below.
Cleaned text
invisible characters removed: 1 · special spaces made normal: 1 · words rejoined at line-end hyphens: 1 · repeated spaces collapsed: 2 · line ends trimmed: 2 · empty lines removed: 2

Text is also put into Unicode normal form NFC, so an accent typed as a separate mark and a precomposed letter become the same character (CJK compatibility ideographs are left as they are).

What was changed
ChangeCount
Invisible characters removed1
Special spaces made normal1
Words rejoined at line-end hyphens1
Repeated spaces collapsed2
Line ends trimmed2
Empty lines removed2
My tools →
Advertisement

Text pasted from web pages, chat apps, PDFs and word processors carries hidden baggage: non-breaking spaces, zero-width characters, curly quotes, long dashes, Markdown asterisks, lines broken in the middle of sentences and piles of empty lines. This cleaner fixes all of that in one pass. Tick the fixes you want, or start from a preset for web and chat text, PDF text or a minimal clean-up, and see exactly what was changed.

How to use this tool

  1. Paste the messy text.
  2. Pick a preset, or keep “My choices” and tick the fixes you need.
  3. For PDF text, join broken lines and rejoin hyphenated words; for web or chat text, strip Markdown and straighten punctuation.
  4. Copy the cleaned text; the table lists every change and how many times it was made.

Formula

Order: hidden characters → special spaces → Markdown → hyphenation → line joining → quotes → dashes → emoji → repeated spaces → line trimming → empty lines

Invisible characters are zero-width spaces, word joiners, byte-order marks, soft hyphens and direction marks; a zero-width joiner inside an emoji sequence and a non-joiner between letters (needed in Persian and some Indian scripts) are kept. Line joining merges lines inside a paragraph but never a line that starts like a list item. Hyphenated words are rejoined only when a lowercase letter, a hyphen and a line break are followed by another lowercase letter, so “well-
Known” stays split. Dashes between two numbers become a plain hyphen (10–20 → 10-20). Markdown removal keeps the words and drops the symbols.

Example

Cleaned with the default choices, the sample text loses its leading and trailing spaces, two double spaces, the zero-width space after “approved.” and two of its three empty lines in a row; the non-breaking space after the dash becomes a normal space, and “bro-” / “ken” is rejoined as broken. With the web preset, Budget also loses its asterisks, “- Launch” becomes “Launch”, the curly apostrophe is straightened and the dash becomes a spaced hyphen.

Frequently asked questions

How do I remove formatting from copied text?

Pasting into this box already drops fonts, colours and links, because it is plain text. The cleaner then removes what plain text still carries: special spaces, hidden characters, Markdown symbols and inconsistent punctuation.

Why does text copied from a PDF have line breaks everywhere?

PDFs store each printed line separately, so copying gives a line break at the end of every line and hyphens where words were split. The PDF preset joins lines inside paragraphs and rejoins split words, while keeping real paragraph breaks.

Will it change my words?

No. Only spacing, line breaks, invisible characters and the punctuation and symbols you choose are changed. Letters, numbers and wording stay exactly as they were.

Last updated:

Cite or embed this tool
APA

kakaoCalc. (2026, November 8). Text Cleaner. https://kakao.mobile/tools/text-cleaner/

MLA

“Text Cleaner.” kakaoCalc, 8 Nov. 2026, kakao.mobile/tools/text-cleaner/.

Paste this code into your page. The widget runs in your visitors' browsers, shows no ads and keeps a link back to this page. Embedding terms

Advertisement