How to use Remove Duplicate Lines
- Paste one item per line.
- Choose case, trimming and blank-line options.
- Copy the cleaned list.
About this tool
The first occurrence of each line is kept and later copies are removed, so the original order is preserved. Trimming whitespace first catches duplicates that differ only by a stray space.
The result shows how many duplicate or empty lines were removed.
Frequently Asked Questions
- Does it keep the original order?
- Yes. Only repeated lines are removed.
- Can it ignore capitalisation?
- Yes. Leave "case sensitive" off to treat Apple and apple as the same.
Related tools
- Sort LinesPut a list in order, reverse it or shuffle it.
- Remove Extra SpacesClean up spacing in copied text with a few options.
- Number to WordsWrite numbers out in English words for cheques, contracts and documents.
- Roman Numeral ConverterType a number or a Roman numeral and get the other form.
- Base64 Encoder and DecoderConvert text to Base64 and back without breaking non-English characters.
- URL Encoder and DecoderPercent-encode text for use in URLs, or decode an encoded string back to readable text.