Character count

Character count tool

Simply paste your text to quickly check the character count, byte count, and word count.

Count results
0
Character count
Counting method
When enabled, the browser's HTML parser will parse the content as HTML and count the body text, excluding tags, scripts, styles, and other elements.

About this tool

You can count the word count of text in real time in your browser for social media posts, ad copy, article titles, meta descriptions, HTML body text, and more.

  • Both full-width and half-width characters are counted as "1 character." Surrogate pairs, such as emojis, are also treated as 1 character.
  • The byte count displays the size when encoded in UTF-8.
  • When you enable "Remove HTML tags," you can see the amount of text that is visually similar to the main body of the HTML.

How to use the character count tool

When you enter or paste text into the text area, the results will automatically update based on the selected counting method.

  1. Paste the text, code, or HTML you want to count into the text area.
  2. Select the unit you want to check from character count, byte count, or word count.
  3. If you want to count only the HTML body, turn on "Count without HTML tags."

Points to note when counting

  • Character counts are based on JavaScript code points, so both full-width and half-width characters are counted as a single character.
  • If the browser supports it, Intl.Segmenter is used to break down text containing Japanese into individual words. For browsers that do not support it, a simplified method is used.
  • HTML tag removal is performed by parsing the HTML rather than using regular expressions; however, in cases of severely broken HTML, the result depends on the browser’s correction.

Frequently Asked Questions

Are full-width characters counted as two characters?

No. When counting by character count, both full-width and half-width characters are counted as one character each. If you select "By byte count," you can check the number of bytes in UTF-8.

Does removing HTML tags simply mean deleting the content between the "<" and ">" tags?

No. It parses the HTML using the browser's DOMParser, extracts the body text, and counts it. The contents of `script`, `style`, `noscript`, and `template` tags are excluded.

Will the text I enter be sent to the server?

Counting is handled by JavaScript in the browser. The system does not submit forms containing text to the server; it only processes standard input and option changes.