⚡ Curated dev resources & dealsSponsored
DevToolBayFree Developer Tools

文本去重工具

按行去重:忽略大小写、trim 后比较、跳过空行三种开关,实时统计去除了多少行,保持首现顺序。

Trim whitespace
Ignore case
Remove empty lines
Sort result

Notes

Uniqueness is decided on the cleaned value (after trim and case-folding, if enabled) but the original first occurrence is what gets output — “Keep original text” is automatic. Empty lines are considered duplicates of each other and by default removed entirely. Sorting happens after deduplication.

如何使用文本去重工具

按行粘贴文本,重复项实时消失,默认保留首次出现的顺序。三个开关各管一事:忽略大小写、比较前先 trim(行尾空格不再骗过判重)、跳过空行,计数器实时告诉你删掉了多少行。

排序输出开关给你一份既去重又有序的清单。用它的地方远不止日志:清理关键词列表、合并常见重复行的导出文件、或把调研回答压平后再交给下一个系统。

相关工具