User Guide

Online Character and Byte Counter — With or Without Spaces

Check character counts and byte sizes for documents or messages, including or excluding whitespace.

How to use

  1. Paste or type text in the input.
  2. Read character and byte counts with and without whitespace.
  3. Copy individual counts or clear the input to start again.

Input and output example

Example input

é A

Example result

With whitespace: 3 · 4 bytes
Without whitespace: 2 · 3 bytes

Background knowledge

Unicode
Unicode assigns common numbers to characters. A code point is such a number: A is U+0041. Character identifiers, visible glyphs and stored byte representations are different concepts.
bytes
ASCII characters count as 1 byte; non-ASCII characters count as 2 bytes per Unicode code point. This is not an actual encoded size or file size.

Notes

Frequently asked questions

What can I use this online tool for?

Check character counts and byte sizes for documents or messages, including or excluding whitespace.

How are bytes counted?

ASCII characters count as 1 byte; non-ASCII characters count as 2 bytes per Unicode code point. This is not an actual encoded size or file size.

How are whitespace and emoji counted?

Excluding whitespace removes spaces, tabs, newlines and other whitespace characters. Characters are Unicode code points; a combined emoji can display as one symbol but count as multiple characters.

Baro Work is a collection of tools with no login. Inputs and results are not stored on the site server or in browser storage. See the translation and DNS guides for external transfers.

Use all tools on the home page →