Count characters, words and bytes, then choose how to clean your text.
Count and tidy text
Count characters, words and lines, then create a cleaned copy with only the changes you choose.
Up to 256 KiB (262,144 UTF-8 bytes) and 5,000 physical lines. Your input stays unchanged.
UTF-8 only; a file’s leading UTF-8 BOM is removed on load. Pasted U+FEFF characters count as text, and chosen trimming may remove them as whitespace. Downloads add no BOM. The output uses LF for CRLF/CR line endings. A final newline is preserved while lines remain; removing all lines produces empty text.
Enter text or load a file to begin.
Count and tidy text
Before
After
Original preview
Preview shortened.
Copy preview
Preview shortened.
Local processing only. No upload, account or persistent storage. Keep your original files.