文本清理器
清理文本
在浏览器中运行 · 无需上传
此工具及本页说明目前仍为英文。功能完全相同:一切都在你的浏览器中运行。
What to clean
你的浏览器版本过旧,无法运行此工具。请更新浏览器,或使用最新版的 Chrome、Edge、Firefox 或 Safari。
- 任何内容都不会离开你的设备
- 服务器不限制文件大小
- 无需注册,无水印
- 免费
How to clean up text
- Type or paste your text, or open a text file.
- Choose what to clean. The result updates as you change the options.
- Copy the clean text or download it.
What it can do
- Join lines into paragraphs, which fixes text copied from PDFs (words split with a hyphen at the end of a line are joined too).
- Remove extra spaces, tabs, invisible characters and empty lines.
- Remove duplicate lines, exactly or ignoring upper/lower case.
- Sort lines A → Z with numbers in the right order (2 before 10), Z → A, by length, reverse or shuffle.
- Remove HTML tags, straighten curly quotes, remove accents or emoji.
Your text stays in your browser
Nothing you type or paste is sent anywhere. It is processed on your device and disappears when you close the page.
常见问题
How do I fix text copied from a PDF?
Set "Line breaks" to "Join lines into paragraphs". Blank lines are kept as paragraph breaks.
Is there a size limit?
No server-imposed limit on text length. Very long texts update a moment after you stop typing.