ตัวจัดรูปแบบและโค้ด
จัดเรียงบรรทัด
ตัวจัดเรียงบรรทัดฟรี จัดเรียงบรรทัดข้อความตามตัวอักษร, ความยาว, ตัวเลข หรือย้อนกลับ เลือกได้ว่าจะคำนึงถึงขนาดตัวพิมพ์หรือไม่ ทำงานในเบราว์เซอร์ของคุณ
Runs in your browser
Input lines · source
lines: 0chars: 0size: 0 B
Sorted · result
lines: 0chars: 0size: 0 B
live
หมายเหตุจากบรรณาธิการ
Understanding · Sorting strings is harder than sorting numbers.
บทเชิงลึกนี้มีให้บริการเฉพาะภาษาอังกฤษในขณะนี้ เครื่องมือแปลงด้านบนทำงานในภาษาของคุณ บทความอธิบายแบบยาวยังไม่ได้แปล
คำถามที่พบบ่อย
Quick answers.
›Can I sort numerically?
Yes — numeric mode sorts '2' before '10' (unlike alphabetical, which puts '10' first as a string).
›Is sorting case-sensitive?
Toggle as needed. Case-insensitive by default — 'Apple' and 'apple' sort together.
›Does it remove duplicates too?
No — use our Remove Duplicates tool for that. Sorting preserves all lines.
›Is my text uploaded?
No — sorting runs entirely in your browser.
›Is the sorter free?
Yes — fully free, no signup.
ผู้คนยังค้นหา
เครื่องมือที่เกี่ยวข้อง
More in this room.
- เครื่องมือทดสอบ Regexทดสอบ JavaScript regular expressions แบบเรียลไทม์
- ตัวแปลง CasecamelCase, snake_case, kebab-case และอื่นๆ
- ตัวตรวจสอบข้อความที่แตกต่างกัน (Text Diff Checker)เปรียบเทียบข้อความสองส่วนทีละบรรทัด
- ตัวนับคำและอักขระนับคำ, อักขระ, ประโยค, เวลาอ่าน
- ลบบรรทัดที่ซ้ำกันลบบรรทัดที่ซ้ำกันโดยคงลำดับเดิมไว้
- กลับข้อความกลับอักขระ, คำ หรือบรรทัด