Expand text into its UTF-8 byte sequence; see each character's decimal / hex / binary
UTF-8 is a variable-length Unicode encoding: ASCII characters (0-127) take 1 byte; common non-ASCII characters take 3 bytes; some rare characters and emoji take 4 bytes. It is the most popular character encoding on the internet, and the underlying encoding this site uses for all text.
With this tool you can see directly that "€" is encoded as three bytes E2 82 AC (decimal 226, 130, 172), which explains why the same non-ASCII character takes different sizes under different encodings.
Input: € → Bytes: E2 82 AC (3 bytes)
Input: A → Bytes: 41 (1 byte, i.e. ASCII 65)