TypeMay / Practical tools

Every character counts. Differently.

Count words, visible character clusters, code points, lines and UTF-8 bytes. Choose the text language to guide browser word segmentation.

See a worked example ↓

01 / The workspace

A fresh start for your text.

Local processing · No account
Editable · sample text
Live preview
0characters*
0words*
0code points
0lines
0UTF-8 bytes

* Characters are grapheme clusters; words use your browser’s language-aware segmentation. Counts may vary by language and browser. How counting works ↗

The small details

RemovedAdded

    ⌘ / Ctrl + Enter to apply · ⌘ / Ctrl + Shift + Z to undo an action · Files and pasted text stay on your device.

    Sample loaded. Change a setting to see its effect.

    Presets & saved workspaces On this device

    Nothing is saved automatically. A saved workspace contains private text and settings in this browser profile. There is no account or cloud sync. Export a backup before clearing browser data.

    Reusable cleanup presets

    Presets save settings only. Saving the same name never silently replaces an item.

    Saved text workspaces

    Saves original text, cleanup settings, text language and direction using the existing TypeMay project format. Local fonts and undo history are not saved.

    A complete library export includes the private text in saved workspaces.

    Saved items are loaded only when you choose to restore them.

    Example: one accent, different byte counts

    Paste each sample without an added newline. With Unicode normalization off and a browser that supports grapheme segmentation, both show one character and one word. The decomposed version has an extra code point and byte.

    é: 1 character · 1 code point · 2 UTF-8 bytes
    é
    e + combining acute: 1 character · 2 code points · 3 UTF-8 bytes
    é

    Both samples occupy one line. These counts describe the preview, so turning on NFC normalization can change the decomposed sample to the precomposed form. Use the Unicode inspector to see exactly which values changed.

    Five useful counts

    Why not split on spaces?

    Languages such as Chinese, Japanese and Thai do not separate every word with spaces. TypeMay uses Intl.Segmenter for language-aware segmentation. Browser versions and their language data can produce different counts. These values are not a guarantee of any publisher’s word-count policy.

    Emoji, accents and limits

    A combined accent and its base may count as one character but two code points. Some emoji are a whole sequence. If the browser lacks Intl.Segmenter, word and grapheme counts show a dash instead of a misleading space-based estimate. Code-point and byte counts still work.

    The input limit uses UTF-16 units, a JavaScript string measure that is different from all five displayed counts. The current cap is 100,000 units. Counts describe the current preview, so cleanup may change them.

    For a character-by-character view, use the Unicode inspector.

    Usage count settings

    Optional usage counts are off until you choose Allow.

    Count tool use without your text, files or a visitor ID. Change your choice at any time. This preference lasts up to 180 days on this browser. Read about usage counts.