TEXT · AmpCub text helper
Organize lines
Sort and dedupe list lines into a clean result.
Organize lists, remove duplicates, and sort them the way you want.
Local processing · source preserved · text is not uploadedProcessing rules, limits & privacy
- Processing order: trim edges → blank lines → deduplicate → sort → prefix / suffix. Deduplication keeps the first occurrence. Summary counts blank and duplicate removals separately without double-counting.
- Ignore case affects deduplication keys only and preserves original spelling; it does not merge every Unicode-equivalent form. Natural sorting uses zh-Hant collation with numeric order (2 before 10); CJK order can vary with browser locale data.
- Line endings normalize to LF and a trailing newline counts as a blank line. Visual wrapping is not a line. Empty output shows 0 lines, and prefixes / suffixes do not create lines in an empty document.
- Input limit: 100,000 UTF-16 units; result limit: 200,000. Some emoji use multiple units, so this is not a visible-character count. Oversized source is preserved without truncation. Results above the input limit can still be exported but cannot be applied as source.
- Undo keeps up to five tool actions and 500,000 UTF-16 units total, removing the oldest snapshots when needed. If a source is too large to preserve completely, overwrite actions are blocked; back it up first. Undo history can be cleared anytime.
- Text is processed only in local memory and a Worker. It is not uploaded, put into URLs, or written to device storage. TXT uses UTF-8. This page is not a backup system, and browser extensions are outside the tool's control.