About this tool
Type or paste text to see its length update live: characters with and without spaces, letters, digits, words, lines and the size in UTF-8 bytes. Pick a limit such as an SMS, a post on X, or a page title, and a bar shows how much room is left. Emoji and accented letters count as one character each, the way people see them.
How to use Character Counter
- Type or paste your text into the box.
- Read the counts in the tiles above.
- Optionally choose a length limit to see how many characters remain.
Frequently asked questions
Why do the character count and UTF-16 count differ?
Some characters, like many emoji, are stored as two or more code units. The main counter counts what you see on screen, while the UTF-16 figure is what JavaScript's length and some databases report.
Is the X/Twitter count exact?
It is close for plain text. X counts every link as 23 characters and weights some scripts differently, so treat the bar as a guide for posts with links or CJK text.
Why would I need the byte count?
Database columns, SMS encodings and some APIs limit size in bytes rather than characters. Non-Latin letters and emoji take 2–4 bytes each in UTF-8.