Contatore di caratteri
Confronta grafemi, code point e byte UTF-8.
Contatore di caratteri
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.
Come usare Contatore di caratteri
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.
- Digita o incolla il testo di origine, oppure carica un esempio.
- I risultati si aggiornano automaticamente durante la modifica.
- Esamina e copia o scarica il risultato. Metti in pausa i risultati in tempo reale per eseguire manualmente. Origini o singole impostazioni superiori a 20.000 caratteri richiedono un'esecuzione esplicita.
Cosa supporta questo strumento
Confronta grafemi, code point e byte UTF-8.
Limiti ed elaborazione
Le operazioni di testo accettano in genere fino a 2.000.000 di caratteri. Parser, generatori e formule singoli applicano limiti aggiuntivi mostrati dai relativi controlli.
Origine di esempio
Hello world. A second line. Café, İstanbul, 日本語, and 👨👩👧👦.
Domande frequenti
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.
Dove viene elaborato il mio input?
Questa operazione elabora i dati di origine nel tuo browser. Copia e download sono azioni esplicite; l'input di origine non viene salvato in un account né in una cronologia.
Quali sono i limiti di input?
Le operazioni di testo accettano in genere fino a 2.000.000 di caratteri. Parser, generatori e formule singoli applicano limiti aggiuntivi mostrati dai relativi controlli.