免费在线行排序和重复数据删除工具
粘贴一个凌乱的列表(每行一个项目),然后按字母顺序对其进行排序,删除重复的条目,删除空行,并一次性删除空格。
对于清理 CSV 导出、日志文件、标签列表以及任何顺序和唯一性很重要的文本非常有用。所有处理都在您的浏览器本地进行。
Frequently Asked Questions
How does line deduplication work?
Deduplication removes duplicate lines while keeping one copy of each unique line. By default, the first occurrence is kept and later duplicates are removed. Case sensitivity can affect matching - Email and email may count as different lines depending on settings.
Can I sort lines in reverse order?
Yes. Dokall supports ascending (A-Z) and descending (Z-A) alphabetical sorting. Numeric lines sort lexicographically by default - 10 comes before 2 in plain alphabetical sort. For numeric sorting, ensure consistent formatting.
What does trim whitespace do?
Trim removes leading and trailing spaces and tabs from each line. This is useful when cleaning data copied from PDFs, web pages, or spreadsheets where invisible whitespace causes duplicate detection to fail.
Can I remove empty lines?
Yes. Enable the remove empty lines option to strip blank lines from your list. This is helpful after deduplication or when cleaning up exports that contain trailing newlines.
Is there a line limit?
No enforced limit. Processing runs in your browser. Lists with tens of thousands of lines work on modern devices. For extremely large datasets (millions of lines), command-line tools like sort -u are faster.