ToolHub
เปิดเครื่องมือ

เครื่องมือจัดเรียงข้อความ

จัดเรียงบรรทัดตามตัวอักษร ตัวเลข หรือความยาว

เครื่องมือข้อความ

เกี่ยวกับเครื่องมือนี้

Text Sorter is an online tool that sorts your lines of text alphabetically or numerically, in ascending or descending order. It offers options to trim whitespace, remove empty lines, and deduplicate entries, making it perfect for organizing lists, cleaning up data, and preparing sorted output. All processing runs locally in your browser.

คุณสมบัติหลัก

แสดงตัวอย่างอย่างรวดเร็ว

กรณีการใช้งาน

text

คำถามที่พบบ่อย

เครื่องมือจัดเรียงข้อความคืออะไร?

The Text Sorter is an online text tool that sorts lines alphabetically, numerically or by length. It runs entirely in your browser with no data sent to any server.

มีวิธีการจัดเรียงอะไรให้เลือกบ้าง?

The tool supports alphabetical (A-Z and Z-A), numerical, and by-line-length sorting. Alphabetical sort handles text naturally, numerical sort interprets lines as numbers, and length sort orders lines from shortest to longest.

ตัวเลือกการลบรายการซ้ำทำงานอย่างไร?

When enabled, any duplicate lines are removed after sorting, keeping only the first occurrence. This is useful for cleaning up lists and ensuring each entry appears only once in the sorted result.

Does trimming spaces affect the sort order?

Yes. When the trim option is enabled, leading and trailing spaces are removed from each line before sorting. This ensures that lines with extra spaces are sorted correctly rather than being treated differently due to whitespace.

Can I sort numbers correctly?

Yes. Use the Numerical sort mode to sort lines as numbers rather than as text. For example, with numerical sorting '2', '10', '100' are ordered correctly as 2, 10, 100, whereas alphabetical sorting would order them as '10', '100', '2'.