Skip to main content
T

Text Size Calculator

Calculate the byte size of your text in UTF-8, UTF-16, and ASCII encodings. Also shows character count, word count, and line count.

Characters
0
Words
0
Lines
0
UTF-8 Bytes
0
UTF-16 Bytes
0
ASCII Bytes
0
ASCII Compatible
Advertisement

How to use Text Size Calculator

  1. Paste or type your text into the input box.
  2. View the live metrics: characters, words, lines, and byte sizes.
  3. Edit your text and watch the metrics update instantly.

What is Text Size Calculator?

This tool calculates the exact byte size of text in different character encodings. UTF-8 uses 1-4 bytes per character, UTF-16 uses 2 or 4 bytes, and ASCII uses 1 byte per character (only for characters below U+0080).

It also provides a quick summary of character count, word count, and line count, making it useful for developers checking payload sizes, content writers monitoring length, and anyone working with text encoding constraints.

Advertisement

FAQ

What's the difference between UTF-8 and UTF-16?
UTF-8 uses 1 byte for ASCII characters and up to 4 bytes for other Unicode characters. UTF-16 uses 2 bytes for most characters and 4 bytes for supplementary characters (emoji, rare scripts).
Why is the ASCII size sometimes N/A?
ASCII only supports characters with code points below 128. If your text contains any Unicode characters (accented letters, emoji, non-Latin scripts), it cannot be represented in pure ASCII.

Related tools