Text cleanup

Local processing · No uploads

Trim ASCII whitespace, change case, remove empty lines, deduplicate and sort in a fixed order.

Order is trim → case → remove empty → deduplicate → sort. Numeric strings sort as 1, 10, 2.

Enter content, then choose an action.

Usage & limits

How to use

  1. Fill the labeled inputs and settings or insert an example, which waits for explicit execution.
  2. Choose the primary action and inspect status, result or errors. Cancel and edit when needed.
  3. Explicitly copy or download the complete current result. Execute again after changing input or settings.

Input and output examples

Input and result example
Example input
a
a
b
Expected output
a
b

Everyday tool dependency licenses and sources

Formats and limits

  • Fixed order is per-line ASCII space/tab trim → standard case conversion → empty-line removal → case-sensitive deduplication → UTF-16 lexical sort. Only deduplication is enabled by default, preserving the first occurrence.
  • Sorting compares strings, so 1, 10, 2 is ascending order. Case conversion is non-locale. CR/CRLF normalize to LF. A final separator is retained separately; removing all content lines succeeds with empty text.
  • Input is limited to 1 MiB UTF-8 and 20,000 content lines, output to 8 MiB, with a 5-second deadline. Copy and TXT contain the complete result, including a successful empty output.

Content is processed in this page, without uploads or site history. First load and on-demand assets need a network. Clear or leave to release tool content; browser-managed restoration is outside the tool’s control.

Browser agent usage

These are interactive browser tools, not HTTP computation APIs. Computation requires JavaScript; initial page and on-demand asset loading need a network.

Input method
Use labeled input, mode and option controls. Keep content, filenames and settings in this page, outside URLs and feedback.
Reading results
Confirm success in the status area before reading current results. TXT/copy provide complete output; the display may be a preview.

Supported operations

  • Explicitly execute or insert an example
  • Cancel, copy, download or clear

Locate inputs and buttons by their page labels. After an explicit action, wait for the status to finish before reading the current result. Fix failed input first; do not reuse old results after changing input or settings.

Common questions

Does deduplication ignore case?

Deduplication is case-sensitive. Selecting lowercase first makes A and a duplicates.

Feedback and suggestions

Leave a problem or suggestion for this tool.

Tool inputs stay local. Only text you explicitly enter in feedback is sent to a separate service and may become public after review. Email stays private to the maintainer.

Account-free feedback is not enabled yet. You can still use GitHub Issues (a GitHub account is required).

GitHub Issues ↗

Content reviewed:

Search tools