Text size calculator
| Size |
Text Size in Depth
Measures your text in bytes under UTF-8 — the encoding the web actually uses — alongside character and word counts. ASCII characters cost 1 byte each; accented letters cost 2; emoji and CJK characters cost 3–4. That "short" message with six emoji may be 40 bytes, not 6.
Where Bytes Bite
Database columns (VARCHAR(255) means bytes, not characters), API payload limits, SMS segmentation (a single emoji flips the whole message to UCS-2 encoding at 70 chars per segment), and tweet-length calculations. Every mysterious "too long" rejection is a bytes-vs-characters confusion.
Rule of Thumb
English prose: bytes ≈ characters. Anything multilingual or emoji-heavy: measure, do not guess.
How to Use the Text Size Calculator
This tool measures the exact byte size of your text in bytes, kilobytes, and megabytes using UTF-8 encoding — the encoding the web actually uses. It is essential for checking SMS segments, database field limits, API payload caps, and size budgets.
- Paste or type your text into the input box.
- Read the live readout: total bytes, plus the equivalent in KB and MB.
- Compare against your limit — a 160-character SMS segment, a VARCHAR(255) column, or a 1 MB API cap.
Example
Hello world is 11 bytes — one byte per character. Hello 🌍 is 10 bytes: the letters and space take 6 bytes while the globe emoji alone takes 4 bytes in UTF-8, which is why emoji-heavy messages hit size limits faster.
Frequently Asked Questions
Why is this different from the character count?
Characters and bytes differ in UTF-8: English letters are 1 byte each, accented characters usually 2 bytes, and most emoji 4 bytes. Systems enforce byte limits, not character counts.
How many SMS segments is my message?
One segment holds 160 GSM characters or 70 UCS-2 characters; longer messages split into smaller segments. Paste your exact message here to see its byte size first.
Does it count line breaks?
Yes — each line break counts as 1 byte, exactly as in a stored file or database field.