Text tool

Line Sorter

Sort lines alphabetically, reverse line order and clean line-based lists.

Use the tool

Common use cases

  • Clean copied notes and prompts.
  • Sort, replace and deduplicate text lists.
  • Prepare content for docs and development tasks.

Example input

json formatter
        ai json repair
        timestamp converter
        base64 decoder

Related tools

FAQ

How are lines sorted?

Lines are sorted alphabetically with case-insensitive comparison.

Are blank lines kept?

Blank lines are removed before sorting or reversing.

Can I deduplicate lines?

Yes. Use the Duplicate Line Remover tool.