Image Studio
Image to Base64
Turn a picture into Base64 text (data URI, raw, CSS or HTML), ready to copy.
- 1Add your image files
- 2Pick options
- 3Click Run
- 4Download result
Limits
- Base64 makes the data about 33% bigger than the picture file. Embedding a data URI larger than about 100 KB in HTML or CSS is a bad idea: it cannot be cached separately and slows the page down.
- The picture is encoded exactly as it is, with no re-compression, so its metadata (EXIF, GPS) stays inside the Base64. Remove metadata first if you will share it.
- Very long outputs are shortened on screen; the complete text is in the .txt file.
- To go the other way (Base64 text to a picture), use Base64 to image.
- Everything runs on your device; images are never uploaded.
Ask the AI chat
The AI chat can run this tool for you. Try:
- “convert this image to base64”
- “give me a data uri for this png”
- “encode my picture as base64 text”
More in Image Studio
- Compress image to a target size
- Resize image
- Convert image format
- Crop image
- Rotate and flip image
- Black and white (grayscale)
- Remove photo metadata (EXIF, GPS)
- Add a text watermark
- Print size export (exact pixels for a DPI)
- Smart web image compression (AVIF, WebP, JPEG, PNG)
- Profile picture maker
- Photo collage / grid
- Border & frame
- EXIF viewer
- Colour picker & palette
- Base64 to image