<!-- Markdown version of https://ocxly.com/duplicate-line-remover.html · auto-generated, may lag the live page -->

# Duplicate Line Remover

Paste a list and strip out repeated lines in one click — with options to ignore case and whitespace, drop blank lines, sort the result, and keep either the first or last occurrence. Nothing leaves your browser.

### How it works

Each line is compared against the ones already seen; repeats are dropped. "Trim whitespace" and "Ignore case" change what counts as a duplicate without altering the text you keep. "Keep last" is handy when later entries should win (e.g. deduplicating a log where the newest wins). Everything runs locally — your list is never uploaded.

---
*Source: [ocxly.com/duplicate-line-remover.html](https://ocxly.com/duplicate-line-remover.html) — OCXLY, free 100% client-side privacy-first tools. Free duplicate line remover. Paste a list and strip repeated lines, with options to ignore case and whitespace, drop blanks, sort, and keep the first or last occurrence. Runs entirely in your browser.*
