Character Counter

Paste or type your text to check characters with or without whitespace, words, lines, and UTF-8 bytes.

How to use

  1. Type or paste the text you want to count.
  2. Review the character, word, line, and UTF-8 byte totals.
  3. Copy the text or save it as a TXT file when needed.

Character counter input area

Not saved
No saved draft
Set character goal
0 Characters
0 Without spaces
0 Words
0 Lines
0 UTF-8 bytes

Japanese script breakdown

0Kanji
0Hiragana
0Katakana
More character types
0Latin letters
0Digits
0Whitespace
0Other

How the totals work

“Without spaces” excludes spaces, tabs, line breaks, and other whitespace. An empty input has 0 lines; once text is entered, line breaks separate the lines. UTF-8 bytes measure encoded data size, so that total can be larger than the character count.

Good for

Check the length of drafts and social posts, prepare text for fields with limits, or keep track of a writing goal.

About this tool

Your text is processed only in your browser and is never sent to a server.

Back up important text separately. Browser data deletion may remove autosaved drafts.

Count Japanese text without changing it

The original character, word, line and UTF-8 byte totals still work for any text. The script breakdown counts each Unicode code point once. Kanji includes Han letters also used in other languages; hiragana and katakana letters are separate, including half-width katakana.

Marks, punctuation, emoji and shared kana signs such as the long vowel mark are Other. A composed voiced kana is one letter; a separate combining accent or half-width voicing mark counts separately as Other. A joined emoji can therefore contain several code points. The counter does not normalize or rewrite your text.

These are character counts, not a reading, translation or guaranteed word count for Japanese. Use the list-cleaning guide when full-width and half-width entries need to match.

Continue this task

Try a use case and check the result

Check a post or draft against a character limit and distinguish character counts from data size.

Try this example replaces the input and settings. Restore previous input returns to the state before the latest example. Normal draft-saving rules apply.

After trying multiple examples, repeat Restore previous input to return to your original input. History is kept only in this page; restore any input you need before closing it.

Emoji and a line break

Input and settings

A😀
猫

Expected result

4 characters, 3 without whitespace, 2 lines, 9 UTF-8 bytes.

Combining mark versus precomposed kana

Input and settings

が
が

Expected result

4 characters, 3 without whitespace, 2 lines, 10 bytes. The first kana is one code point; the second uses kana plus a combining mark.

A family emoji that looks like one symbol

Input and settings

👨‍👩‍👧‍👦

Expected result

7 characters, 7 without whitespace, 1 line, 25 bytes: four people and three joiners.

How to read the result

Characters counts Unicode code points. A newline counts as one character; a trailing newline adds an empty line. Without whitespace excludes spaces, tabs and line breaks. Word counts depend on the browser’s language segmentation.

Scope and pitfalls

This is not a grapheme count or a platform-specific weighted count. Input is not automatically normalized, so visually identical text can count differently. Check the destination’s own limit before submitting.

Verified against the existing countTextMetrics code-point count, line handling and TextEncoder UTF-8 length.

Continue with the next task

Frequently asked questions

Is my text sent to a server?

No. Counting and draft storage take place only in your current browser.

Where is the autosaved text stored?

It is stored in your current browser's local storage and is not shared with other devices or browsers.

Does “Without spaces” also exclude line breaks?

Yes. Spaces, tabs, line breaks, and other whitespace characters are excluded.

Related tools

Inputs and storage

Keep a separate copy before clearing or resetting. This browser autosaves entered text and the character-count goal. Data is not restored when read 30 days or more after its last save. Clearing site data or storage restrictions may remove it sooner.

Favorites and language preferences are stored separately and may be lost when site data is cleared. Tool resets and site-data deletion do not delete files already downloaded to your device.

Explore tools & games

All 120 tools · 16 games

All 120 tools · 16 games

Text & writing 26

Calculators & converters 22

Date & time 12

Images & PDF 26

Data & web 28

Random & handy 6

Games 16