Text Line Operations
Text line operations tool supports sorting, deduplication, filtering, prefixes, suffixes and line numbering for logs, lists and config preprocessing.
Operation Options
Sorting
Deduplication
Filtering
Other Operations
Filtering
Other Operations
Input Text
0 lines · 0 characters
Output Result
0 lines · 0 characters
Operation History
No operation history yet
Text Line Operations Guide
Text line operations tool helps batch-process multi-line text with sorting, deduplication, filtering, numbering, and formatting, suitable for logs, lists, configs, and script preprocessing.
Core Features
- Supports ascending, descending, length-based, and random sorting.
- Supports normal dedupe, case-insensitive dedupe, and trimmed dedupe.
- Supports contains, excludes, prefix/suffix match, and regex filtering.
- Supports batch prefix/suffix, line numbering, blank removal, and line joining.
Use Cases
- Log cleaning and duplicate line removal.
- Preprocessing user lists, keywords, and block/allow lists.
- Batch normalization of line-based configuration entries.
- Fast transformation of script argument lists.
Common Operation Notes
- Remove Empty Lines deletes only lines with no characters at all.
- Remove Blank Lines deletes both empty lines and lines containing only spaces or tabs.
- Remove Duplicates compares lines by original text and is case-sensitive by default.
- Deduplicate Ignore Case treats A and a as the same value.
- Deduplicate Trimmed removes leading and trailing spaces before comparing lines.
- Keep Unique Only keeps lines that appear exactly once and removes all repeated lines.
Tips
- Keep original text on the left and apply different operations as needed.
- Validate regex filters with a small sample before full processing.
- Use copy and download to continue processing in other tools.