Whitespace Remover
Trim, collapse spaces, convert tabs and clean blank lines in text, entirely in your browser.
Replace the first match or every match in text you paste, with an optional case-sensitive search.
Find and replace changes the first match or every match in text you paste. You can turn case matching on or off.
This tool runs in your browser. Inputs, files and generated values stay on this device. Favorites and recently used tools, if you use them, store only tool names in local storage — never passwords, documents or QR contents. See the privacy policy.
Paste text, type what to find, and type the replacement. You can change the first match or every match, and you can ignore letter case.
Original: “Ana sent the file. ana sent the notes.” Find: ana. Replacement: Ana. Case-sensitive off, Replace all. Both names become Ana, and the count is 2.
A draft repeats “Draft” three times. Replace first changes the first one and leaves the other two. The count is 1.
The search walks the original text from the start. After a match, the next search begins after that match, so a replacement is not searched again. Case-insensitive mode compares lowercase copies but does not change the surrounding text.
This is not a regular expression. It does not match word boundaries, and it does not skip text inside quotes. Overlapping matches are not counted twice.
See the disclaimer for what these tools do not cover.
Trim, collapse spaces, convert tabs and clean blank lines in text, entirely in your browser.
Turn wrapped lines into a paragraph, delete the breaks, or keep a blank line between paragraphs.
Sort lines A–Z, numerically or by length in your browser, with optional trim, empty-line skip and dedupe.
Remove duplicate lines from text in your browser while keeping the first occurrence of each line.
Count words, characters, sentences and estimate reading time in your browser.
Count characters, words, and lines as you type, and a total without spaces. One emoji counts as one Unicode character. Sentences are not split on this page.
Guide
Run a JavaScript regular expression on sample text and read each match, its index, and its capture groups.
Read guideGuide
Replace the first exact match or every match. Case can be ignored. This is not a regular expression.
Read guideGuide
Turn line breaks into spaces, delete them, or keep a blank line between paragraphs.
Read guideGuide
Put a starting number and a separator in front of each line without changing the line text.
Read guideGuide
Repeat text from 1 to 200 times with nothing, a space, or a new line between copies. The separator is not added after the last copy.
Read guide