Paste or type text to see its byte count across different encodings. Compare UTF-8, UTF-16, and ASCII byte sizes side by side.
Features
Multi-Encoding — See byte counts for UTF-8, UTF-16, and ASCII simultaneously.
Human-Readable Sizes — Shows bytes converted to KB, MB, or GB as appropriate.
Full Statistics — Character count, word count, and line count alongside byte information.
Encoding Selector — Switch the primary display between UTF-8, UTF-16, and ASCII.
Common Use Cases
API Limits — Check payload sizes against API request body limits.
Database Constraints — Ensure text fits VARCHAR or column byte limits.
Encoding Comparison — Understand how different encodings affect storage for multilingual text.
Performance — Estimate bandwidth for text-heavy applications.
Why Use This Tool
Characters and bytes are not the same thing. A single emoji can be 4 bytes in UTF-8. This tool shows the real byte cost of your text across different encodings, preventing surprises in production.