Skip to content
Ad: top-banner (320x50)

Text Cleanup

Remove duplicates, sort, trim, strip HTML, and more — all in one tool

Your data never leaves your device
Operations
No operations selected
Input0 lines
Output0 lines

Operations apply in a fixed order: strip HTML → tabs/spaces → trim → collapse whitespace → remove empty → deduplicate → sort/reverse/shuffle → remove line breaks.

Ad: sidebar (300x250)
Ad: mid-banner (300x250)

Frequently Asked Questions

  • What operations does this support?

    Thirteen operations including remove duplicates, sort (A-Z, Z-A, numeric), shuffle, reverse, remove empty lines, trim whitespace, collapse whitespace, remove line breaks, strip HTML tags, and convert between tabs and spaces. Stack multiple operations — they apply in a defined order.

  • In what order are operations applied?

    Strip HTML first, then tab/space conversion, then trim, then whitespace collapse, then empty-line removal, then deduplication, then sort/reverse/shuffle, then line-break removal. This order is chosen so each step has a clean input to work with.

  • Is the shuffle truly random?

    Yes. Shuffle uses the Web Crypto API (crypto.getRandomValues) with Fisher-Yates, providing cryptographic-grade randomness. Math.random is not used.

  • Does text leave my browser?

    No. Everything runs locally in your browser. Your text is never sent to any server.