RECIPE LIBRARY

Clean a duplicate list

Remove blank lines and duplicates, sort the list and add line numbers.

Sample input

pear
apple
pear

banana

Expected output

1	apple
2	banana
3	pear

Operation order

  1. Remove empty lines
  2. Unique lines
  3. Sort linesorder: ascending
  4. Number lines

What to check

  • Duplicates are matched by exact line contents, including letter case.
  • Sorting uses character order rather than locale-aware collation.
  • Remove the line-number step to reuse the result in another tool.
Responsible use & disclaimer →

Import recipes

Import SecTools JSON and a supported subset of CyberChef recipes. Unsupported operations or arguments are rejected rather than skipped. Processing stays local; saved and shared recipes contain steps and parameters only.

Compare features and limits →