Text Sorter

100% Private Report Issue

Sort text lines instantly. A-Z alphabetical, Z-A reverse, randomize order, remove duplicate lines. Case-sensitive option for precise sorting. Perfect for organizing lists, cleaning data, randomizing entries.

How to Sort Text

01

Paste text with one item per line

02

Choose sort type from dropdown

03

Toggle case-sensitive if needed

04

Result updates instantly

05

Click Copy to use sorted text

Key Features

Five Sort Methods

A→Z: Alphabetical ascending. Z→A: Alphabetical descending. Reverse: Flip line order. Randomize: Shuffle lines randomly. Remove Duplicates: Keep unique lines only.

Case Sensitivity Control

Case-sensitive: 'Apple' ≠ 'apple'. Case-insensitive: treats as same. Affects both sorting and duplicate detection.

Instant Processing

Live updates as you type or change options. No process button needed. Handles thousands of lines instantly.

Privacy & Security

All sorting happens in browser using JavaScript array methods. Zero uploads—your text never leaves your device.

Frequently Asked Questions

What's the difference between case-sensitive and case-insensitive sorting?

Case-sensitive: 'Zebra' comes before 'apple' (capitals first). Case-insensitive: 'apple' comes before 'Zebra' (ignores capitalization). For duplicates: case-sensitive keeps both 'Apple' and 'apple', case-insensitive removes one.

How does randomize work?

Uses Fisher-Yates shuffle algorithm for truly random order. Each click produces different arrangement. Useful for prize draws, random selection, shuffling playlists.

Can I sort numbers?

Yes. Numeric sorting works: 1, 2, 10, 100 (not 1, 10, 100, 2). Mixed text/numbers sort as text unless all lines are pure numbers.