Skip to content
TextArray
100% local

Duplicate line finder

Find repeated lines and see how many times each one occurs.

Input

Duplicate line finder

Paste a list and get every duplicated line with its occurrence count, sorted from the most repeated down. Unlike a deduplicator, this tool doesn't change your list — it reports on it. That makes it the right first step when you want to know what is repeated before deciding what to delete: which error message floods a log file, which email address was pasted into a mailing list twice, which SKU appears in two exports, or which keyword slipped into a research sheet three times.

By default the output lists only the lines that occur more than once; switch to "All lines with counts" for a full frequency table of the list. Trimming is on by default, so "apple" and "apple " count as the same line, and empty lines are ignored so blank spacing doesn't top the ranking. Turn on case-insensitive matching to group "Apple" with "apple" — the spelling that appears first is the one shown. Lines with equal counts keep their original order, so the report is stable and easy to compare across runs.

Counts are right-aligned in a monospaced column, ready to paste into a ticket or a spreadsheet. The tally under the output sums it up: how many lines came in, how many distinct lines are duplicated, and how many extra occurrences there are beyond the first of each — which is exactly the number of lines a deduplication would remove.

Everything runs in your browser and the list is never uploaded, so server logs, customer lists and unpublished research stay private. Copy the report, download it as a .txt file, or jump to the remove duplicate lines tool to act on what you found.

FAQ

How is this different from removing duplicate lines?
This tool only reports: it shows which lines repeat and how often, leaving the input untouched. When you are ready to clean the list, use the remove duplicate lines tool.
What order are the results in?
Sorted by occurrence count, highest first. Lines with the same count stay in the order they first appeared, so the report is deterministic.
What do "duplicates" and "extra occurrences" in the tally mean?
Duplicates counts the distinct lines that appear more than once. Extra occurrences counts the repeats beyond the first of each — the number of lines a deduplication would delete.
Can it group lines that differ only in capitalisation?
Yes. Enable "Case-insensitive" and variants like "Apple" and "apple" are counted together, listed under the spelling that appears first.
Is my list uploaded anywhere?
No. The tool runs entirely in your browser and your text never leaves your device.