What is the effect of encoding an image in base64?

Danny Fox picture Danny Fox · Jul 9, 2012 · Viewed 110.6k times · Source

If I convert an image (jpg or png) to base64, then will it be bigger, or will it have the same size? How much greater will it be?

Is it recommended to use base64 encoded images on my website?

Answer

Blender picture Blender · Jul 9, 2012

It will be approximately 37% larger:

Very roughly, the final size of Base64-encoded binary data is equal to 1.37 times the original data size

Source: http://en.wikipedia.org/wiki/Base64