Loading…
Loading…
Sort lines alphabetically A to Z or Z to A, or by length, with natural number order so file2 comes before file10. Accents sort with their base letters.
Also covers: Text sorting
The result appears here as you type.
Any list: names, file names, keywords, imports, or CSV rows. One item per line.
A → Z, Z → A, shortest first, or longest first. Natural numbers keeps numbered items in human order (2 before 10).
Tick Remove empty lines to drop blank lines as it sorts.
A plain sort compares text character by character, so "file10" comes before "file2" because "1" is less than "2". Natural sorting reads numbers as numbers, giving file1, file2, file10. It's on by default.
With the browser's language-aware collation, the same rules your operating system uses. "é" sorts next to "e", not after "z" the way raw character codes would put it.
Not by default, so "apple" and "Apple" sort together. Turn on Case-sensitive to separate them when capitalization matters.
No. Everything runs in your browser, and nothing you paste is sent to a server or stored.
Text & code
Compare two texts or code files side by side, with changed words highlighted. Ignore whitespace or case, and export a unified .diff patch that git apply accepts.
Count
Count words, characters, sentences, paragraphs, and lines as you type, with reading and speaking time. Check text against X, SEO title, and meta description limits.
Case
Convert text to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, and more, line by line.
Cleanup
Clean up messy text: remove extra spaces, blank lines, invisible characters, and HTML tags, straighten quotes, and rejoin hard-wrapped lines.
Lines
Delete repeated lines from a list and keep the original order. Choose case sensitivity, whether to ignore surrounding spaces, and whether to keep the first or last copy.
Lines
Delete blank lines from text, or collapse runs of blank lines down to one so paragraphs stay separated.