Text & Writing Tools

Text Cleanup Toolkit

Remove duplicate lines, sort, trim whitespace, strip HTML tags and reverse text.

Privacy

Everything runs inside your browser. Nothing you type or paste is transmitted, logged or stored — which matters for drafts, credentials and anything not yet public.

Tips

  • Duplicate removal compares trimmed lines, so trailing spaces do not create false uniques.
  • Numeric sort reads the leading number on each line, which handles "10. item" correctly where alphabetical sort puts it before "2. item".
  • Stripping HTML removes tags but keeps the text between them. It is not a sanitiser — do not rely on it for security.

Frequently asked questions

Does removing duplicates keep the first or last occurrence?

The first. Later duplicates are dropped, so the original ordering of the surviving lines is preserved.

Related tools