Duplicate line remover
Remove duplicate lines while keeping their order.
Saves for offline use after your first successful run.
Runs on your device. Your files and inputs stay private.
How to use
- Paste your text and choose the applicable options.
- Exact mode compares all characters. Trim mode ignores surrounding whitespace only for comparison; case-insensitive mode also lowercases comparison keys. The first original line is retained unchanged. Blank lines can be kept or removed. Line endings normalize to LF.
- Run the tool, review the output, then copy or download it where available. Inputs and results stay in this tab only.
Examples
Illustrative text example
- Input
- A B A
- Output
- A B
Frequently asked questions
Exact mode compares all characters. Trim mode ignores surrounding whitespace only for comparison; case-insensitive mode also lowercases comparison keys. The first original line is retained unchanged. Blank lines can be kept or removed. Line endings normalize to LF.
No. Text is processed on this device and is never stored in app caches or sent to a server. Up to 200,000 UTF-16 code units are accepted; comparisons have an additional 1,000-line limit per text.