Sort lines
Sort lines alphabetically A→Z or Z→A, by number, by length, or shuffle randomly — with case-insensitive and remove-duplicates options.
Duplicates removed: 0
Everything runs in your browser — your list is never uploaded.
About the Sort lines
Sort lines reorders a list any way you need: alphabetically A→Z or Z→A, in natural numeric order (so item2 comes before item10), by line length, reversed, or shuffled into a random order. Add case-insensitive comparison and one-click duplicate removal to get a clean, ordered list. Ideal for keyword lists, imports, names, and config files — processed instantly in your browser with nothing uploaded.
Sort lines features
- 01
Six ordering modes
A→Z, Z→A, natural/numeric, by length, reverse the current order, or random shuffle — pick from a single dropdown and the result updates live.
- 02
Natural numeric sort
Numbers embedded in lines sort in human order (file2 before file10) instead of naive character order, using a locale-aware collator.
- 03
Case-insensitive and dedupe
Optionally ignore letter case when sorting and remove duplicate lines in the same pass, so the output is both ordered and unique.
Sort lines FAQ
- How do I put a list in alphabetical order?
- Paste your list one item per line and choose "A → Z." The lines are sorted alphabetically and the result appears instantly, ready to copy.
- What does natural (numeric) sort do?
- It sorts numbers the way people expect: "item2" comes before "item10" instead of after it. Regular alphabetical sorting compares character by character and would place "10" before "2."
- Can I randomly shuffle lines?
- Yes. Pick "Random shuffle" to reorder the lines randomly — useful for randomizing names, questions, or picking an unbiased order. Re-selecting shuffle reshuffles.
- Can it sort and remove duplicates at once?
- Yes. Turn on "Remove duplicates" and the tool drops repeated lines before sorting, giving you a unique, ordered list in one step.
- Is my list sent anywhere?
- No. Sorting runs entirely in your browser and your text never leaves the page.
Related tools
Utility →- Live
Remove line breaks
Strip line breaks and hard returns from text — join everything into one block or keep paragraph breaks and replace newlines with spaces.
UtilityFreeRuns locallyOpen - Live
Remove extra spaces
Collapse multiple spaces and tabs into one, trim each line, and optionally remove all spaces or delete empty lines.
UtilityFreeRuns locallyOpen - Live
Remove duplicate lines
Delete repeated lines from a list — case-insensitive and trim options, keep the first or last occurrence, and see how many were removed.
UtilityFreeRuns locallyOpen
Explore other tools
All tools →- Live
Organize PDF
Reorder, rotate, and delete PDF pages visually in your browser. Rearrange thumbnails, then save the reorganized document.
PDFFreeRuns locallyOpen - Live
Schengen Visa Photo Maker
Make a 35×45 mm Schengen visa photo online — correct size, plain background, free and private in your browser.
ImageFreeRuns locallyOpen - Live
Video Speed Changer
Speed up or slow down a video from 0.25x to 4x.
VideoFreeRuns locallyOpen - Live
Convert audio
Convert MP3, WAV, OGG and M4A files between formats.
AudioFreeRuns locallyOpen - Live
JSON viewer
View, format and validate JSON in your browser.
DocumentFreeRuns locallyOpen