List analysis

List analysis produces a 7-line statistics report from any line-based list: total items, unique count, duplicate count (with sample names), empty-line count, average item length, shortest item, and longest item. No options - the report is fixed.

Input
Ready
Output
Live

One-shot list statistics

Input is split by lines. Whitespace-only lines are counted separately as "empty". Non-empty lines are trimmed and lowercased for the uniqueness / duplicate tally, so `Apple` and `apple` collapse into one entry - if you need case-sensitive stats, pre-process first.

Duplicate sample shows up to 5 dupe-item names in parentheses; if there are more, a `+N more` suffix indicates the overflow. The shortest/longest items are shown alongside their character lengths in parentheses.

Same op as Show list statistics - this is the summary-framed version of the same output.

How to use list analysis

  1. 1Paste your list into the input panel
  2. 2Output is a 7-line stats report
  3. 3No options - report is fixed
  4. 4For filtered analysis (e.g. only non-duplicates), pre-clean first with Dedupe
  5. 5For frequency tables use Find most frequent instead

Keyboard shortcuts

Drive ListShift without touching the mouse.

Shortcut Action
Ctrl ZUndo last input change
Ctrl Shift ZRedo
Ctrl Shift EnterToggle fullscreen focus on the editor
EscExit fullscreen
Ctrl KOpen the command palette to jump to any tool
Ctrl SSave current pipeline draft Plus
Ctrl PRun a saved pipeline Plus

What this tool actually does

Seven-metric report per run.

Items count (non-empty lines)

Number of lines after dropping fully blank and whitespace-only lines.

Unique count

Number of values that appear exactly once. Comparison is case-insensitive and trim-aware (no options to override).

Duplicates count + sample names

Number of values that appear more than once. Up to 5 sample names shown in parentheses; overflow indicated as `+N more`.

Empty lines count

Separate from the item count - tells you how much "noise" is in the input.

Length stats: average, shortest, longest

Average length across trimmed non-empty items (one decimal). Shortest and longest items are shown with their character counts in parentheses.

Worked example

One item per line. `apple` appears 3 times and `orange` 2 times - both are duplicates. `banana` is unique.

Input
apple
orange
apple
banana
orange
apple
Output
Items: 6
Unique: 1
Duplicates: 2 (apple, orange)
Empty lines: 0
Average length: 5.5
Shortest: apple (5)
Longest: banana (6)

Behaviour reference

No options. These rules apply unconditionally.

Metric What it reports On the sample
Items Non-empty line count 6
Unique Values appearing exactly once 1 (just `banana`)
Duplicates Values appearing 2+ times, with up to 5 sample names 2 (apple, orange)
Empty lines Whitespace-only / blank line count 0
Length stats Average, shortest, longest (trimmed) avg 5.5, shortest `apple` (5), longest `banana` (6)

FAQ

Is the comparison case-sensitive?
No - values are lowercased and trimmed before counting uniques and duplicates. No option to override. For case-sensitive stats, pre-process with Uppercase or Lowercase to normalize, or use Find most frequent which has a Case sensitive toggle.
How are duplicates displayed?
Up to 5 names shown in parentheses after the count. If there are more than 5 distinct duplicate values, a `+N more` suffix indicates the remainder.
What counts as empty?
`line.trim() === ''` - fully blank lines plus whitespace-only lines.
How is this different from Show list statistics?
Same op, same output. Show list statistics is the alternative URL for the same report.
Can I get per-item counts?
Use Find most frequent for a `count<tab>item` table. This tool gives you aggregate stats, not per-item rows.