UTILITY

Sort text lines

Sort text lines alphabetically by their contents.

Tool
Loading tool…

What this tool actually does

Lines are sorted alphabetically; the optional descending mode reverses their order.

Example input and output

Input:

pear
apple
banana

Output:

apple
banana
pear

Instructions

  1. 1

    Type or paste the text you want to process.

  2. 2

    Apply the named operation using any settings shown in the tool.

  3. 3

    Review the transformed text, then copy or download it if a control is provided.

Privacy and processing

This operation runs in your browser rather than uploading the selected file or pasted text to a freedropper conversion server.

Format details and practical guidance

Understanding the formats

Sorting compares values or lengths using the selected operation; leading spaces, punctuation and numeric-looking text can affect ordering.

Common questions

Are transformations always reversible?

No. Removing characters, duplicate lines or whitespace can discard information. Keep a copy of the source before applying destructive changes.

Will Unicode and accented letters work?

Many tools handle Unicode text, but sorting, case conversion and character filters can have language-specific behavior. Verify multilingual examples.

Why does the result differ from what I expected?

Check hidden spaces, line endings, capitalization and punctuation. These characters may affect sorting and exact-match operations.