Skip to content
You're offline. Some features may not work.

Text Composition Analysis

Hanoon Character Counter

Every character, precisely counted. Every script, clearly mapped.

0 Characters

Input limit: 100000 UTF-16 code units. Some characters use multiple units.

0

Paste or type to reveal composition

Character count, script breakdown, and encoding sizes appear here

Features

Why Hanoon Character Counter

Real-Time Counting

Instant character, byte, and code unit counts as you type. Track platform limits in real time.

Unicode-Aware

Counts grapheme clusters correctly using Intl.Segmenter. Handles emoji, CJK, and combined characters accurately.

100% Private

All processing happens in your browser. Your text is never sent to or stored on a server; it is kept briefly in the current tab only when you switch languages.

How to count characters in your text

  1. Open Character Counter

    Go to character-counter.hanoon.app in your browser.

  2. Enter your text

    Type or paste your text into the input area.

  3. View character statistics

    Character counts (with and without spaces), byte sizes, and platform limit checks update instantly.

Frequently Asked Questions

How are characters with and without spaces and UTF-8 bytes counted?

‘A 가’ has 3 characters including the space, 2 excluding it, and 5 UTF-8 bytes. “Characters (no spaces)” removes only ordinary ASCII spaces (U+0020); “Characters (no whitespace)” also removes tabs, line breaks, and other JavaScript whitespace. Bytes measure the UTF-8 encoded text, not the character count.

How are emoji and combining characters counted?

With Intl.Segmenter, characters are counted as grapheme clusters: 👩🏽‍💻 is 1 character, 15 UTF-8 bytes, and 7 UTF-16 units. Both é and e + U+0301 (combining acute accent) count as 1 character, but use 2 and 3 UTF-8 bytes respectively. Without Intl.Segmenter, the tool counts code points instead, so combining characters and ZWJ emoji can produce different counts.

Is my text private?

Yes. All processing happens entirely in your browser. Your text is never transmitted or stored on any server.

What encoding information is shown?

The tool displays UTF-8 byte count, UTF-16 code unit count, URL-encoded length, and the number of unique code points in your text.

Can I use this for social media character limits?

Yes. The tool includes built-in platform limits for Twitter, Instagram, Facebook, YouTube, and more, showing how many characters remain or are over the limit.