Choose the number your field actually uses
Paste Cafe with a combining acute followed by a space and 👋🏽 into the workspace. The result includes a count for graphemes and another for code points. It also shows UTF 16 units and UTF 8 bytes. None of these is a universal measure called simply length. A browser input can enforce a limit in UTF 16 units. A plain text API can report bytes. A human reader usually thinks about visual characters. Choose the count that answers the question you started with.
The workspace also counts groups of letters or numbers and the text's lines. These are practical views of a draft. They do not represent a dictionary count of words in every writing system. A language that uses no visible spaces between words can require its own segmentation. Use the value for a rough text layout when that measure is useful. Compare a limit from a particular platform with the documentation or behavior of that actual field.
Work out three specimens by hand
A basic letter and a space
A followed by an ordinary space has two code points. Each is a single UTF 16 unit and a single UTF 8 byte. It has two graphemes even if the space is invisible. A plain word search or an app may trim the trailing gap. Count the saved version if you need an exact storage measure. A visually blank character can contribute to a limit.
A constructed accent
Enter e followed by U+0301. The browser typically treats that as one grapheme. The source has two code points and two UTF 16 units. It takes three UTF 8 bytes because the basic e needs one and the acute needs two. The equivalent precomposed é at U+00E9 generally has one code point and one UTF 16 unit and two UTF 8 bytes. The visual length can remain one. If a service normalizes the string it can change certain lengths while leaving the displayed word apparently intact.
A hand with a skin tone modifier
The waving hand 👋 and the modifier 🏽 each have a supplementary code point. Together 👋🏽 usually makes one grapheme. It has two code points and four UTF 16 units. The two values each use four UTF 8 bytes so the combined string needs eight bytes in that encoding. This is a useful example when a field says a limit is smaller than the number of symbols you think you entered. Check how the destination counts the actual sequence.
Understand what each measure can tell you
Grapheme counts help estimate how many interactive text units you see. They do not tell you a width in pixels. A narrow i and a wide capital W can each be one grapheme. The next line can wrap even when the count matches a shorter visual line. Check the complete draft at its display size as well as measuring it.
Code points describe the independent values in the string. They include combining marks and selectors. You can inspect the exact sequence using Unicode Inspector. They are a better choice than code units for reporting the canonical identity of a supplementary value. A renderer may combine several code points into a single picture.
UTF 16 units describe the units used by strings in systems such as JavaScript. Basic values commonly need one unit. Many supplementary values need two. This count can be relevant when a web field or implementation uses that particular length. A user interface label may say characters while the actual validation chooses something else.
UTF 8 bytes describe the number of bytes needed to encode the input in UTF 8. The count covers the text passed to the encoder. It does not include a file header or JSON syntax or a large transport wrapper. A saved file can add a byte order mark or change line endings. Measure the actual serialized object if the limit applies to a full request or file.
Use a count to edit a real caption
Start from the complete caption. Put its short title and body and closing together the way the app will receive them. Measure the exact draft before taking out any words. If it needs to be smaller then decide which piece carries the least information. Removing a joined sequence can reduce more UTF 16 units than removing a plain letter. Replacing a series of decorations with one clear word can make the result fit and read better.
If you are close to the limit then save a test in the destination. It may count a different version with trimmed spaces or transformed line endings. A warning about the current result is evidence that its own measure matters. Keep the main fact visible even if the field shortens the end. Review a draft again after shortening. A count can say it fits while a missing word still makes the message unclear.
When a line looks blank
A string can include line feeds that make the textual layout different without adding visible ink. This tool counts actual text lines. Empty input is reported as zero lines. A nonempty string ending with a line break has an empty trailing line in its line count. A visual wrap is not a new data line. Use the Line Break Tool to adjust stored breaks before copying.
A byte limit can be easier to respect by measuring the final text after copying any styled title. Mathematical letters can cost more units than basic letters. Replace an ornamental prefix first if the core words already fit. Keep a separate source so the shorter result can be revised without guessing what was removed.
Interpreting the numbers
Is the grapheme count the number of marks I see?
It is a count using Unicode grapheme segmentation available in the browser. It often matches ordinary editing units. Rendering can draw a group as several glyphs and a single glyph can vary in size.
Why can an emoji cost four bytes?
A supplementary scalar typically uses four bytes in UTF 8. Some emoji strings have multiple scalar values. A complex picture can therefore use more bytes than a single supplementary emoji.
Does a modifier count separately in each measure?
It can share a grapheme with its base. It remains a separate code point with its own units and bytes. Compare the hand sample to the base hand by itself to see the distinction.
What does a UTF 16 unit measure?
It measures one unit of the encoding used by the JavaScript string. A supplementary scalar can occupy two. This number differs from the visible cluster count when the string contains those forms.
Does the byte count include a file header?
The tool counts the UTF 8 encoding of the input text. A file header or metadata can add bytes when another editor saves it. Check the finished file if that is what the limit covers.
Are search terms and words counted the same way?
The tool reports groups of letters or numbers with internal apostrophes where applicable. This is a practical measure of typed text. It is not a linguistic segmentation for every language.
Do ordinary spaces count as graphemes?
An ordinary space can be counted as a grapheme. It also appears in the code point and encoding counts. Hidden spaces still occupy values even when a renderer gives them very little width.
Are punctuation marks counted as characters?
They contribute to structure and encoding counts where present. They do not all contribute to the letter or number group count. Copy an exact sentence to see the differences.
Why does the final line count include a blank row?
A final stored line break leaves an empty section after it. The line count includes that row for a nonempty string. A receiving app can optionally strip the terminating break when it saves.
Can I count a draft across paragraphs?
Yes. Paste the complete draft within the input limit. The count reflects the breaks and spaces that reached the field. Measure separate parts if the destination applies separate limits to them.
Is the number of bytes enough to predict a caption limit?
Only if the destination actually uses UTF 8 bytes for that limit. It may count graphemes or UTF 16 units or apply another policy. Use an actual test to resolve uncertainty.
Can two visually identical words have different lengths?
Yes. A precomposed accent and a decomposed spelling can be visually alike. Their code points and some encoding counts differ. The Inspector and Normalizer can help explain that case.
Does the tool count visual wraps as new lines?
It counts stored breaks. Changing the width of the display can create another row on the screen without changing the underlying line count. Check for actual separators if a copy seems different.
Can I copy just the counts?
The Copy result button takes the displayed report. The input is still available if you want to copy the source separately. Keeping both can make an example easier for a teammate to reproduce.
What should I record in a length issue?
Write the exact input and the measure used. Add the field or browser context that produced the issue. This lets another editor compare the same storage units or visible graphemes rather than guessing from a screenshot.