BrokenTools
EN

Sort lines, remove duplicates and empty lines online

Clean up a list in one go. Sort it, remove repeats and blank lines, trim spaces, shuffle it or add numbers.

    How to use it

    1. Paste your list, one item per line.
    2. Tick the clean-up steps and choose the order.
    3. Copy the result.

    Clean up a list

    Paste a list with one item per line and clean it in one go. Sort it, remove repeated lines and empty lines, trim extra spaces, shuffle it or add numbers.

    Combine the steps

    Tick the steps you want and choose their order. For example, trim the spaces first, then remove duplicates, then sort, so that items that differ only by a space are counted as the same.

    Typical uses

    Cleaning an email list, preparing keywords, sorting names, removing repeats from a log and making a numbered list. Nothing is uploaded.

    Example: clean a mailing list

    Paste a list of emails, remove the blank lines, trim the spaces and remove duplicates, then sort it A to Z. A messy list of 500 lines becomes a clean one in one step. The same tools can add line numbers or shuffle a list.

    Quick tips

    Common problems and fixes

    Questions

    In which order are the steps applied?

    Trim, remove empty lines, remove duplicates, sort, then add numbers and the text before and after.

    Which line is kept when I remove duplicates?

    The first one. The order of the other lines does not change unless you sort.

    How is text sorted in Greek?

    The tool follows the rules of the language of this page, so Greek letters are sorted in Greek order and accents do not move a word out of place.