Text Cleaner
Trim, dedupe, sort, case-convert, and find-replace any text in seconds.
Paste text and clean it up in one pass. Trim whitespace, remove duplicate lines, sort alphabetically, convert case, or run a find-and-replace (with optional regex). Live preview, clean .txt download.
How it works
- Paste your text into the editor.
- Pick a mode (trim, dedupe, sort, case, replace, or remove empty) and set the options.
- Unlock the result and download the cleaned .txt file.
Use cases
- Clean up a copy-pasted list of emails before importing into a CRM.
- Remove duplicate rows from a list of URLs scraped from a site.
- Sort a long word list alphabetically before sharing.
- Bulk-convert a paragraph to Title Case or lowercase.
- Find-and-replace across hundreds of lines without opening a text editor.
Frequently asked questions
Is my text uploaded anywhere?
It's sent to our server to generate the .txt download, kept for 7 days for re-download, and then permanently deleted. We never use it for anything else.
Does the find-and-replace support regex?
Yes. Tick 'Use regex' on the Replace tab and your Find field is treated as a regular expression. Case-insensitive is a separate checkbox.
How large a text can I clean?
Up to 2 MB per job, which is hundreds of thousands of lines for typical content. Split larger batches into separate runs.
What's the difference vs a code editor?
Zero install, and the result is one downloadable file. Perfect for cleaning a list before pasting it into a spreadsheet or CRM.
How long is the result kept?
Your cleaned .txt is auto-deleted after 7 days. Re-download is available during that window via the secure link.
Related tools
- Remove Duplicate Lines: Paste a list and get a clean copy with every duplicate line removed.
- Sort Lines Alphabetically: Paste a list and download the same lines sorted A to Z or Z to A.
- Text Case Converter: Convert any text to UPPERCASE, lowercase, Title Case, or Sentence case.
- Find and Replace Text: Find every match in a block of text and replace it, with optional regex.