Appearance

Character Counter

/character-counter/

Characters (with spaces)

0

Without spaces
0
Words
0
Lines
0
Bytes (UTF-8)
0
Bytes (Korean 2)
0

Related tools

Comments

0/500

About this tool

When you need a character counter

Application essays limited to 1,000 characters, the right length for a blog post, product name limits on shopping sites, app store descriptions and text message length: character and byte counts tend to become a last-minute problem more often than you expect. Word processors disagree on whether spaces count, and it is common to paste text into a form that accepts the character count but cuts it off for exceeding a byte limit.

Read moreShow less

As soon as you type or paste, this tool shows six numbers at once: With spaces, Without spaces, Words, Lines, Bytes (UTF-8) and Bytes (Korean 2), a two-byte count explained below. The most common figure, characters with spaces, is shown large, with the other five in small print underneath. There is no button; the numbers change with every edit, which makes trimming a draft to length straightforward.

How characters and bytes are counted

A character is one visible character on screen. The tool splits text with the browser's Intl.Segmenter at the grapheme level, so an emoji built from several code points still counts as one. The family emoji 👨‍👩‍👧 joins three person emoji with two invisible zero-width joiners (ZWJ), so JavaScript's .length reports 8, but here it is 1 character and 18 bytes in UTF-8. A flag such as 🇰🇷 and a thumbs-up with a skin tone such as 👍🏽 are each 1 character and 8 bytes.

UTF-8 is the encoding used by the web and most servers: English letters, digits and basic symbols take 1 byte, accented Latin letters such as é take 2, precomposed Korean (Hangul) syllables take 3 and most emoji take 4. Unicode lists all 11,172 Hangul syllables from 가 (U+AC00) to 힣 (U+D7A3), combining 19 initial consonants, 21 vowels and 27 final consonants plus none, and every one of them is 3 bytes in UTF-8. The UTF-8 figure is the real encoded length from the browser's TextEncoder. The Korean 2 count treats ASCII characters (codes 0 to 127) as 1 byte and everything else as 2, matching forms that still follow the old EUC-KR convention, a legacy Korean encoding that stored each Hangul syllable in 2 bytes.

For example, I am a diligent person. followed by Thank you. on the next line gives 34 characters with spaces, 28 without, 7 words, 2 lines and 34 bytes in both byte counts. The text café 한글 gives 7 characters, 12 UTF-8 bytes and 10 bytes in the Korean 2 count. Without spaces excludes tabs and line breaks as well as spaces, and a word is any run of characters separated by whitespace.

Which character count to use for which purpose

For job applications, first check whether the posting or application site counts spaces, and match that line. If it does not say, matching the stricter With spaces count is safer. Bloggers and marketers often gauge body length without spaces, and page-count requirements depend on font and line spacing, so check the actual document as well.

Developers look at UTF-8 bytes when checking database column lengths or API field limits. Text messages, older business systems and some Korean government forms count Hangul as 2 bytes, so the Korean 2 figure matches their limit. If a limit is given only in bytes and the encoding is unclear, staying under the larger UTF-8 figure reduces the risk of being cut off. Copy copies all six figures, one per line, in the form With spaces: 34.

Why your character count may differ elsewhere

When another service gives a different count, emoji and special characters are usually the reason. Programs counting UTF-16 code units count one emoji as two or more characters, and some count a line break as two characters (CR+LF). Korean text stored with decomposed letters (NFD), as in some file names created on a Mac, looks the same but makes the two syllables 한글 count as 18 UTF-8 bytes, three times the usual 6.

The Korean 2 count is an approximation based only on character type, so it cannot warn you about characters outside the 2,350 syllables that EUC-KR systems accept. An extra line break at the end adds one to the line count. Text is counted in your browser and never sent to a server, so unpublished drafts and application essays are safe to paste. Your draft stays in this browser so you can continue next time, except very long text over about 20,000 characters, and Reset clears it; on a shared computer, press Reset when you are done.

FAQ

Should an essay character limit include spaces?

It depends on the company or site. Follow the stated rule if there is one; otherwise matching the stricter count with spaces is safer. This tool shows both numbers.

How many bytes is a Korean character?

One Hangul syllable is 3 bytes in UTF-8 and 2 bytes in the Korean 2 count. 안녕 하세요 (hello) is 16 bytes in UTF-8 and 11 bytes in the Korean 2 count. Use the figure that matches the encoding of the form you are filling in.

How many characters does an emoji count as?

Each visible character counts as 1. Combined emoji such as 👨‍👩‍👧 and flags such as 🇰🇷 are 1 character each, though in bytes they are much larger, 18 and 8 bytes respectively.

Why does another character counter give a different number?

Some services count emoji in UTF-16 code units or count a line break as two characters. For text without emoji or line breaks, the count with spaces is usually the same.

How are words counted?

Any run of characters separated by spaces, tabs or line breaks counts as one word. In Korean this equals the number of space-separated units, so 학교에 갔다 (went to school) is 2 words.

Is my text stored on a server?

No. Counting happens in your browser and the text is never sent to a server. Your draft stays in this browser for your next visit, and Reset clears it.