Text Sorter is a browser-based alternative to a hosted sorting API, sorting up to 50,000 plain-text lines locally without uploading the text.
This makes it useful for a one-off alphabetical list, a filename batch, numbered labels, test data, or copied values that need review before reuse. The documented workflow is paste, configure, sort, verify, and download. Text Sorter is not itself a callable HTTP endpoint, so software that must submit sorting requests automatically still needs a real API or its own sorting implementation.

What the browser alternative replaces
The unit being sorted is a complete line. The tool can arrange names, filenames, labels, or other values in A-to-Z style, but it does not alphabetize the letters inside each word or reorder words within a sentence. Each input line becomes one logical record for comparison.
| Requirement | Text Sorter workflow | Programmatic API |
|---|---|---|
| One-off manual list | Paste, configure, review, and download a TXT file | Requires integration even when the job is small |
| Automatic sorting inside an application | A person must operate the browser workflow | Better suited to request-and-response automation |
| Plain-text lines | Supported within the documented input limits | Depends on the endpoint’s accepted format |
| CSV, JSON, or multi-column records | Only plain-text lines are supported; structured record sorting needs a format-aware tool | Potentially better when structured parsing is part of the contract |
For occasional use, that difference removes API credentials, request code, response parsing, and a separate upload step. For scheduled jobs or embedded product features, a real API remains the appropriate integration point rather than trying to automate a manual page.
Choose how values compare
Alphabetical sorting is not always identical to ASCII or raw Unicode code-point order. Text Sorter uses the browser’s English Intl.Collator for comparison. MDN’s Intl.Collator documentation explains the underlying collation API, while the tool fixes its comparison language as English.
| Control | Defined behavior |
|---|---|
| Ascending | Orders values from lower to higher under the English collator |
| Descending | Reverses the comparison result while preserving original order among equivalent values |
| Case sensitivity off | Values differing only by case compare as equivalent |
| Case sensitivity on | Case participates in the comparison |
| Natural number order on | Digit runs compare numerically, so file2 sorts before file10 |
| Natural number order off | Digit runs compare as ordinary text under the same collator |
Natural order is useful for filenames and numbered labels because it avoids placing file10 before file2. It is not a general structured-data parser. Decimal quantities, dates, versions, measurement units, and signed mathematical expressions require their own rules and should not be assumed to sort semantically.
Stability also affects review expectations. When two lines compare as equivalent, they keep their original relative order in both ascending and descending modes. Descending is therefore not merely the ascending list turned upside down; equivalent entries remain stable.
Sort text alphabetically in the browser
- Paste the line-oriented text. Put one sortable value on each line, then confirm that the input contains no unwanted records or heading rows. The accepted limit is 1,000,000 UTF-16 code units and 50,000 logical lines.
- Choose the comparison settings. Select ascending or descending order, decide whether case should participate, and enable natural number order when digit sequences need numeric treatment. Enable trimming, empty-line removal, or exact duplicate removal only when each cleanup is intended.
- Sort the lines. Run the sorting operation using the selected options. The result appears as a complete preview rather than an abbreviated sample.
- Verify the counts and preview. Sorting alone does not change the logical line count. A difference between the original and final counts comes from empty-line or exact-duplicate removal. Check the exact line content as well, and remember that visual wrapping in the preview does not create extra logical lines.
- Download the TXT result. After the review, download the complete result as UTF-8 plain text. Changing the input or any option clears the previous output, preventing an outdated result from being mistaken for the current configuration.
This review step is especially important when the result will feed another system. The preview confirms the lines that survived cleanup and their final order, while the two counts show whether any records were removed.
Understand the cleanup controls
Cleanup follows a defined sequence. Trimming happens first and removes leading and trailing Unicode whitespace from every line. It does not collapse spaces inside a line, so a value such as New York keeps its internal spacing unless you edit it separately.
Empty-line removal runs after trimming. As a result, a line containing only spaces becomes empty and is removed when both trimming and empty-line removal are enabled. Without trimming, a spaces-only line is not considered empty and remains in the result.
Exact duplicate removal runs after optional trimming and empty-line removal but before sorting. Exact means JavaScript string equality, so Apple and apple are different strings even when case-insensitive comparison treats them as equivalent. The first exact occurrence is kept, and later copies are removed. No fuzzy matching or Unicode normalization is applied, which means visually similar but differently encoded strings are not treated as duplicates.
These controls solve different cleanup problems. Trimming changes retained line content by explicit instruction, while empty-line and duplicate removal reduce the line count. Leave a control off when its broader effect would remove information you need to preserve.
Check limits and line-oriented formats
The tool accepts exactly the documented limits: 1,000,000 UTF-16 code units and 50,000 logical lines. An over-limit input is rejected before sorting, and no partial output is returned. Malformed UTF-16 surrogate sequences are also rejected. The code-unit limit is not a byte limit, so character encodings with multi-unit characters can reach it sooner than a simple character count suggests.
CRLF, standalone CR, and LF are all recognized as line boundaries. The downloaded result uses LF between lines. Mixed input endings therefore become consistent, but each retained line’s character content stays unchanged unless trimming is explicitly enabled.
Text Sorter is not CSV-aware. A CSV record can contain a quoted line break, and sorting individual physical lines can break the record structure. Use a format-aware table tool when quoting, headers, or multiple columns matter. Plain-text lists, copied single columns, filenames, labels, simple inventory values, and line-oriented notes are safer inputs for this workflow.
Keep processing local and download the result
Nothing is uploaded to Lizely. Cleanup, sorting, previewing, and download creation happen locally in the browser, and the operation uses no remote service, external dataset, or account history. The same accepted text, browser collation implementation, and selected options produce the same line sequence.
Downloading does not create a hosted copy on a remote server. After a click, the browser receives a temporary UTF-8 Blob URL and starts the file transfer; the URL is then scheduled for revocation. Local processing is useful for confidential lists, but it does not change the fundamental distinction between this browser workflow and a programmable API.
Choose another route when needed
Use a real sorting API when another application must invoke the operation automatically, exchange structured requests and responses, or run the sort as part of a scheduled backend process. Text Sorter’s browser interface does not provide that integration contract.
Use a format-aware table utility for CSV rows, spreadsheets with headers, or records containing embedded line breaks. Use a locale-aware library or database sorter when the required order is not English browser collation. Collation can differ from database ORDER BY behavior, operating-system filename order, spreadsheet locale settings, or another programming language.
For contractual or reproducible machine artifacts, verify that the destination system expects the same English collation, case behavior, and numeric option used in the browser. Text Sorter is strongest as a local, reviewable alternative for manual line sorting; it is honest to choose an actual API when automation or structured records are the actual requirement.