How to use
- Type your text.
- Character, byte, line, and word counts update automatically as you type.
π― Use Cases
- Check character limits for social media or other platforms β stay within limits like X's (Twitter) 280 characters or a blog title's 100 characters
- Check document or manuscript length β verify a submission or assignment meets a required character count
- Check UTF-8 byte size for storage sizing β confirm text fits within a DB column length (VARCHAR) or an SMS byte limit
- Validate meta description/title length β keep SEO fields within the recommended length so they don't get truncated in search results
Example
Input
Hello, μΈκ³! D3v 2026
Output
Chars 19 Excl. spaces 16 Bytes (UTF-8) 23 Lines 2 Words 4
Counts for a two-line input mixing Korean, English, and digits. The Korean word "μΈκ³" is 3 bytes per character, so the 19 characters total 23 bytes in UTF-8, and 16 characters remain once whitespace is excluded.
UTF-8 bytes per character type
| Character type | Bytes per char | Example |
|---|---|---|
| ASCII letters/digits/basic symbols | 1 byte | A, 1, ! |
| Korean (Hangul syllables) | 3 bytes | κ°, μΈ, κ³ |
| Most emoji | 4 bytes | π, π |
| Japanese Hiragana/Katakana | 3 bytes | γ, γ’ |
| Chinese characters (Hanzi) | 3 bytes | δΈ, ζ |
Character count and byte count aren't the same thing. In systems that enforce byte-based limits β DB columns, SMS sending β keep in mind that non-ASCII text like Korean or Chinese can take up nearly 3Γ the space of English text.
FAQ
- Does the character count include spaces?
- "Characters" includes spaces, while "Excl. spaces" excludes all whitespace characters.
- What encoding is the byte count based on?
- It's based on UTF-8 encoding. Non-ASCII characters like Korean typically take up 3 bytes per character β different from encodings like EUC-KR (2 bytes).
- Are emoji and special characters counted correctly as one character?
- In most cases, yes. This tool counts using the spread syntax (
[...text]), which respects surrogate pairs β so characters made of two UTF-16 code units, like many emoji, are still correctly counted as one character. - Is my text stored anywhere?
- No. It's calculated in real time entirely within your browser.
More Text Tools
π
Markdown Preview
Live-preview Markdown as HTML
π
URL Encoder/Decoder
Percent-encode/decode URL characters
βοΈ
Find & Replace
Search & replace with regex support
π
Text Diff
Compare two texts line by line
βοΈ
List Sorter
Sort a list & remove duplicates
π§
Email Extractor
Extract & dedupe emails from text
π
Case Converter
Convert to UPPER/lower/Title Case
π€
Fullwidth/Halfwidth Converter
Convert fullwidth chars β halfwidth ASCII
π
Unicode Inspector
Check code points & look up characters
π
Text to Decimal
Convert text β decimal code points
π§Ύ
Text to Hex
Convert text β UTF-8 byte hex
0οΈβ£
Text to Binary
Convert text β UTF-8 byte binary
π‘
ASCII Art Generator
Turn text into an ASCII art banner