Image ↔ Base64
Image
One JPG, PNG or WebP to encode as a data URL
Base64 output
The complete data URL — larger than the image itself
Image and Base64 converter FAQ
Quick answers about encoding images as Base64 and decoding Base64 back into image files.
Base64 represents binary image data as text. A data URL can be embedded in HTML, CSS, JSON or other text-based formats without a separate image file reference.
Yes. Choose the intended PNG, JPG or WebP format and Kitnix will add the required image data URL prefix before decoding.
Base64 text usually takes roughly one third more space than the original binary file. It is convenient for embedding small assets, not for reducing file size.
No. Encoding and decoding happen locally in your browser, so your image and Base64 text stay on your device.