TEXT TOOLS

Remove duplicate lines

Clean a plain-text list without sorting it. Each distinct line keeps its first position; you choose whether capitalization, edge whitespace, and blank lines matter.

How to use Remove duplicate lines

  1. Paste your list with one entry per line.
  2. Choose Ignore capitalization, Trim whitespace, or Remove blank lines only if those changes fit the data. They start off.
  3. Select Clean up my list and compare the output and removed/kept counts with your original.
  4. Copy the cleaned list or download TXT. If you edit the input or matching options, run the cleanup again.

A worked example

With default options, three lines Apple, apple, Apple become two lines: Apple, then apple. One duplicate is removed.

With Ignore capitalization enabled, the same list becomes one line, Apple, because its first spelling is kept. Trim whitespace also changes the saved line itself, so an entry with spaces at either end loses those spaces.

Supported inputs and important limits

This matches entire lines, not similar words or duplicate records across multiple columns. A different spelling or punctuation mark stays distinct. No fuzzy matching or sorting is performed.

Whitespace is preserved by default. Without Remove blank lines, repeated identical empty lines are deduplicated like any other line; a line containing spaces is distinct until trimming is enabled.

Output line endings are normalized to line-feed characters. Rich formatting is not retained. Large lists can slow your browser, and the input/result are not saved when you leave the workspace.

Local processing and your files

This workspace runs in your browser. Tool inputs are not uploaded to ToolboxTask or saved by the site. Optional anonymous counts record tool use without inputs; messages you choose to send through Report a problem go to a private inbox. Download anything you need before leaving the workspace. Read the privacy explanation for hosting requests, downloads, clipboard, and browser software.

Related tools and guides

Report a problem

Something not working? Send a private message to the site owner. Other visitors cannot view reports.

Your report text and selected tool are sent to the owner’s private inbox. Do not include passwords, personal information, or the contents of your files. No name or email needed. How reports are handled (opens in a new tab)

10–2,000 characters. 0 / 2,000

Up to 1,000 characters.

Up to 1,000 characters.

Your draft stays only in this open page until you send it. Reports help us investigate; a fix or personal reply is not guaranteed.