How to count characters and words correctly
You are writing to a limit, a form rejects your text, or two programs give two different counts. This guide explains each number the counter shows, why they differ, and how to fit your text into a limit.
Which number answers which question
The counter shows several figures at once, and each answers a different question. Choose by the rule you have to follow, not by whichever number looks most convenient.
The gaps can be large. The sentence “Thank you for your time.” shows 24 characters, 20 without spaces and 5 words, so a limit that excludes spaces is noticeably more generous than one that includes them. Line breaks work the same way: they count in ‘Characters’ and vanish from ‘Without spaces’.
- ‘Characters’ counts everything you typed, including spaces and line breaks. Use it for limits stated in characters, such as captions, bios and form fields.
- ‘Without spaces’ leaves out spaces, tabs and line breaks. Use it only when a rule says explicitly that spaces are excluded.
- ‘Words’ is the figure for essays, articles and abstracts, where length is normally judged in words.
- ‘Sentences’ and ‘Paragraphs’ describe structure. They show whether an answer is one solid block or properly broken up.
- ‘Lines’ counts every line break, empty lines included, which matters for lists, poems and comments in code.
- ‘Bytes (UTF-8)’ measures storage size, and matters when a system limits bytes instead of characters.
Counting a text, step by step
Click into the box and type or paste. The figures update as you write, so there is no button to press. You can also drop a plain text file onto the box, such as a .txt, .md or .csv file, to load its contents instead of pasting them.
The counter measures the whole box. To check one part of a longer document, such as a single answer, paste just that part. If you need figures for several parts, count them one after another.
Your text is saved in this browser so that a reload does not lose it, and a small ‘Saved on this device’ note appears. Nothing is sent to a server. On a shared computer, click ‘Clear text’ when you finish, which also deletes the saved copy. ‘Copy’ puts the whole text on the clipboard.
Why another program shows a different number
A mismatch is rarely a bug. Programs simply follow different counting rules, and the first rule is what counts as a word. Simple counters split on spaces, so a hyphenated word is one word. This counter finds word boundaries the way modern browsers do, so each part of a hyphenated word usually counts. In “State-of-the-art design, well-known results.” the counter reports 8 words, while a program that splits only on spaces reports 4.
Other common causes: a dash standing alone between spaces is a word to a space-splitting program and is ignored here; a slash, as in and/or, may be one word to one program and two to another; a time written as 9:30 may be counted as two numbers. Sentences follow the same pattern. The sentence finder can treat the period after an abbreviation as an ending, so “Mr. Lee read the email. Then he left.” may come out as three sentences where you would say two.
Characters differ for other reasons. Some programs count a line break as two characters, and others count each piece of a combined symbol separately, so a thumbs-up emoji or an accented letter built from two parts can be counted twice. Here, anything that looks like one character counts as one. Word processors may also include or skip footnotes, headers and text boxes. When a number matters, such as a hard limit on a form, trust the counter of the place that will enforce it, and use this one for drafting.
Reading the ‘How it fits’ bars
Below the figures, ‘How it fits’ compares your text with five common limits: ‘Social media post (280)’, ‘Caption (2,200)’, ‘Video title (100)’, ‘Search result title (about 60)’ and ‘Search result description (about 155)’. Every bar shows the room you have left, or by how much you have gone over.
Two of these checks look only at the first line of the box, namely the video title and the search result title. Put the headline on its own first line and the rest of the text will not distort those two measurements. The description check works the other way. It reads the whole box except line breaks, so type the description by itself in an empty box.
The post check is weighted rather than a plain character count. Ordinary Latin letters count as one, Korean, Japanese and Chinese characters and emoji count as two, and any web address starting with http counts as 23 however long it is. That mirrors a rule some services use, but services differ and change, so treat the bar as an estimate and confirm in the app where you will post.
Writing to a limit: forms, applications and assignments
First find out how the other side counts: characters with spaces, characters without, or words. Never assume, because a limit of 500 characters and a limit of 500 characters excluding spaces are different amounts of text, and a limit in words is a third thing again.
Draft in the counter, then paste into the real form and compare. If the form’s own counter shows a slightly higher number, the cause is usually line breaks or special characters. Trim a little further and leave a small safety margin instead of aiming for the exact limit.
Do not pad to reach a minimum, and do not cut meaning to hit a maximum without rereading what remains. When trimming, remove whole phrases that add nothing before you start shaving letters off words.
Titles, descriptions and captions
For a search result title, the ‘about 60’ is a guide, not a wall. Search engines cut a title by its width on screen rather than by character count, so a title full of wide letters can be shortened sooner than one made of narrow letters. Aim to stay under the mark, put the important words first, and write for a person scanning a results page.
A description of ‘about 155’ behaves the same way, and the end may be cut off, so the first sentence should work on its own. In these two search bars Korean, Japanese and Chinese characters, other full-width characters and emoji count as wide, which is why the same limit holds roughly half as many of them. Accented letters and curly quotation marks count as one.
The caption allowance is generous at 2,200 characters, but a long caption still needs a strong opening line, because many apps fold the rest behind a link. Hashtags, spaces and line breaks all count toward the total.
Bytes and the time estimates
‘Bytes (UTF-8)’ is the stored size of the text in the encoding most websites use. Plain English letters, digits and punctuation take one byte each, so for ordinary English the byte count equals the character count. Accented letters usually take two bytes and symbols take more: the word “Café” has 4 characters but 5 bytes, and a lone thumbs-up emoji is one character but four bytes.
That matters for databases and forms that cap storage rather than letters. A limit of 255 bytes, for instance, holds 255 plain letters, but fewer when the text contains accents or symbols.
‘Reading time’ and ‘Speaking time’ come from the word count. For English the counter assumes about 238 words a minute for silent reading and 150 for speaking aloud. A 450-word text takes about 3 minutes to say, and a 750-word text about 5 minutes, while reading it silently takes about 3 minutes 9 seconds. Real speakers vary, so rehearse once with a clock, and allow extra time for slides, pauses or quotations.
Tidying text before and after you count
The counter sits well with three neighboring tools. Case converter repairs a title that came out in capitals or a sentence in the wrong case, without retyping, and its own counts update as you go. Remove duplicate lines suits lists of keywords or names: it shows the number of lines before and after, and can trim spaces and drop empty lines in the same pass, so the ‘Lines’ figure in the counter is meaningful afterward.
Text compare (diff) is the one to reach for after trimming. Paste the long draft into ‘Original text’ and the shortened version into ‘Changed text’, compare by words, and the removed and added parts are highlighted. It is a calm way to check that cutting forty characters did not also cut the one sentence your reader needed.
Questions and answers
Do line breaks count as characters?
Yes, each line break counts as one in ‘Characters’ and is left out of ‘Without spaces’. Blank lines also raise the ‘Lines’ figure: three short paragraphs separated by empty lines show 3 paragraphs but 5 lines.
How long does it take to read 1,000 words?
With the counter’s English estimate, about 4 minutes 12 seconds to read silently and 6 minutes 40 seconds to say aloud. Treat both as rough guides, since people read and speak at different speeds.
Do emoji and non-English characters count the same as letters?
In ‘Characters’, each one that looks like a single symbol counts once. In ‘Bytes (UTF-8)’ they take more room, and the post check counts emoji and Korean, Japanese or Chinese characters twice.
Can I count a text file without opening it first?
Drop a .txt, .md or .csv file onto the box and its text is loaded and counted. The file is read on your device and not uploaded.
Should I count with or without spaces for a character limit?
With spaces, unless the rule says to exclude them. Most text boxes that enforce a limit count every character you can type, spaces and line breaks included.
More guides
- Word counter: how to count words in a text and meet a word limitUse a word counter to count words in text, see what counts as a word, handle hyphens, numbers and unspaced scripts, and fit a word limit or time slot.
- How to extract text from image files and get clean, usable textHow to extract text from an image or a scanned PDF page with OCR: pick the language, prepare the picture, read the result, fix mistakes and save a TXT file.
- Case converter: how to change text case without retypingUse a case converter to change text case: uppercase to lowercase, title case, sentence case and code styles. See what each button does and what it gets wrong.