Base / ASCII Converter

Convert between text, binary, octal, decimal and hex representations.

Result will appear here

About base / ASCII conversion

This tool converts between raw text (characters) and numeric base representations such as binary, octal, decimal and hexadecimal. For text → base, each character is treated as one byte (charCode & 0xff). For base → text, input can be space-separated tokens or a continuous string (e.g. hex without spaces).

Common uses

  • Inspecting raw bytes of a string.
  • Encoding/decoding between human-readable text and machine-friendly bases.
  • Testing and debugging binary/hex data.

Notes

  • Binary input can be space-separated bytes (8 bits) or a continuous string with length multiple of 8.
  • Hex input accepts even-length continuous string or space-separated byte tokens.