文本行排序
按行排序并支持去重
🔒 100% client-side — your data never leaves this pageLines Input
Sorted Output
Sorted lines will appear here
🔒 100% client-side
About this tool
对文本进行逐行排序,支持升序/降序、忽略大小写和去重选项。适合日志清洗、关键词列表整理、配置项标准化和文本数据预处理场景,可快速得到可复制的整洁输出。
Frequently Asked Questions
Can I remove duplicate lines while sorting?
Yes. Enable duplicate removal to keep unique lines only in the sorted output.
How does ignore-case sorting work?
It compares lines using lowercase values so uppercase and lowercase variants sort together.
Will empty lines be preserved?
Current behavior ignores blank lines to keep output clean and predictable.