Sort, clean, add prefixes or suffixes, convert case, and adjust full/half-width for multiline text, with optional trimming and deduplication.
Output
3
20
100
alpha
beta
Common tasks
text line sorter
sort lines alphabetically
numeric line sort
sort text by length
line sorter online online
free line sorter online
line sorter online no upload
browser local line sorter online
text cleaner
remove blank lines
deduplicate lines
trim text online
text cleaner online
free text cleaner
text cleaner no upload
browser local text cleaner
line prefix suffix
add prefix to lines
add suffix to lines
bulk line editor
line prefix suffix tool online
free line prefix suffix tool
line prefix suffix tool no upload
browser local line prefix suffix tool
full width half width converter
fullwidth to halfwidth
halfwidth to fullwidth
ascii width conversion
full half width converter online
free full half width converter
full half width converter no upload
browser local full half width converter
text case converter online
free text case converter
text case converter no upload
browser local text case converter
text case converter for developers
slug text case converter
copy text case converter
writing text case converter
Quick answer
This line sorter takes pasted multiline text and reorders each line alphabetically, numerically, or by line length. It can also trim lines, remove empty lines, deduplicate repeated entries, and switch between ascending and descending order without uploading the list.
How to use
1. Paste one item per lineAdd names, IDs, numbers, URLs, keywords, log lines, or any small list that needs a stable order.
2. Pick the sort ruleUse alphabetic for text, numeric for numbers, or length when you need shortest-to-longest or longest-to-shortest output.
3. Clean and copy the resultEnable trim, skip empty lines, dedupe, or descending order before copying the sorted output.
Examples
Numeric sort
Input
20
3
100
Output
3
20
100
Numeric mode compares values as numbers instead of text.
Alphabetize words
Input
beta
alpha
Gamma
Output
alpha
beta
Gamma
Alphabetic mode uses locale-aware comparison with numeric sensitivity.
Sort by line length
Input
pear
watermelon
fig
Output
fig
pear
watermelon
Common use cases
Alphabetize keyword lists, labels, tags, or filenames
Sort numeric IDs, rankings, durations, or small data extracts
Deduplicate pasted lists before sharing them in a ticket or document
Normalize ad hoc text data without opening a spreadsheet
Edge cases
Alphabetic sorting is not the same as strict ASCII byte sorting
Numeric mode sends non-numeric lines after numeric values
Deduplication keeps the first matching line after optional trimming
Very large pasted lists depend on browser memory and may be better handled in a spreadsheet or script
Features
Sort lines alphabetically, numerically, or by length
Ascending or descending order
Optional dedupe and trim
Browser-local processing
Trim trailing whitespace from each line
Remove empty lines
Deduplicate repeated lines
Browser-local — no upload
Add a custom prefix to every line
Add a custom suffix to every line
Skip empty lines
Local-only — paste, transform, copy
Convert fullwidth (CJK) characters to halfwidth (ASCII)
Convert halfwidth ASCII to fullwidth equivalents
Optional space conversion
Local-only processing — no upload
Convert text to title, sentence, lower, and UPPER case
Generate slug-case, snake_case, CONSTANT_CASE, camelCase, and PascalCase