Skip to content

Instantly share code, notes, and snippets.

Alex Bell albell

Block or report user

Report or block albell

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
eyecatchup / ascii-binary-converter.js
Last active Sep 12, 2019
JavaScript native ASCII to Binary / Binary to ASCII convert functions.
View ascii-binary-converter.js
// ABC - a generic, native JS (A)scii(B)inary(C)onverter.
// (c) 2013 Stephan Schmitz <>
// License: MIT,
// URL:
var ABC = {
toAscii: function(bin) {
return bin.replace(/\s*[01]{8}\s*/g, function(bin) {
return String.fromCharCode(parseInt(bin, 2))
You can’t perform that action at this time.