ลบช่องว่าง
เครื่องมือลบพื้นที่ว่างฟรี ลบช่องว่าง, ยุบช่องว่างที่ซ้ำกัน, ลบพื้นที่ว่างทั้งหมด, หรือลบรายการว่าง เลือกโหมดและคัดลอกข้อความที่ทำความสะอาดแล้ว
Runs in your browserUpdated Apr 26, 2026
Trim each line
Input
Output
คำถามที่พบบ่อย
›What's the difference between trim and strip?
Trim removes leading/trailing spaces only. Strip removes every whitespace character including those between words.
›Does it handle tabs?
Yes — tabs, regular spaces, non-breaking spaces and other Unicode whitespace are all handled.
›Will it remove blank lines?
Yes — pick the 'remove blank lines' mode to drop any line containing only whitespace.
›Is my text uploaded?
No — runs entirely in your browser.
›Is the tool free?
Yes — fully free, no signup.