Skip to content
Tesserae

Keyboard shortcuts

Focus search
/
This help dialog
?
Run the current tool
Ctrl/⌘ +Enter
Copy the output (when an output is focused)
Ctrl/⌘ +C

Shortcuts are ignored while you are typing in an input, a textarea or a select.

Text & Strings

Duplicate Line Finder

Scan a list of lines for duplicates. Each repeated line is reported with how many times it appears, the line number of the first occurrence, and its repeat count. Toggle to see the whole frequency table including singletons, sort by frequency or position, and ignore case or surrounding spaces. The perfect companion for cleaning up logs, CSVs or mailing lists — and it runs entirely on your device.

On-device No network Offline-ready

🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.

Try:

Options

Your result will appear here

Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.

How it works

How the duplicate scan counts repeats

Paste a block of lines and the scanner splits it on newlines, then tallies how often each line occurs. A line appearing three times is reported with an occurrence count of 3 and the number of the line where it first appears; the extra count shows 2, because only the second and third copies are surplus. Results come back as a table with Line, Occurrences and First at line columns. Very long lines are truncated with an ellipsis in that table but are still compared in full.

When a frequency table beats a duplicate list

For triaging a log or pruning a mailing list you often want the whole picture rather than just the repeats. Switch on “Include unique lines” to see every line with its count, singletons included, and sort by frequency to float the noisiest entries to the top.

Case and whitespace matching

Lines are compared byte-for-byte by default, so Apple and apple are different entries. “Ignore case” lowercases both sides before comparing and “Ignore leading/trailing spaces” trims the ends; either way the first-seen original text is what the table shows you.

Input limits and privacy

Blank input raises an error instead of returning an empty table, and anything over 1,000,000 characters is refused. Nothing is uploaded: the counting loop runs in this browser tab, so the addresses, log lines or ID lists you paste never leave your device.

Questions

How is a found duplicate reported?

Each repeated line gets a row with its count, the total occurrences, and the line number where it first appears. A line appearing three times counts as two duplicates.

What if I want unique lines too?

Turn on "Include unique lines" to get a full frequency table of every line, singletons included. Lines that appear once then show count 1.

Does it match byte-for-byte?

Yes by default. With "Ignore case" and "Ignore leading/trailing spaces" it matches on the normalized form but keeps the first-seen original text for display.

How do I remove the duplicates?

This tool reports them. Use the dedupe-lines tool to actually delete repeats, keeping the first or last occurrence — they work together.

See category