Base64 and metadata
The Base64 tab turns images into text and back. The Metadata tab shows facts about an image.
Encode an image as Base64
Base64 is a way to write binary data, such as an image, as plain text. Developers use it to put small images straight into HTML, CSS or JSON, often as a data URI that starts with data:image/png;base64,.
Import an image and open the Base64 tab.
Make sure Encode is selected (it is by default).
The Base64 text appears, with its Character count. Long text is shortened on screen, but the full text is copied and saved.
Select Copy to copy the full text, or Download as .txt to save it as a text file (named after the image with
-base64added).
The copied text is the Base64 part only, without the data: prefix.
TIP
Base64 text is about a third larger than the image file. It suits small icons; for large photos a normal image file is better.
Decode Base64 back into an image
Open the Base64 tab and select Decode.
Paste Base64 text or a whole
data:image/…URI into the box.A preview of the image appears when the text is valid.
Select Download to save the image. It is named
image-decodedwith the matching extension.
See an image's details
Import an image and open the Metadata tab. It lists:
| Field | Meaning |
|---|---|
| File name | The name of the file |
| Type | The file's format, for example image/jpeg |
| Size | The file size |
| Dimensions | Width × height in pixels |
| Aspect ratio | The shape, for example 4:3 |
| Megapixels | Width × height in millions of pixels |
| Last modified | When the file was last changed, or Unknown |
| Metadata (EXIF) | Available if the image carries EXIF data, otherwise Not available |
EXIF data is information a camera or phone stores inside a photo: the camera model, settings, date and sometimes the GPS location. The tab only tells you whether it is there; it does not show its contents. The check is made for JPG files only.
Every other tool removes EXIF data from its results, so a compressed or converted copy is safer to share.