Binary to String

Convert a binary string representation to human-readable text.

Code

Utilities
binary.split(' ').map(byte => String.fromCharCode(parseInt(byte, 2))).join('');

Parameters

The binary string to convert (space-separated bytes).

Browser·fetch() may be limited by CORS

More JavaScript Snippets