To sort text alphabetically in bulk, use Text Sorter to arrange up to 50,000 logical lines from a plain-text paste.
The tool is built for line-oriented text: each complete line becomes one sortable item. It can alphabetize word lists, filenames, labels, simple inventory values, test data, copied table columns, and line-oriented notes. It does not rearrange the words inside each line. Cleanup, sorting, previewing, and download creation happen locally, and the pasted text is not uploaded to Lizely.

What Counts as Bulk Text Here
The input ceiling is 1,000,000 UTF-16 code units and 50,000 logical lines, so both a code-unit limit and a line limit apply. Exactly the documented maximum is accepted. An over-limit paste is rejected before sorting, and the tool returns no partial result. Treat the code-unit figure as a technical text limit rather than a count of visible characters. Malformed UTF-16 surrogate sequences are also rejected.
The sorter recognizes CRLF, standalone CR, and LF as line boundaries. It always emits LF between output lines, so mixed Windows and Unix-style endings become consistent after export. Apart from that line-ending normalization, each retained line keeps its character content unless trimming is explicitly enabled. Visual wrapping in the preview is presentational only and does not create extra logical lines.
“Alphabetical” means English linguistic collation through the browser's Intl.Collator comparison interface, not a raw Unicode code-point or byte sort. This distinction matters when a destination expects database ORDER BY behavior, operating-system filename order, spreadsheet locale settings, or another programming language's ordering.
Match the Controls to the List
| Control | Exact behavior | Best use |
|---|---|---|
| Sort direction | Ascending compares from lower to higher; descending reverses the comparison result while preserving the original relative order of equivalent entries. | Choose A-to-Z order or the reverse. |
| Case sensitivity | When off, letters differing only by case compare as equivalent. When on, case participates in collation. | Use off for conventional name-like lists; use on when case must affect the order. |
| Natural number order | Digit runs are compared numerically when enabled and as ordinary text when disabled. | Useful for filenames and labels containing numbers. |
| Trim every line | Removes leading and trailing Unicode whitespace without collapsing spaces inside a line. | Enable only when edge whitespace should be removed. |
| Remove empty lines | Runs after optional trimming. A whitespace-only line becomes empty and is removed only when trimming is also enabled. | Remove blank records or deliberately trimmed whitespace-only lines. |
| Remove exact duplicates | Keeps the first occurrence of each identical string. “Apple” and “apple” remain separate. | Remove repeated lines without fuzzy or case-insensitive matching. |
Choose Settings That Fit the Task
Direction and comparison settings answer different questions. Ascending applies English collation from lower to higher, while descending reverses that comparison result. Both directions are stable, so entries that compare as equal retain their original relative order. Descending therefore does not simply reverse an already sorted array, because that would disturb the guaranteed order of equivalent entries.
Case sensitivity changes comparison rather than the stored text. With it off, letters that differ only by case compare as equivalent. With it on, case participates in the collation. Exact duplicate removal follows a separate rule: “Apple” and “apple” remain distinct even when the sorter treats them as equivalent for ordering. No Unicode normalization or fuzzy matching is applied to duplicate detection.
Natural number order is the appropriate choice for filenames and numbered labels containing digit runs. With it enabled, file2 sorts before file10; with it off, those values are compared as ordinary text under the same collator. The option does not parse decimals, dates, versions, units, or signed mathematical expressions as structured data.
Cleanup controls operate in a deliberate sequence. Trimming happens first and removes leading or trailing Unicode whitespace without changing spaces within a line. Empty-line removal runs next. Exact duplicate removal then keeps the first occurrence of each identical string. Sorting happens last, so removing a duplicate does not affect which earlier occurrence is retained.
Sort a Large Paste and Review It
- Paste the line-oriented text into Text Sorter. Put one complete sortable value on each logical line. The paste must remain within the 1,000,000 UTF-16 code-unit and 50,000 logical-line limits.
- Choose the direction and comparison settings. Select ascending or descending order, decide whether comparison should be case-sensitive, and enable natural number order when digit runs should be compared numerically. Add trimming, empty-line removal, or exact duplicate removal only when those changes are wanted.
- Sort the lines and inspect the result. Check the original and final logical-line counts, then read the complete preview. Sorting alone does not change the number of lines, and visual wrapping in the preview does not indicate an added line break.
- Download the TXT result after verification. Confirm that the preview contains the intended values and order before exporting. The downloaded file contains the sorted text as UTF-8.
Changing any input or option clears the previous output immediately. That prevents a result produced with older settings from being mistaken for the current configuration.
Read Counts and Preview as Verification
The result reports both the original logical line count and the final line count. A lower final count is caused by empty-line or exact-duplicate removal, not by the sorting operation. This makes the counts a useful check that a cleanup control did something different from what was intended.
- Compare the original and final counts before downloading.
- Scan the exact preview for unexpected trimming, missing lines, or retained duplicates.
- Remember that lines that compare as equal keep their original relative order.
- Check whether mixed input endings have been normalized to LF in the exported result.
The complete result is rendered for review. The same accepted text, browser collation implementation, and selected options produce the same line sequence. Nothing in this workflow depends on a remote service, external dataset, random input, or account history.
Match the Input to Its Destination
Plain-text lists with one value per line are the safest fit. A copied table column can also work after it has been separated from the rest of the table, but the sorter does not understand columns, headers, quoting rules, or record boundaries.
| Workload | Suitability | Important distinction |
|---|---|---|
| Word lists, labels, filenames, and simple notes | Good fit | Each line is treated as one complete sortable value. |
| Filenames or labels containing number sequences | Good fit with the right setting | Natural number order compares digit runs numerically; it does not interpret dates or versions. |
| CSV rows or other quoted records | Not a supported format-aware workflow | A quoted line break can split one record across multiple logical lines, causing its structure to be lost when individual lines are sorted. |
| A reproducible machine artifact | Use with verification | English browser collation and the selected case and numeric options must match the destination system's expectations. |
Do not sort CSV records with this line-based workflow when quoting, headers, or multiple columns matter. A quoted field can contain a line break, so treating physical lines as records may corrupt the data. Use a format-aware table tool for those inputs instead.
Browser collation can differ from database ordering, operating-system filename order, spreadsheet locale settings, or another programming language. When the output will become a contractual or reproducible machine artifact, confirm that the English collation model and selected options match the system that will consume it.
Preserve the Result During Export
Downloading creates a temporary UTF-8 Blob URL only after a click, and the URL is scheduled for immediate revocation once the browser starts the file transfer. The result is text with LF line endings, not a byte-for-byte preservation of mixed source endings. If the destination requires CRLF or another format, convert the sorted output afterward rather than assuming the original endings were retained.
- Leave trimming off when leading or trailing spaces are meaningful.
- Use exact duplicate removal only when repeated identical strings should be discarded.
- Keep natural number order off for ordinary lexical sorting and on for numbered filenames or labels.
- Review the preview after every change to the input or options.
- Confirm the final line count before relying on the downloaded file.
For a reliable bulk alphabetical sort, treat the input as one item per line, enable only the cleanup controls you need, verify the exact preview, and download the UTF-8 TXT result only after the order and final count look right.