AiLounge Tools

Text Cleanup & List Tools

Deduplicate lines, trim whitespace, sort, change case and count Unicode — all locally in your browser, never uploaded.Processed locally · no backend

Remove duplicate lines

Remove duplicate lines. Case-sensitive by default, keeping the first occurrence; optional ignore-case, trim-before-compare, Unicode normalisation and drop-blank switches, plus an ordered multi-step pipeline.

Run in browser

Inputs and parameters

Real example

a
A
a
B
A  →  default
→ a
A
B   (a / A / a keeps a and A by default; "ignore case" keeps only a)

Limits and failure handling

Whole-line comparison only: no fuzzy matching, no AI rewriting, no subtitle timecodes. Unicode is not normalised by default, so e+combining-acute (NFD) and é (NFC) are distinct lines — opt in to normalisation to merge them. Limits: 2 MiB / 100 000 lines, rejected before processing and cancellable. Combining marks and ZWJ emoji are preserved by default.

FAQ

Which occurrence is kept?

Always the FIRST occurrence, with its original line text; comparison keys (lowercase, trimmed, normalised) never rewrite the output.

Are blank lines removed?

Not by default; repeated consecutive blanks collapse to one. Check "drop blank lines" to remove all of them.