generators
Published by SMCS AI Factory · Content reviewed:
Character counter online — free character count
Free character counter with and without spaces — plus words and lines.
Your text
0Chars
0
Chars
0
No spaces
0
Words
0
Lines
0
Paragraphs
0
Sentences
All processing stays in your browser. Counts use Unicode code points for characters; words are letter/number sequences. Title and sentence case are heuristics, not full linguistic rules.
Text never leaves your browser. Counts run fully client-side.
What can fix this
Partners · affiliate links
Other tools
Word Counter
Free online word counter — also counts characters, lines and sentences.
Case Converter
Convert to UPPERCASE, lowercase, Title Case, camelCase, snake_case and more.
Text Tools
Word and character counter, case converter, slugify — free in the browser.
Device Info
Overview: battery, network, and hardware — with links to specialized tools.
What counts as one character here
The total comes from iterating the text by code point, not from JavaScript's .length. Those two disagree more often than most people expect, and the gap is exactly where character limits go wrong.
The count updates as you type, in the page, with nothing sent anywhere. There is no upload step and no request to a server carrying your draft.
Checking a text against a limit
Paste the text: Drop in the exact string you plan to submit, invisible characters and all.
Read both totals: Compare the full count with the one that excludes whitespace.
Check the unit: If the text contains emoji or accents, expect the target platform to disagree.
Leave margin: Trim below the limit rather than exactly to it.
Three tools, three totals, same sentence
Paste an emoji into four character counters and you can get four different answers. Nobody is broken — they are measuring different units, and almost none of them say which.
There are three defensible answers for any string: UTF-16 code units, Unicode code points, and grapheme clusters — what a reader would call "a character". This page reports code points and tells you when that will differ from the box you are pasting into.
Reading the number without getting burned
- A thumbs-up emoji is 1 here and 2 in any counter built on .length.
- A family emoji is 5 here, 8 by .length, and 1 to a human reader.
- A Brazilian flag is 2 here — it is built from two regional indicator letters.
- Accented text pasted from a Mac may be decomposed: the é you see can be two code points.
- Non-breaking spaces are still whitespace, so they leave the no-spaces total.
- When a form rejects text this page says is short enough, the form is probably counting code units.
The three answers, with numbers
Take the family emoji 👨👩👧. It is one picture, so a reader says one character. It is built from three people joined by two zero-width joiners, so this page says five. It is stored as eight UTF-16 code units, so `.length` says eight.
None of the three is wrong. The failure happens when a limit is written against one unit and checked against another. These figures are locked by a test in our repository, so they cannot quietly drift as the code changes.
Why we report code points and not graphemes
Grapheme clusters are the unit closest to human intuition, and modern browsers can compute them. We report code points instead because that is the unit most APIs, databases and character limits actually enforce — a column of 255 characters is rarely 255 graphemes.
The honest consequence is that this counter will sometimes read higher than your eyes. When that matters, the callout above tells you which way to round.
What the no-spaces total removes
The second figure strips whitespace before counting, using the runtime's own definition. That covers the ordinary space and tab, and also the non-breaking space, the thin space and the byte-order mark that word processors leave behind.
That is usually what you want: text pasted out of a document often carries invisible characters that a naive count would charge you for.
When the problem is the editor, not the count
If you keep pasting between apps and losing formatting or picking up invisible characters, the fix is upstream of any counter — a writing tool that keeps text plain until you ask otherwise. That is worth more than a browser tab you visit twice a day.