Конвертер текста в двоичный и шестнадцатеричный вид

Преобразуйте текст в двоичные или шестнадцатеричные байты и обратно; UTF-8 корректно. Вся обработка происходит в браузере; ваши данные не отправляются на сервер.

Text is bytes, and bytes are numbers — binary and hexadecimal are just two ways of writing those numbers down. Being able to see them matters when you are debugging an encoding problem, reading a protocol dump, or working out why a string that looks right compares as different. This converter goes both ways and handles UTF-8 correctly.

Как пользоваться

  1. Paste your text and press Text → Binary or Text → Hex.
  2. Each byte appears separated by a space, binary padded to 8 bits and hex to 2 digits, which is how dumps are conventionally written.
  3. To go the other way, paste space-separated values and press the matching decode button.
  4. The counter tells you the byte length — useful for spotting that an accented character costs two bytes in UTF-8, not one.

Частые вопросы

Why does one character produce more than one byte?
UTF-8 is variable width. ASCII characters take one byte, most Latin accented and Greek or Cyrillic letters take two, most CJK take three, and emoji take four.
Does it accept input without spaces?
No, values must be space-separated. Without separators there is no reliable way to know where one byte ends and the next begins.
Is this the same as Base64?
No. Hex and binary show the raw bytes and always grow the data. Base64 packs bytes into a text-safe alphabet with about 33 percent overhead — use the Base64 tool for that.
Can it convert binary files?
Not directly; this tool takes text input. Paste a hex dump of the file if you already have one.
Инструменты разработчика