Character counter
What you type stays in this browser.
Result
Characters are counted as code points. Lines are counted by line breaks.
What this counter measures
It counts four things in whatever you paste or type: characters including spaces, characters excluding spaces, the size in UTF-8 bytes, and the number of lines. Values update as you type — there is no calculate button.
What counts as a space
Tabs and line breaks are removed too, not just spaces. That is the number you want when a form says "N characters excluding spaces".
Why bytes differ from characters
In UTF-8 a Latin letter or digit is 1 byte, most accented letters are 2, and CJK characters are 3. So a 100-character CJK string takes 300 bytes. Byte limits show up in database columns, SMS gateways and older forms.
How emoji are counted
Characters are counted as code points, so a plain emoji like 😀 counts as 1. Emoji built from several joined symbols (families, flags) count as the number of parts they are made of. Counting rules differ between services — if the place you are submitting to has its own limit, check that one first.