ToolCabana

Счётчик символов

Сравнивает графемы, кодовые точки и байты UTF-8.

Favorites are saved in this browser. Find them in My favorites.

Счётчик символов

Instant results · processed in your browser
Update results automatically as you type or change settings. Turn off to run manually.Clear your input, files and result, and restore the default settings.
Load sample text to explore what this tool can do. This replaces your current input.
0 charactersClear the source text.

Type or paste to update the result automatically.

Your result appears here

Type, paste, or use an example. Copy your result when it is ready.

Как использовать Счётчик символов

Character Counter measures text in three units: graphemes, which are the characters a reader sees, Unicode code points and UTF-8 bytes. It also reports words, lines and sentences. Comparing the units explains why an emoji or accented letter can look like one character on screen but count as several code points or bytes against a database or API limit.

  1. Введите или вставьте исходные данные либо загрузите пример.
  2. Результаты обновляются автоматически по мере ввода.
  3. Проверьте результат и скопируйте или скачайте его. Приостановите живые результаты для ручного запуска. Исходные данные или отдельные настройки длиной более 20 000 символов требуют явного запуска.

Что поддерживает этот инструмент

Сравнивает графемы, кодовые точки и байты UTF-8.

Ограничения и обработка

Текстовые операции обычно принимают до 2 000 000 символов. Отдельные парсеры, генераторы и формулы применяют дополнительные ограничения, отображаемые в их элементах управления.

Пример исходных данных
Hello world.
A second line.
Café, İstanbul, 日本語, and 👨‍👩‍👧‍👦.

Частые вопросы

Why does one emoji count as several characters?

Many emoji are built from multiple code points joined together. A family emoji showing four people is one grapheme, yet it contains 7 code points and takes 25 UTF-8 bytes. Character Counter shows all three numbers side by side.

How do I check the byte size of text for a database field?

Read the UTF-8 bytes figure. Basic Latin letters and digits use one byte each, while accented letters, many symbols and emoji use two to four bytes, so the byte length is often larger than the visible character count.

Do spaces and line breaks count as characters?

Yes. Spaces, tabs and line breaks are included in the grapheme, code point and byte counts. A Windows line break made of a carriage return and line feed counts as one grapheme but two code points.

Где обрабатываются мои данные?

Эта операция обрабатывает исходные данные в вашем браузере. Копирование и скачивание выполняются только по вашему действию; входные данные не сохраняются в учётной записи или истории.

Каковы ограничения входных данных?

Текстовые операции обычно принимают до 2 000 000 символов. Отдельные парсеры, генераторы и формулы применяют дополнительные ограничения, отображаемые в их элементах управления.