Start a project

Tool 334 of 425 · Text lists

Line Sorter & Deduplicator

Sorts, dedupes, trims and shuffles any list of lines and tells you how many duplicates and blanks it removed.

Line Sorter & Deduplicator

Your input

Result

Result

    01

    What it does

    Sorts, dedupes, trims and shuffles any list of lines and tells you how many duplicates and blanks it removed.

    • A–Z, Z–A, natural, length, numeric, reverse and shuffle
    • Remove duplicates, optionally ignoring case
    • Trim spaces and drop blank lines
    • Counts of what changed

    02

    Private by design

    Everything happens in your browser. Nothing you type, paste or upload is sent anywhere, and it keeps working offline once the page has loaded.

    03

    What you get

    The cleaned list, with a Copy and a Download button on every result.

    • Sort lines
    • Remove duplicates
    • Text lists

    Why it matters

    Keyword lists, email exports, URL lists and log extracts all need the same clean-up: sort, remove duplicates, drop blanks.

    Natural sort puts file2 before file10, which a plain A–Z sort gets wrong.

    How to use it

    1. Type or paste your input; the example shows the format.
    2. Press Sort lines. Results also update as you type.
    3. Read the summary line, then the table, notes or output below it.
    4. Copy or download what you need. Nothing leaves this page.

    FAQ

    What is natural sort?

    It compares numbers inside text by value, so item2 comes before item10.

    Is my list uploaded?

    No. Sorting runs in your browser, so it's safe for customer lists.

    Is my input uploaded?

    No. The tool runs in your browser and nothing you type, paste or open is sent anywhere.

    Can I rely on the result?

    It follows the public specification or formula named on this page and says where it simplifies. Check anything critical against the official tool or documentation before you ship it.

    Work with me

    Want a site that gets these right?

    I build fast, accessible websites and web apps that pass these checks from day one. Tell me about your project and I'll reply personally with honest next steps.

    All developer tools · Back to leej.uk