Text Size Calculator & File Size Checker
Find the exact byte size of any text (UTF-8), or drop in a file to check its size, instantly and privately.
โ 100% Freeโ No Signupโ No Watermarkโ Unlimited Use
How Big Is Your Text, Exactly?
This text size calculator tells you the precise size of any string in bytes, kilobytes and megabytes as UTF-8, the encoding used by databases, APIs and the web. It also measures text length in characters, words and lines as you type, so you can see how much storage your content really needs.
Why bytes and characters differ: emoji and non-Latin characters take 2-4 bytes each in UTF-8, so "10 characters" can be 40 bytes. That's exactly what trips up database field limits (VARCHAR), SMS segmentation, HTTP headers and API payload caps, and what this tool makes visible.
Need a file size checker instead? Use the file button: it reads the size locally through your browser's File API. The file is never uploaded anywhere.
How to Use the Text Size Calculator
- 1Paste or type your text, size updates live as you type.
- 2Read the UTF-8 byte size, exact byte count, characters, words and lines.
- 3To check a file, click Or check a file's size and pick any file, its exact size shows instantly, without uploading.
Why Use MakeToolz's Text Size Calculator?
True UTF-8 bytes
Measures real encoded size, emoji, accents and CJK characters counted correctly at 2-4 bytes.
Live as you type
Stats update on every keystroke; no button-pressing needed.
File size checker
Check any file's exact size in bytes/KB/MB locally via the File API, nothing is uploaded.
Five metrics at once
Bytes, human-readable size, characters, words and lines in one view.
Private
All measurement happens in your browser.
Free
No limits, no signup.
Bytes vs Characters: Why Text Size Is Not What You Think
Text size is measured in bytes, not letters, and the two rarely match. A byte is the basic unit of computer storage. In UTF-8, the encoding that runs almost the entire web, a plain English letter takes one byte, but an accented letter takes two, most Chinese, Japanese, and Korean characters take three, and an emoji usually takes four. So a 10-character message with two emoji is not 10 bytes, it is closer to 18. This calculator encodes your exact text the way a server would, then reports the true UTF-8 size in bytes, KB, and MB, alongside a plain character count so you can see the gap.
Who Needs a Byte Count, and When
Developers hit byte limits constantly. A database VARCHAR column, an HTTP header, a cookie (4 KB cap), an API request body, and a JSON payload are all measured in bytes, not characters. Save a Japanese name into a field sized for 20 characters and it can overflow because each character eats three bytes. Marketers and support teams run into the same wall with SMS: a text message that looks short can silently split into billable segments the moment one emoji is added. Anyone estimating storage, upload caps, or bandwidth needs the byte figure, and this tool gives it before the limit bites.
How the Measurement Works
The tool passes your text through the browser's built-in UTF-8 encoder and measures the resulting byte length locally, the same math a server performs on arrival. No text is uploaded. The file button uses the browser File API to read a file's size metadata from your device, so you can check any file's exact size without sending it anywhere. Kilobytes here follow the binary convention: 1 KB equals 1024 bytes, matching how Windows reports file sizes.
UTF-8 Byte Sizes at a Glance
| Character | Example | UTF-8 bytes |
|---|---|---|
| Basic Latin letter or digit | A, z, 7 | 1 |
| Accented Latin letter | e-acute, u-umlaut | 2 |
| Greek or Cyrillic letter | alpha, zh | 2 |
| CJK character | Han character | 3 |
| Most emoji | coffee cup, smiley | 4 |
SMS Segments and Character Limits
One SMS holds 160 characters using the standard GSM-7 alphabet. Add a single unicode character, such as an emoji or a curly quote, and the whole message switches to UCS-2, which caps a segment at just 70 characters. Longer messages split into linked segments of 153 or 67 characters each, and every segment is billed separately. Checking your text here first tells you whether a message fits one segment or quietly costs triple. For plain writing limits like bios and captions, pair this with the word counter, which counts words, sentences, and characters as you type.
Benefits and Limits
The strengths: you see five metrics at once, the count is live, and it is genuinely private because nothing leaves your browser. The limits: the byte figure is UTF-8 only, so if your system uses UTF-16 (some Windows and Java internals) or a legacy encoding, the on-disk size will differ. The file checker reads size, not content, so it cannot compress or inspect the file. For raw text processing before you measure, tools like remove HTML tags help strip markup so you size the words, not the code.
Common Mistakes and Tips
The biggest mistake is assuming one character equals one byte and sizing a database field or an SMS by character count. Another is copying text from a word processor, which often smuggles in invisible non-breaking spaces and smart quotes that each cost two or more bytes. Tip: if a value must fit a strict byte budget, test the longest realistic input, not a short sample, since one emoji or one accented name can push it over. Tip: to shrink a payload, plain ASCII is always the smallest, so replacing curly quotes and em spaces with plain ones trims real bytes.
People Also Ask
How many bytes is a single emoji?
Most emoji are four bytes in UTF-8. Some newer emoji built from several code points joined together, like certain flags or family emoji, can run to 8, 16, or more bytes because they are technically a sequence of characters.
Is a kilobyte 1000 or 1024 bytes?
It depends on convention. This tool uses the binary standard where 1 KB is 1024 bytes, matching Windows. Storage makers and some network tools use the decimal standard where 1 KB is 1000 bytes, which is why a "500 GB" drive shows less space.
How do I count bytes in a string?
Encode the string as UTF-8 and count the resulting bytes, which is exactly what this tool does. Do not count characters, because multi-byte characters like accents and emoji will make the character count too low.
Why does my text fit the character limit but get rejected?
The limit is probably measured in bytes, not characters. If your text contains accents, emoji, or non-Latin script, its byte size can be two to four times its character count and exceed the real cap.
What is the maximum size for an HTTP cookie?
Browsers cap a single cookie at about 4096 bytes, including the name and value. Because that limit is in bytes, storing unicode data uses up the budget faster than plain text does.
Does whitespace count toward text size?
Yes. Spaces, tabs, and line breaks are real characters and each takes at least one byte. Trailing spaces and blank lines add up in large files, so trimming them reduces the byte size.
How big is one page of text in bytes?
A typical double-spaced page of about 250 English words is roughly 1.5 to 2 KB of plain UTF-8 text. Formatting, unicode characters, and markup increase that figure, so paste your actual page to see the exact size.
Frequently Asked Questions
Why is the byte count higher than the character count?
How do I check a file's size without uploading it?
What size is one SMS message?
Does a KB equal 1000 or 1024 bytes here?
How many characters or bytes is my text?
Related Free Tools
More Text Utilities
Sentence CounterSocial Media Character CounterText Diff CheckerWord Frequency CounterRemove Duplicate LinesRemove Line BreaksAlphabetize ListRemove HTML TagsRemove AccentsText RepeaterLorem Ipsum Generator