Text Size Calculator
Size is measured in UTF-8 bytes — the way files are stored. Characters with accents or emoji count as more than one byte each.
Everything runs in your browser — nothing is uploaded, saved or shared.
How to use the Text Size Calculator
Paste your text into the box — or upload a .txt, .md, .csv or similar text file — and the size updates as you type. You get the size in bytes, KB or MB (UTF-8), the size without spaces, and character, word, line and sentence counts.
Worked example
“Hello, world! This is a short sample text.” is 42 characters and 42 bytes — plain English is one byte per character. Add an emoji and the byte count jumps by 4 for that one character, while the character count only rises by 1 (or 2, depending on how the emoji is counted). A 1,500-word article at roughly 6 characters per word is about 9,000 bytes, or 8.8 KB.
Frequently asked questions
Why is the byte count different from the character count?
Because size is measured in UTF-8 bytes, the way files are stored. Plain English letters are 1 byte each, but accented letters take 2 bytes and most emoji take 4. So a text with emoji is bigger in bytes than its character count suggests.
What is the difference between KB and KiB?
This tool uses the binary sizes most systems report: 1 KB = 1,024 bytes, 1 MB = 1,024 KB. Some contexts use 1 KB = 1,000 bytes, which is why the same file can be listed at two slightly different sizes.
Is my text or file uploaded anywhere?
No. The counting happens entirely in your browser, and an uploaded file is read on your device only. Nothing is sent, stored or shared.
Limitations
The tool counts the text you give it, exactly as pasted — it cannot measure a file on a website, a PDF, or a formatted Word document (paste the text out of those instead). Byte counts use UTF-8; a file saved in another encoding could report a different size on disk. See our Disclaimer and Privacy Policy. Browse the full tools directory.
By using this tool, you agree to our Terms of Service, Disclaimer and Privacy Policy.