View on GitHub


CodeImage is a way to package javascript code into an image. The javascript can be extracted and run as if it was located in a script tag.

Download this project as a .zip file Download this project as a tar.gz file

Try it

Try creating your own codeimage here. Paste sourcecode below and click [Encode].
An image that holds your encoded code will appear.
Save the image and use it in your own pages.

Raw source code



Test your codeimage here. Clicking [Decode] will display what is encoded in the image.

Decoded javascript appears here: