Contador de caracteres
Compara grafemas, pontos de código e bytes UTF-8.
Contador de caracteres
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.
Como usar Contador de caracteres
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.
- Digite ou cole sua fonte, ou carregue um exemplo.
- Os resultados são atualizados automaticamente enquanto você edita.
- Revise e copie ou baixe seu resultado. Pause os resultados ao vivo para executar manualmente. Fontes ou configurações individuais acima de 20,000 caracteres exigem uma execução explícita.
O que esta ferramenta suporta
Compara grafemas, pontos de código e bytes UTF-8.
Limites e processamento
As operações de texto aceitam geralmente até 2,000,000 caracteres. Analisadores, geradores e fórmulas individuais aplicam limites adicionais mostrados pelos seus controles.
Fonte de exemplo
Hello world. A second line. Café, İstanbul, 日本語, and 👨👩👧👦.
Perguntas frequentes
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.
Onde minha entrada é processada?
Esta operação processa sua fonte no seu navegador. Copiar e baixar são ações explícitas; a entrada de origem não é salva em conta nem em histórico.
Quais são os limites de entrada?
As operações de texto aceitam geralmente até 2,000,000 caracteres. Analisadores, geradores e fórmulas individuais aplicam limites adicionais mostrados pelos seus controles.