ASCII Translator

This translator converts text to ASCII codes and ASCII codes to text.

JavaScript Code

If you'd like to create your own ASCII text/code converter, you might like to use the same JavaScript that I used to make this. Here the code for converting a string into ASCII codes:

"my string".split("").map(function(s) { return s.charCodeAt(0); }).join(" ");

And the reverse direction (ASCII code to text):

"58 41".split(" ").map(function(s) { return String.fromCharCode(s); }).join("");

Ever wanted to make a random text generator?

LingoJam © 2018 Home | Terms & Privacy