
List Randomizer
Shuffle nonempty lines with Fisher to Yates and unbiased browser cryptographic random integers.
Open toolSort text lines alphabetically A to Z or Z to A, remove blank or duplicate lines, and copy a list with original spelling preserved.
Update the inputs to see your result.
Result will appear here
Retained lines are compared using a case-insensitive numeric-aware sort.
Line endings are normalized before optional blank and duplicate removal. Retained lines are sorted using a case-insensitive English comparison with numeric sorting; original line text stays in the output.
Processing happens in the browser. Duplicate removal ignores case and surrounding spaces; blank-line removal trims whitespace.

Review the input parameters, allowed value ranges, and worked reference cases for the Sort Text Lines below before running your calculation.
| Parameter / Scenario | Default / Sample Value | Rule or Allowed Range | Output / Usage Note |
|---|---|---|---|
| Input: Lines to sort | (User supplied) | Input type: textarea | Required workspace parameter |
| Input: Sort order | (User supplied) | Options: A to Z, Z to A | Required workspace parameter |
| Input: Blank lines | (User supplied) | Options: Remove blank lines, Keep blank lines | Required workspace parameter |
| Input: Duplicates | (User supplied) | Options: Keep duplicates, Remove duplicates | Required workspace parameter |
Put one item on each line, then choose the ordering and cleanup options separately.
Paste the source lines and choose ascending or descending order. Decide whether to remove blanks and duplicates before running the sort. Duplicate matching ignores case and surrounding spaces, but the retained line text keeps its original spelling and spacing.
Select Sort lines and inspect the sorted list. The page uses a case-insensitive English comparison with numeric sorting. Check the visible order with representative lines before using the output, especially when the source combines names, numbers, and indentation.
Review the input and output line counts, particularly when removal options are enabled. Use Copy result after confirming the retained content. Sorting changes order and selected retention rules; it does not rewrite capitalization or clean all spacing inside a line.
Compare baseline and alternative runs for Sort Text Lines before exporting the result.
Numeric comparison is enabled in the English line ordering, so item2 sorts before item10 in ascending order. Use that behaviour for labels with embedded numbers. This is whole line ordering and does not sort a separate numerical column in a table.

Choose Remove duplicates to reduce a pasted list with repeated names. Lines such as Apple and apple compare as duplicates, including surrounding spaces. Review the retained line spelling if capitalisation distinguishes meaningful values in the source list.

Sort each list using the same direction and cleanup settings before comparing them elsewhere. Keep repeated entries when repetition matters. Equal ordering makes a comparison easier to read, but it does not prove that different lines represent the same underlying item.

Review the calculated output alongside your entered parameters and unit conventions.
Every calculation follows the rule: Lines are compared with a case-insensitive English locale sort. Original line text is preserved. Because JavaScript uses IEEE 754 double-precision floating-point arithmetic, numeric outputs display up to 12 significant digits where applicable.
Always cross-check the displayed result against the scope note (Processing happens in the browser. Duplicate removal ignores case and surrounding spaces; blank-line removal trims whitespace) before applying the value to production specifications, financial models, or lab records.

Review blank-line and duplicate settings before replacing a source list.
Operational scope: Processing happens in the browser. Duplicate removal ignores case and surrounding spaces; blank-line removal trims whitespace. Inputs that violate minimum/maximum bounds or required format rules are rejected with a clear diagnostic prompt.
Need an adjacent calculation in Text Tools? Use the related tools linked below to chain your workflow without leaving your browser.


Shuffle nonempty lines with Fisher to Yates and unbiased browser cryptographic random integers.
Open tool
Sort complete text lines by Unicode code-point order.
Open tool
Select first and last names independently from a small built-in list using browser cryptographic randomness.
Open toolChoose another tool for your next calculation, conversion, or text task.
Convert numbered SRT cues into CSV columns for cue number, start, end and subtitle text.
Open toolConvert SRT subtitle start times and plain cue text into LRC with an explicit multiline policy.
Open tool
Compare two lists in your browser to find items unique to List A (A minus B), items unique to List B (B minus A), and common items.
Open tool
Find common items shared between two lists (set intersection A n B), calculate Jaccard similarity percentage, and export matches.
Open toolAnswers about using Sort Text Lines and understanding its results.
No. Sorting runs in your browser.
The same line, ignoring letter case and leading or trailing spaces, counts as a duplicate.
The English comparison enables numeric sorting, so number sequences can sort in numeric order within a line rather than solely by character order.
No. Duplicate detection can ignore case and surrounding spaces, but retained lines keep their original text.
Choose another tool for your next calculation, conversion, or text task.