DevNb

Text & Strings/Sort, Dedupe & Line Tools

Sort, Dedupe & Line Tools

Clean, sort, deduplicate, shuffle, and format lists of items, logs, URLs, or code identifiers.

Initial: 11Β·Output: 8Β·(-3 removed)
Input Lines11 lines80 chars
Processed Lines8 lines60 chars

Line Operations Explained

Natural Sort: Unlike strict ASCII sorting where "item10" comes before "item2", natural sort evaluates embedded numbers logically (item1, item2, item10).

Deduplication: Strips redundant duplicate lines while optionally respecting or ignoring letter case.

Shuffle: Uses an unbiased Fisher-Yates shuffle algorithm to randomize lines β€” ideal for picking raffle winners, creating random playlists, or shuffling test data.

Batch Prefix & Suffix: Wrap every line in quotes ('item'), add commas (item,), or create markdown bullet lists (- item).

FAQ

Can I apply the output back to the input to run multiple operations?

Yes. Click the Apply Output to Input button to chain transformations (e.g. deduplicate first, then sort, then add prefixes).

Does this work on large log files?

Yes. You can paste or upload files with tens of thousands of lines. Processing runs in pure browser memory and completes in tens of milliseconds.

Need to inspect differences before and after sorting? Try the Text Diff Checker β†’