ข้อความ
Character & Word Counter
สถิติข้อความแบบเรียลไทม์: จำนวนตัวอักษร (รวม/ไม่รวมช่องว่าง) คำ บรรทัด ประโยค ย่อหน้า และขนาดเป็นไบต์ (UTF-8)
This tool counts characters, words, lines, sentences, and paragraphs in real time as you type or paste text, and also shows the size in bytes under UTF-8 encoding.
What gets counted
- Characters with and without spaces — shown separately so you can check against limits like meta descriptions or tweets.
- Words — split on spaces and the punctuation between them.
- Sentences and paragraphs — split on terminal punctuation (. ! ?) and blank lines, respectively.
- UTF-8 byte size — useful when a limit is measured in bytes rather than characters (non-Latin text and emoji take more than one byte each).
Common uses
- Checking a meta description or title's length before publishing so it fits the search result limit.
- Keeping text within a character limit for an assignment, bio, or product description.
- Getting quick text stats without opening a text editor with a word-count panel.
Things to keep in mind
One visual "character" (like an emoji with a skin-tone modifier or a country flag) can be made of several Unicode code points and count differently depending on the counting method.
Social media and form limits sometimes count bytes or grapheme clusters rather than characters — check against this tool's byte counter if that matters.
บทความเกี่ยวกับเครื่องมือนี้: การนับตัวอักษรและคำ: ทำไม Unicode ทำให้ซับซ้อน
คำถามที่พบบ่อย
มีการคำนวณสถิติใดบ้างอย่างแม่นยำ?
เครื่องมือนี้นับอักขระทั้งที่มีและไม่มีช่องว่าง คำ บรรทัด ประโยค ย่อหน้า และขนาดข้อความเป็นไบต์แบบเข้ารหัส UTF-8
ทำไมจำนวนไบต์จึงต่างจากจำนวนอักขระ?
ใน UTF-8 อักขระละตินธรรมดาใช้หนึ่งไบต์ แต่อักขระซีริลลิก ตัวอักษรที่มีเครื่องหมายกำกับเสียง หรืออีโมจิอาจใช้สองถึงสี่ไบต์ ดังนั้นข้อความที่มีอักขระหลายไบต์จำนวนมากจะมีจำนวนไบต์สูงกว่าจำนวนอักขระอย่างเห็นได้ชัด
ข้อความของฉันถูกส่งไปยังเซิร์ฟเวอร์เพื่อวิเคราะห์หรือไม่?
ไม่ การคำนวณทั้งหมดเกิดขึ้นแบบเรียลไทม์ในเบราว์เซอร์ของคุณด้วย JavaScript ไม่มีอะไรถูกส่งออนไลน์
ทำไมการนับคำจึงไม่แม่นยำสำหรับภาษาที่ไม่มีช่องว่าง?
ในภาษาจีน ญี่ปุ่น หรือไทย คำไม่ได้ถูกแยกด้วยช่องว่างตามธรรมเนียม — ขอบเขตถูกกำหนดโดยไวยากรณ์และบริบท การนับตามช่องว่างสำหรับภาษาแบบนี้ให้ผลเป็น "คำ" เดียวตลอดทั้งข้อความ หรือไม่ก็ไม่มีความหมายเลย — ต้องใช้อัลกอริทึมแบ่งส่วนข้อความแยกต่างหาก
ทำไมอีโมจิหนึ่งตัวบางครั้งถึงถูกนับเป็นหลายอักขระ?
อีโมจิที่มีตัวปรับโทนสีผิวหรือธงประเทศใน Unicode ประกอบขึ้นจากหลายโค้ดพอยต์ที่รวมกันเป็นกลุ่มกราฟีมที่มองเห็นเป็นหนึ่งเดียว การนับแบบตรงไปตรงมาตามโค้ดพอยต์อาจนับอักขระที่มองเห็นเป็นหนึ่งเดียวนี้เป็นสอง สาม หรือมากกว่านั้น