Traductor Binario

Instantly translate plain text into 8-bit binary code or decode binary numbers back into readable UTF-8 and ASCII text with full byte and hex breakdowns.

Encoding:
Format:
Chars: 13Bytes: 13Bits: 104
Binary Output (Base 2)
01001000 01100101 01101100 01101100 01101111 00101100 00100000 01010111 01101111 01110010 01101100 01100100 00100001
1-Bits: 480-Bits: 56
Encoding: UTF-8
Presets:
Hexadecimal (Base 16)
48 65 6C 6C 6F 2C 20 57 6F 72 6C 64 21
Decimal Bytes (Base 10)
72 101 108 108 111 44 32 87 111 114 108 100 33
Octal Bytes (Base 8)
110 145 154 154 157 054 040 127 157 162 154 144 041
Active Power-of-Two Decomposition: 2⁶ + 2³ = 64 + 8 = 72
Byte: 01001000 · Weights: 64 + 8 = 72
Tap any character row to load its byte into the 8-Bit InspectorShowing 13 of 13
#CharUnicodeDecHex8-Bit BinaryBit Place-Value Sum
1HU+0048720x480100100064 + 8 = 72
2eU+00651010x650110010164 + 32 + 4 + 1 = 101
3lU+006C1080x6C0110110064 + 32 + 8 + 4 = 108
4lU+006C1080x6C0110110064 + 32 + 8 + 4 = 108
5oU+006F1110x6F0110111164 + 32 + 8 + 4 + 2 + 1 = 111
6,U+002C440x2C0010110032 + 8 + 4 = 44
7[Space]U+0020320x200010000032 = 32
8WU+0057870x570101011164 + 16 + 4 + 2 + 1 = 87
9oU+006F1110x6F0110111164 + 32 + 8 + 4 + 2 + 1 = 111
10rU+00721140x720111001064 + 32 + 16 + 2 = 114
11lU+006C1080x6C0110110064 + 32 + 8 + 4 = 108
12dU+00641000x640110010064 + 32 + 4 = 100
13!U+0021330x210010000132 + 1 = 33

About the Traductor Binario

Every letter, number, punctuation mark, and emoji stored on a computer is represented at the hardware level as a sequence of binary digits (bits)—zeros and ones corresponding to electrical off and on states. This Binary Translator converts human-readable text into 8-bit binary bytes (Text → Binary) and decodes binary strings back into readable text (Binary → Text). It supports both standard 7-bit/8-bit ASCII and multi-byte UTF-8 Unicode character encoding, while providing synchronized hexadecimal (base-16) and decimal (base-10) byte values, an interactive 8-bit place-value switchboard, and a character-by-character power-of-two breakdown.

How to Use This Calculator

  1. 1Select your conversion direction at the top of the tool: "Text → Binary" to encode words into binary bytes, or "Binary → Text" to decode binary numbers into readable text.
  2. 2Choose your character encoding standard: "UTF-8 (Unicode + ASCII)" for universal text including international accents and symbols, or "ASCII / 8-Bit Latin-1" for single-byte encoding.
  3. 3In Text → Binary mode, type or paste your text in the left box and optionally pick your preferred byte delimiter (Space Separated, Continuous Stream, 0b Prefix, or Hyphenated).
  4. 4In Binary → Text mode, paste space-separated 8-bit binary bytes (e.g., 01001000 01101001) or an unseparated stream of 0s and 1s into the input box to decode the message immediately.
  5. 5Use the interactive "8-Bit Byte Place-Value Inspector" or click any character in the breakdown table below to see which powers of 2 (128, 64, 32, 16, 8, 4, 2, 1) sum to form that character’s ASCII code.

Formula & Calculation Methodology

1. Positional Base-2 (Binary) to Decimal Byte Formula: An 8-bit binary byte (b₇b₆b₅b₄b₃b₂b₁b₀) represents a decimal integer from 0 to 255 calculated by summing the powers of 2 where the bit equals 1: Decimal Value = (b₇ × 2⁷) + (b₆ × 2⁶) + (b₅ × 2⁵) + (b₄ × 2⁴) + (b₃ × 2³) + (b₂ × 2²) + (b₁ × 2¹) + (b₀ × 2⁰) Decimal Value = 128b₇ + 64b₆ + 32b₅ + 16b₄ + 8b₃ + 4b₂ + 2b₁ + 1b₀ 2. Text to Binary Encoding Process: Step A: Look up the character’s numeric code point in the ASCII or UTF-8 table (for example, uppercase "A" = 65, lowercase "a" = 97). Step B: Convert the decimal code into base-2 by successive division by 2 (or by subtracting the largest powers of 2 from 128 down to 1) and pad with leading zeros to form an 8-bit byte. 3. ASCII Case Bit Relationship: In standard ASCII, uppercase letters ("A"–"Z", decimal 65–90) and lowercase letters ("a"–"z", decimal 97–122) differ only by Bit 5 (value 32 = 2⁵). Setting Bit 5 to 1 converts an uppercase ASCII letter to lowercase.

Worked Example: Converting the Word "Hi" to Binary and Back to Text

Scenario: Suppose we want to convert the two-letter greeting "Hi" into 8-bit ASCII/UTF-8 binary code, and then verify the decoding back into text.

Step 1: Find the ASCII Decimal Code for "H": Decompose 72 into powers of 2: 64 (2⁶) + 8 (2³) = 72
01001000 (0×128 + 1×64 + 0×32 + 0×16 + 1×8 + 0×4 + 0×2 + 0×1)
Step 2: Find the ASCII Decimal Code for "i": Decompose 105 into powers of 2: 64 (2⁶) + 32 (2⁵) + 8 (2³) + 1 (2⁰) = 105
01101001 (0×128 + 1×64 + 1×32 + 0×16 + 1×8 + 0×4 + 0×2 + 1×1)
Step 3: Combine the 8-Bit Bytes: Join the bytes for "H" and "i" with a space delimiter
01001000 01101001 (Hex: 48 69)
Conclusion: The text "Hi" translates to the 16-bit (2-byte) binary sequence 01001000 01101001. Reversing the process sums each 8-bit group back to decimal 72 ("H") and 105 ("i").

Assumptions & Practical Limitations

  • Standard ASCII uses 7 bits (values 0–127), which computers pad with a leading 0 to fit standard 8-bit bytes (octets).
  • UTF-8 is 100% backward-compatible with ASCII for characters 0–127 (using 1 byte per character), while using 2 to 4 bytes for accented characters, non-Latin scripts, and emojis.
  • When decoding a continuous binary stream without spaces, the total number of bits must be a multiple of 8 so byte boundaries are unambiguous.

Frequently Asked Questions

Group the binary digits into 8-bit chunks (bytes). For each 8-bit byte, multiply each bit from left to right by its positional power of two (128, 64, 32, 16, 8, 4, 2, 1) and add the results together to get a decimal number between 0 and 255. Finally, match that decimal number to its corresponding character in the ASCII table (for example, 65 = "A", 66 = "B", 97 = "a", 32 = space).