Duplicate line remover
Remove duplicate lines from any list, with optional case-insensitive and whitespace-trimmed matching. Works entirely in your browser.
Text & Lists In your browser
Text & lists
Delete blank and whitespace-only lines from a list, or collapse repeated blank lines into a single one. Optionally trim the spaces around each line. Your text stays in this browser.
Private by design: no text is uploaded or stored.
Read the full guide: Why Some Blank Lines Won't Delete: Spaces, Tabs and Stray CRs
Private by design: no text is uploaded or stored.
Try an example
Updates when you clean or change an option.
Remove all empty lines deletes every blank line so the remaining lines sit together. Collapse multiple blanks keeps a single blank line wherever there were one or more, preserving paragraph breaks. Treat whitespace-only lines as empty also removes lines that contain only spaces or tabs. Trim spaces around each line strips leading and trailing whitespace from the lines you keep. Content lines are never removed — only blank lines are.
0:25
Video · 0:25
Drop every gap at once, even lines hiding spaces.
Remove duplicate lines from any list, with optional case-insensitive and whitespace-trimmed matching. Works entirely in your browser.
Text & Lists In your browser
Collapse repeated spaces and tabs, trim lines, remove blank lines and tidy the whole document. Works entirely in your browser.
Text & Lists In your browser
Count lines, words, Unicode characters, UTF-8 bytes, paragraphs and reading time locally in your browser.
Text & Lists In your browser
Pick one or more random items from a list, with or without replacement. Private, fair selection entirely in your browser.
Text & Lists In your browser
Sort lines alphabetically, numerically, in natural order or by length. Reverse, ignore case and remove duplicates. Works entirely in your browser.
Text & Lists In your browser
Shuffle the order of any list randomly with an unbiased Fisher-Yates shuffle. Works entirely in your browser.
Text & Lists In your browser
We value your privacy
We would like to use optional analytics cookies to understand how the site is used and improve it. Nothing is loaded until you choose, and you can change your decision at any time. Privacy policy