Duplicate Line Remover
Remove duplicate lines from text in your browser while keeping the first occurrence of each line.
Trim, collapse spaces, convert tabs and clean blank lines in text, entirely in your browser.
A whitespace remover trims, collapses spaces, converts tabs and cleans blank lines according to the options you select.
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.
Clean extra spaces, tabs, and blank lines using only the options you turn on. Use it on a pasted log or a list that picked up stray indentation. Trim-each-line overrides the separate leading and trailing boxes, and leaving those options off keeps the indentation.
Trim each line, or remove leading whitespace only if you need to keep trailing spaces.
Convert tabs to 2 or 4 spaces, then collapse repeated spaces if you want a single-space layout.
Each option is explicit. Trim-each-line overrides separate leading/trailing checkboxes for that pass. Remove blank lines drops every empty row; collapsing blank lines keeps a single empty row between blocks.
Only the options you turn on are applied. Trim-each-line overrides the separate leading and trailing boxes for that pass. Remove blank lines drops every empty row, while collapse blank lines keeps one empty row between blocks. More than 400,000 characters is refused.
See the disclaimer for what these tools do not cover.
Remove duplicate lines from text in your browser while keeping the first occurrence of each line.
Sort lines A–Z, numerically or by length in your browser, with optional trim, empty-line skip and dedupe.
Count words, characters, sentences and estimate reading time in your browser.
Convert text to uppercase, lowercase, title case, camelCase and more 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.
Generate placeholder paragraphs, sentences, or words from Latin. It starts with the classic opening. Limits are 20 paragraphs, 50 sentences, or 500 words.
Guide
Remove duplicate lines, tidy whitespace, sort a list, and compare two drafts locally in the browser.
Read guideGuide
Count Unicode characters, including spaces, plus a total without spaces, words, and lines.
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 guideSpaces, tabs, and blank lines are cleaned in this tab. The text is not posted to a server.