SheepDev

Text and byte counter

Text and byte counter lets you count graphemes, code points, UTF-16 units, UTF-8 bytes, and lines in your browser.

Text and byte counter

⌂ Inputs and results stay in this browser and are not automatically stored or sent.

Waiting for input
Auto-update for inputs up to 16 KiB
TextTEXT · 0 B
0 lines
Edit & view

Waiting for input

Complete text result

Graphemes, code points, UTF-16 units and UTF-8 bytes count different things, especially for emoji and combining marks.

How to use

Enter the exact text you intend to submit. Read the measure required by the destination: visible graphemes, code points, UTF-16 units, or UTF-8 bytes.

Emoji and combining characters can produce different counts. Include newlines and trailing spaces; passing a character limit does not necessarily satisfy a byte limit.

Examples

Sheep🐑Dev
開発ツール

Principles and limits

Each input is limited to 1,048,576 bytes, output to 33,554,432 bytes, and processing to 5,000 ms. Input is never silently truncated.

Guides

Related tools

Encoding and character sets

Text ⇔ bytes

Text ⇔ bytes lets you convert UTF-8 text to and from hexadecimal and binary bytes in your browser.

Encoding and character sets

Unicode inspector

Unicode inspector lets you inspect code points, UTF-8 bytes, combining marks, and invisible characters in your browser.