Binary & Encoding Tools
How it works: Binary and encoding conversions use mathematical and algorithmic rules to translate between formats. For example, binary to text converts each group of 8 binary digits (bits) into a character using the ASCII table. Base64 encodes binary data into a set of 64 printable characters, and hexadecimal represents binary data in base-16.
Formulas & Methods:
Binary to Text: Split the binary string into 8-bit chunks, convert each to decimal, then map to ASCII.
Text to Binary: Convert each character to its ASCII decimal value, then to 8-bit binary.
Base64: Group input bits into 6-bit chunks, map to Base64 alphabet.
Hex: Each hex digit represents 4 bits; two hex digits = 1 byte.
Example: 01001000 01101001 → 72 105 → "Hi".
Example: Hi → 72 105 → 01001000 01101001.