Ir al contenido principal
Develop Tools
← Volver a la guía de uso

Cómo contar caracteres, palabras, líneas y bytes UTF-8

Additional information for this feature.

Input
Input

When this guide is useful

For people searching for "counting characters," "counting characters without spaces/lines/words," and "counting UTF-8 bytes," we will explain the differences between each index and how to check them.

  • I want to check the character limit for reports, SNS posts, and application texts.
  • I want to compare the number of characters, lines, and paragraphs, including and excluding spaces.
  • I want to check the UTF-8 byte count before registering the API or database.

How to use indicators

indicatorsUsos principales
Número de caracteresSNS post, title, description
Number of characters excluding spacesAdditional information for this feature.
PalabrasSentences separated by spaces such as English
Number of lines/paragraphsScript, subtitles, configuration files
Bytes UTF-8DB, API, file capacity limits

Procedimiento de confirmación

  1. Paste the target text into the input field.
  2. Additional information for this feature.
  3. Additional information for this feature.
  4. Double-check the modified values and copy the results if necessary.

Differences between services

Emoji, variant characters, combined characters, URL shortening, etc. may be counted according to the service's own rules. The exact posting limit will also be confirmed in the preview of the service you will eventually enter.

Input

Specific example: Checking a form with an input limit of 400 characters

Check whether the service counts line breaks and spaces as one character, and how many characters it treats emojis. Even if they look the same, Unicode combined characters and emojis may have different internal representations.

Additional information: UTF-8 API

  1. Enter the target text and check the number of characters and the number of characters excluding spaces.
  2. Check that the number of lines, paragraphs, and words match the intended purpose.
  3. Additional information: UTF-8
  4. Rather than being at the limit, we leave some margin to allow for additions and notation differences.

It may not match the character count calculations made by external services such as X. Finally, please also check the counter where you posted.

Frequently asked questions

Are line breaks included in the character count?
With the general number of characters, line breaks can also be treated as characters, but the definition differs depending on the service. Check multiple metrics such as blank exclusion.
Why do emojis count as more than 2 characters?
Additional information: Unicode

Probar en el navegador

Los datos introducidos se procesan en el navegador. Conserve los datos originales y revise el resultado antes de guardarlo o compartirlo.

Additional information for this feature.