toImage It changes strings, like js code, to image data and save, decode, and run. index.html : Changing code to image. tocode.html : Changing image to code. sample.html : Selecting image, decoding, and run that.