See characters with and without whitespace alongside word and line totals. Results update as you type or paste text.
A character limit is different from a word limit. A short sentence with long names can use more characters than a longer sentence of short words. Paste the exact text you plan to submit, including punctuation, so you can edit against the relevant limit.
The tool displays both character totals at the same time. Use the main total when whitespace is included, and the separate no-whitespace total when your brief excludes it. Reset clears the input.
The main character total measures the text using JavaScript string length. Spaces, punctuation, tabs and newline characters contribute to that total. The no-whitespace figure removes spaces, tabs and line breaks first.
Words are separated at whitespace. Lines are counted at newline characters, including blank lines; wrapping a long sentence across the width of the input box does not add a line to this result.
“Hello world!” has 12 characters including the space and exclamation mark, 11 without whitespace, two words and one line. Press Enter after it and the line total increases because you have added a newline.
This example is useful when a form and the tool disagree. Check for an extra trailing space or newline before rewriting your text. Invisible formatting copied from another application can also contribute to the length.
Some visible symbols use more than one JavaScript code unit. An emoji, flag or accented letter assembled from combining characters may therefore contribute more than one to this counter. The result is not a count of visible symbols or encoded file bytes.
For a strict platform limit, paste your final version into that platform as well. This counter helps you draft and compare versions, but the destination determines which counting rule it enforces.
Read the destination’s instructions before treating a number as a limit. Some briefs count spaces, some exclude them, and software fields may measure bytes or another form of text length. This page shows a JavaScript string-length total and a second figure with whitespace removed. Choose the figure that matches your instructions instead of assuming that every system uses the word “character” in the same way.
For a form response, paste exactly the text you intend to submit. Include punctuation, an optional signature and any intentional line breaks. A separate explanatory note copied from the form should not be part of the input unless you actually plan to submit it. When comparing two drafts, keep this selection consistent so that a lower total reflects your edit rather than a different piece of text.
Imagine a field allows 120 characters and your draft measures 138 under the same rule. You need to remove at least 18 units. Look for repeated information, unnecessary opening phrases or a long expression with a clear shorter equivalent. Keep the key subject and required qualifier. Cutting the end of the text mechanically can remove the part that explains an offer, deadline or exception.
Recheck the length after every substantial edit, then read the result as a standalone sentence. A text that fits the limit can still be ambiguous. For names, product details and references, shortening with an unfamiliar abbreviation may save space but make the content harder to understand. If all details are mandatory, ask whether the destination provides another field or an approved abbreviation rather than silently omitting information.
If two apparently identical versions have different totals, inspect their edges and line breaks. A trailing space after a sentence contributes to the main result. Pressing Enter adds a newline, and a copied list can include a blank final entry. Tabs may look like several spaces while contributing differently to the string. Start by testing a short excerpt rather than searching through an entire document at once.
The no-whitespace result helps distinguish a spacing issue from a content issue, but it is not a universal invisible-character detector. Some characters that do not visibly print are not removed by the whitespace rule. If the total still seems unexpected, retype a small sample in the destination or inspect the source with an editor that can show formatting characters. Avoid deleting unfamiliar symbols blindly from names or multilingual text.
An ordinary English letter usually occupies one unit in this counter, but a visible symbol can contain several units. Emoji sequences, flags and letters combined with accents are common examples. Two strings can look alike yet use different underlying sequences. That explains why counting the symbols by eye can give a different answer even when there are no extra spaces or obvious punctuation marks in the text.
This distinction also matters for developers checking a field. A database byte limit, a browser string length and a product’s displayed character allowance can be different measurements. This tool does not inspect your database settings or encoding. Use the appropriate validation in the actual application, and treat this page as a convenient drafting and comparison aid rather than proof that a value will fit every storage or submission system.
The word total splits input at whitespace, so punctuation within a token does not necessarily create another word. The line total follows actual newline characters, including blank entries, rather than the number of rows currently visible in the textarea. Making the window narrower can wrap the same passage onto more rows without changing its character, word or line measurements. These totals describe different properties of the same input.
When the draft is ready, copy it into the intended field and compare the destination’s own counter if one is available. Check the saved version as well if that system normalizes spacing or changes punctuation. Keep a source copy when you need an audit trail of edits. The most useful final check is that the accepted text both fits the field’s measurement and still communicates the complete message you intended.
When a form rejects a text that appears short enough, test the exact version in the field rather than a remembered draft. A signature, extra line or pasted symbol may be present in one version but not the other. Start with the short “Hello world!” example and gradually add the content that causes the discrepancy.
The character counter helps you compare changes, but it does not know a destination’s validation rules. Keep the two labeled character totals distinct in your notes, and do not substitute the no-whitespace total for a limit that includes spaces. If the field supplies its own counter, use that as the final acceptance check.
Yes, in the main character total. The second character total excludes all whitespace, including tabs and line breaks.
JavaScript string length counts code units. Some emoji and combined symbols contain multiple code units even when they appear as one symbol.
No. Character length and the byte size of a saved or transmitted file are different measurements.
In the current tool both totals remain visible and the checkbox does not change their calculation. Read the labeled total that matches your requirement.
Yes. Typing or pasting into the input refreshes the displayed character, word and line totals without a separate calculation button.
Yes. The main total includes a trailing space. The separate no-whitespace total excludes it, along with tabs and line breaks.
Visual wrapping is not a newline in the text. The line total changes when actual newline characters are present, not when the box becomes narrower.
Yes. A comma, period or exclamation mark contributes to the character total. Removing whitespace does not remove punctuation.
Yes, as a drafting aid. Paste the exact response and check the appropriate total, then confirm it against the destination form’s own rules.
No. This page measures text length, not a search result’s rendered appearance. Use the result to edit wording, without treating it as a display guarantee.