Learn

Text to Binary Guide

About this tool

Convert text to its UTF-8 bytes written in binary, and back again. Each character is shown as the eight bits that encode it, which is the clearest way to see how a string becomes bytes on the wire.

Questions

Why is one character sometimes more than eight bits?
Because it is not ASCII. UTF-8 uses one byte for ASCII characters and up to four for others, so an accented letter or an emoji comes out as two or more groups of eight bits.