Emoji Counter
Count code points matching the Unicode Extended_Pictographic property.
How to use
- Enter text containing emoji and run the counter.
Capabilities and scope
The output is the regex match count, not the number of user-perceived emoji grapheme clusters.
How it works
It returns input.match(/\p{Extended_Pictographic}/gu)?.length or zero.
Example
๐๐ returns 2.
Useful for
- Quickly count basic pictographic code points in text
Before you use it
- One visually combined family or profession emoji can contain multiple pictographic code points and therefore count above one.
Frequently asked questions
Does the count always equal visible emoji?
No. It counts Extended_Pictographic code points rather than grapheme clusters.