URLTO GUIDE
Why character counts and UTF-8 bytes differ
Check byte-limited inputs separately. Equal-length Latin and Korean text can have different byte sizes.
URLTO editorial · Updated
Text counts · series03 / 10
Input and processing example
Compare it yourself · Illustrative example
A: 1 글자 / character · 1 byte 가: 1 글자 / character · 3 bytes 가 A: 3 글자 / characters · 5 bytes
Steps to verify
- Check the destination encoding.
- Enter the exact final string.
- Record characters and bytes separately.
How to interpret the result
URLTO counts UTF-8 encoded with TextEncoder. Do not assume equivalence with another encoding or the size of an entire file.
Deciding what to do next
Files can include headers and metadata. Do not substitute text bytes directly for file size.
Feature scope
Count code points, non-whitespace characters, UTF-8 bytes, whitespace-separated words and lines in the browser, not glyphs or every publishing service’s limits.
Frequently asked questions
Is every visible Korean glyph always three bytes?
The precomposed 가 here is three bytes. Check combined characters and the actual string separately.