Skip to main content
DevTools24

Convertitore Binario Testo

Converti tra binario e testo.

How it works

  • • Each character is converted to its UTF-8 byte representation
  • • Each byte (8 bits) is shown as a sequence of 0s and 1s
  • • Spaces separate each byte for readability
  • • Emoji and special characters use multiple bytes (UTF-8)

Binary Encoding - Dettagli tecnici

Computers store text as binary data. Each character is converted to bytes using an encoding like UTF-8, and each byte is represented as 8 bits (0s and 1s). UTF-8 uses 1-4 bytes per character, with ASCII characters using just 1 byte.

Alternativa da riga di comando

# Convert text to binary in bash
echo -n 'Hello' | xxd -b | cut -d' ' -f2-7

# Convert binary to text
echo '01001000 01100101 01101100 01101100 01101111' | perl -lpe '$_=pack"B*",tr/ //dr'