Text Cleaner

Text copied from PDFs, websites and chat apps often carries broken line breaks, double spaces and invisible characters. Tick the clean-ups you need and the result updates live.

Runs entirely in your browser. Your input and files are not uploaded to any server.

How to use

  1. Paste the text you want to clean.
  2. Choose the clean-up options. The output updates immediately.
  3. Copy the clean text or download it as a file.

Examples

Text copied from a PDF

Enable “Join broken lines” and “Collapse spaces” to turn hard-wrapped lines back into normal paragraphs.

Arabic text for search

Remove tashkeel (diacritics) and tatweel so that “مُحَمَّــد” becomes “محمد”.

Privacy

Runs entirely in your browser. Your input and files are not uploaded to any server. See the privacy policy for what is stored in your browser (favorites and history only). Privacy policy

Check it yourself: open your browser’s developer tools, select the Network tab and use the tool. Your file never appears in an upload request. Once this page is saved for offline use, you can also disconnect from the internet and keep working. Ads and anonymous visit statistics, when enabled, make their own requests, but they never receive your files or text.

Frequently asked questions

What are invisible characters?

Zero-width spaces, joiners, byte-order marks and directional marks. They are invisible but can break searches, passwords and code. The tool removes them while keeping normal Arabic letter joining intact.

Is HTML executed when removing tags?

No. Tags are removed with a parser that never runs scripts or loads images.

Case ConverterConvert text to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case, kebab-case and more with one click.
Line Counter & Line ToolsCount total, empty and unique lines, then add line numbers, sort alphabetically, reverse or shuffle lines.
Word CounterCount words, characters, sentences and paragraphs as you type, with reading and speaking time estimates.
Character CounterCount characters with and without spaces, letters, digits, emoji-aware graphemes and UTF-8 bytes.

Search tools