TheOmniTool logoTheOmniTool
Text

Remove Duplicate Lines

Deduplicate and sort lines of text.

2 duplicate lines removed.

About Remove Duplicate Lines

Remove duplicate lines from a list or block of text and keep only the unique entries. Cleaning up exported lists, email addresses, log files, or keyword sets by hand is tedious once there are more than a handful of rows. Paste your text and this tool strips out repeated lines, optionally ignoring case or trimming whitespace, and returns a deduplicated result you can copy in one click. It is a quick win for anyone tidying data before importing it elsewhere. The processing happens entirely in your browser, so your list is never uploaded or stored, and the tool is free to use with no signup.

How to use this tool

  1. 1Paste your list or text.
  2. 2Toggle sorting, trimming, and case-insensitive matching.
  3. 3Copy the cleaned result.

Frequently asked questions

Is the original order kept?

Yes, unless you enable sorting; the first occurrence of each line is kept in place.

Can matching ignore upper/lower case?

Yes. With case-insensitive mode, 'Apple' and 'apple' count as duplicates and the first spelling wins.

Related tools