Nirmion
Help Find a tool

Measure visible text and encoded size

Character Counter

Count user-perceived characters, characters without whitespace, UTF-8 bytes, and lines locally, including safer handling for emoji and combined letters.

  1. 01Private by designYour text stays in this browser tab.
  2. 02Bounded and responsiveUp to 500,000 characters in each main text field.
  3. 03Ready to reuseCopy the result or download a branded TXT file.
No text upload to Nirmion

Counting and transformations run locally. Nirmion does not send the text in this workspace to an API.

01 / Input

Paste the text whose length matters

Character limits vary: some destinations count code units, some Unicode code points, and some visible grapheme clusters. This tool reports grapheme clusters and UTF-8 bytes so the basis is explicit.

Complete the required fields to enable this action.

Runs in this tab without an API request.

Product guide

Choose the character definition your destination uses

A character is not always one JavaScript code unit. Nirmion prefers grapheme segmentation so joined emoji, accented combinations, and many user-perceived symbols stay together, while the byte total separately measures UTF-8 encoding.
Step A

Prepare the input

Paste the exact caption, title, message, identifier, or database value. Preserve spaces and line breaks when the target counts them, because both contribute to the total character measurement.

Step B

Choose the rule

The main total counts grapheme clusters. The no-space metric removes all whitespace before counting. UTF-8 bytes are calculated with TextEncoder and can be larger than the visible count for non-ASCII scripts and emoji.

Step C

Review the output

Match the relevant metric to the destination documentation. A platform that says characters may use UTF-16 code units rather than graphemes, so test the final value there when one character can determine acceptance.

How it works

Grapheme clusters for visible character intent

Intl.Segmenter with grapheme granularity groups base letters with combining marks and keeps supported emoji sequences together. A code-point fallback is used where segmentation is unavailable. Whitespace-free counting removes Unicode whitespace, and UTF-8 size is generated from the exact source string rather than estimated from visible symbols.

Useful when

Check limits before the final paste

Character measurement is useful anywhere a concise field, transport format, or encoded payload has a hard boundary.

  1. Check ad copy, metadata, app-store text, form answers, subject lines, captions, and profile bios before publication.
  2. Compare visible grapheme count with UTF-8 bytes when designing database columns, API limits, imports, or localization budgets.
  3. Inspect emoji-heavy or accented copy without incorrectly treating every underlying code point as a separate visible character.

Questions answered

Character Counter questions

Practical boundaries matter with text tools. These answers explain what is measured, what is retained, and when a manual review is still needed.

Why can UTF-8 bytes exceed the character count?

ASCII characters usually occupy one UTF-8 byte, while many accented letters, non-Latin scripts, and emoji require multiple bytes. A joined emoji can also contain several encoded code points while appearing as one grapheme.

Are spaces and line breaks included?

The main character total includes them. A separate metric removes whitespace first. Lines are also reported, allowing you to choose the value that matches the receiving field documentation.

Will this match a social platform exactly?

Not always. Platforms can apply weighted URL lengths, normalize text, or count UTF-16 units. Use this as a transparent preflight and confirm edge cases in the destination composer.

Privacy and retention

Your draft stays on your device.

Nirmion performs these operations with browser JavaScript. The workspace does not call the catalogue API with your source text, and completed-job content is kept only in this component memory for re-download.

A downloaded file remains in your browser downloads, device storage, backups, and any location where you share it. Clear or close the page when working on a shared device, and avoid pasting secrets into extensions or third-party clipboard managers.

Tool details

A Unicode-aware character counter with byte context

Nirmion Character Counter measures user-perceived grapheme clusters rather than blindly reporting JavaScript string length. It also reports a whitespace-free character count, UTF-8 encoded bytes, and line count. This combination is useful for writers, developers, localization teams, and anyone preparing copy for a constrained field.

The measurement runs locally for text up to 500,000 characters and can be downloaded as text_nirmion_tools_character_report.txt. Because external services may count code units or weighted content differently, the result should be compared with the final platform when the limit is strict.