PocketPlay
中文

Text Cleaner

Clean up messy text: strip extra spaces, blank lines, HTML tags, URLs, emoji and invisible characters, and convert full-width to half-width.

🔒 Runs in your browser — files never leave your deviceFree · No sign-up

What to clean

Spaces & line breaks

Remove content

Characters

Messy text

Drop a .txt file
or click to choose — it stays on your device

Cleaned text

0Characters in
0Characters out
0Characters removed
0Lines removed

How to clean up text

  1. Paste the messy text on the left, or drop in a .txt file — it never leaves your browser.
  2. Tick what you want removed, or start from a preset: Tidy up for spacing, Web text → plain for anything copied out of a browser.
  3. Check the result on the right, then copy it or download it as a .txt.

FAQ

What are “invisible characters”?

Zero-width spaces, joiners, byte-order marks and text-direction marks. They are copied along invisibly from web pages and PDFs and break search, sorting and code. This option deletes them while leaving normal spaces alone.

What does “join wrapped lines” do?

Text copied from PDFs and old e-mails breaks every sentence across several short lines. This option glues those lines back into one paragraph, keeping blank lines as real paragraph breaks — and it joins Chinese lines without inserting a space.

What is full-width to half-width?

Chinese and Japanese input methods produce full-width Latin letters, digits and brackets (ABC123()). This converts them to the normal ASCII versions (ABC123()), which is what forms, codes and spreadsheets expect. The reverse option is there too.