Skip to content
← All tools

Text tools

Clean and compare text with visible, predictable rules.

Trim whitespace, remove empty and duplicate lines, strip invisible characters, sort, find and replace, join lines, diff two blocks, count words, and analyze word frequency.

Comparison rules are stated explicitly, which is what makes two lists match the way you expect.

Cleaning lists and text

Pasted text is rarely clean. Trim whitespace removes stray spaces at line ends. Remove empty lines and remove duplicate lines tidy up lists, and remove invisible characters strips zero-width spaces and byte-order marks that make identical-looking values fail to match. Sort lines puts a list in alphabetical or natural number order, and join lines turns a column of values into a single delimited line.

For changing text, find and replace does literal replacements with a count of changes, case converter switches between upper, lower, title, and sentence case, and add line numbers prefixes each line with a counter.

Comparing and counting

Compare lists finds the items that two lists share and the items unique to each, which is useful for reconciling subscriber lists, inventories, or permission exports. Text diff shows added and removed lines between two versions of a document. Word counter reports words, characters, lines, and paragraphs, and word frequency ranks the words used most often.

The order of operations matters when cleaning: trim whitespace and remove invisible characters first, then normalize case if needed, then remove duplicates or compare. The guide on text cleanup explains why, with examples. Every tool states its matching rules, so a comparison behaves the way you expect.