Text Cleanup Toolbox
TextSix cleanup operations that usually live on six separate pages, now on one: trim whitespace, drop blank lines, remove duplicates, sort, change case, then count the result. Switching tabs keeps the text, so a typical pass — trim, dedupe, sort, count — takes one paste. Everything runs locally and the text never leaves the browser.
How to use
4 steps- 01
Paste the text you want to clean into the top box.
- 02
Pick an operation: trim, blank lines, dedupe, sort, case or count.
- 03
Adjust that operation's options — scope, case sensitivity, sort order.
- 04
The result updates as you type; copy it, or switch tabs to keep refining.
FAQ
Q1What is the difference between trimming and removing blank lines?
Trimming only strips whitespace from the start and end of each line, so the line count stays the same. Removing blank lines deletes whole lines that are empty, which reduces the line count. Trim first, then remove blank lines, for the cleanest result.
Q2Does deduplication compare whole lines?
Yes. It compares line by line, keeps the first occurrence in order, and is case-sensitive by default. Enable “ignore case” and ABC will be treated as a duplicate of abc.
Q3How does sorting work?
Alphabetical ascending by default, using locale-aware comparison so Chinese sorts by pinyin. You can switch to descending or sort by line length, which helps when tidying lists of uneven items.
Q4What do the case modes do?
UPPER converts everything to capitals; lower does the opposite; Title Case capitalises the first letter of each word; Sentence case capitalises the first letter after a full stop; and “first letter only” touches just the very first character.
Q5How are characters counted?
Six figures at once: characters including spaces, characters excluding spaces, word count (CJK counted per character, Latin per word), line count, English word count, and UTF-8 byte size — the last one matches API and database limits.
Q6Is my text uploaded anywhere?
No. Every operation runs in the browser; nothing is sent to a server, so the page works offline once loaded.