Skip to main content
ASCII Art Generator

Word counter

Paste a caption, note or longer text. See its word and character counts as you edit, then copy or save the counts.

No account or text upload. Includes Unicode characters, not just ASCII.

Words: 0 / Characters: 0

0 / 50,000 UTF-16 units. Text is not saved.

How counts work

Your counts

Words
0
Characters (graphemes)
0
Without whitespace
0
Logical lines
0
Unicode code points
0
UTF-8 bytes
0

Copy and TXT include these six labeled counts, not your text. Words use English segmentation; characters are grapheme clusters, not display columns.

What counts as a word or character?

Words are word-like segments from your browser's English Intl.Segmenter. Numbers, including keycap digit emoji, count as word-like. The joined emoji in the worked example does not. This is a fixed English rule, not language detection. Counts can differ from another editor or browser's Unicode version, especially for other languages and punctuation.

Characters are grapheme clusters: a letter with a combining accent or a joined emoji sequence can count as one character but contain several Unicode code points. Without whitespace excludes clusters made entirely of JavaScript whitespace, including spaces, tabs and line breaks. Neither count measures screen width or a platform's posting limit.

Logical lines count CRLF as one ending, and lone CR or LF individually. Empty input has zero lines; a final line ending creates an empty final line. Soft wrapping does not add lines. UTF-8 bytes are the encoded size of the text in this field, not the size of an original file. Browser text fields normally turn pasted CRLF or CR into LF before counting.

Need to find hidden characters rather than just count them? Use the Unicode inspector. To change capitalization, try the case converter; for large text-art lettering, use Text to ASCII.

An accent and an emoji, counted separately

Try sample loads these two lines only when your input is empty. The accent in the second line is a separate combining code point. The woman-technologist emoji contains a joiner.

Hello world!
Café 👩‍💻
Words: 3
Characters (graphemes): 19
Without whitespace: 16
Logical lines: 2
Unicode code points: 22
UTF-8 bytes: 31

Limits, exports and your text

Up to 50,000 UTF-16 input units, not 50,000 graphemes. Longer input stays in the field with an error; no partial counts are exported. Incomplete Unicode characters are rejected because valid UTF-8 cannot preserve them. A browser without the required segmentation or encoding APIs shows an error rather than approximate counts.

Copy and TXT contain the current six labeled counts only, never your input. TXT is UTF-8 without an added byte-order mark or final newline. If copying is blocked, select the raw count report shown by the error or use TXT. A download-started message is not a guarantee that your device saved the file.

Your input stays in this page's memory, not links, saved settings or analytics events. It disappears when you leave or reload; copy the original text yourself if you need it. Site resources and analytics still make requests; see data handling.

Technical references: MDN on Unicode text segmentation and UTF-8 encoding with TextEncoder.