Converting files to Strings

This page helps you to convert a file into a quoted JavaScript string of bytes.

It's useful if:

  • You're making a webserver with a CC3000 and you want to encode an image in a string.
  • You want to turn a raw bitmap into something that you can send to WS2811 LEDs

To use it just click 'Choose File'. Once the file is chosen, the string representation of it will be output in the text area below.

Quoted String

...

Base64 encoded

...

This page is auto-generated from GitHub. If you see any mistakes or have suggestions, please let us know.