Image ToolsA little help for every day

Search by name or task, such as JSON or percentage.

Tool Category

Image Tools

This category currently holds a single tool, the Image Base64 converter. Use it to embed small icons in web pages, email templates or test data, or to turn a Base64 string from an API back into an image you can view and download. Images are read and encoded in your browser and are never uploaded.

Image Tools

1 tools

What the Image Base64 tool does

To encode, choose or drag in an image and pick the output: a Data URL with the MIME type included, ready to use as an image source; raw Base64 with only the encoded bytes; a ready-made HTML image tag; or a CSS background rule. To decode, paste raw Base64 or a complete Data URL to preview the image, check its dimensions and size, and download it as a file. It accepts PNG, JPEG, WebP, GIF, SVG, BMP, ICO and AVIF images that your browser can read, up to 10MB each.

When embedding an image as Base64 makes sense

Base64 represents binary data as text, so the encoded version is roughly a third larger than the original file. That trade-off is worth it for small icons, images in HTML email templates, single-file demos and API test fixtures, where removing a separate request or file is useful. Photos, large graphics and images reused across many pages are better left as normal files, because browsers can cache them and they keep your HTML and CSS small enough to load quickly.

Privacy, safety and what this category covers

Images you choose are read, encoded and previewed in the current browser and are not sent to a server. When decoding Base64 from an unknown source, a successful preview only shows that the browser can read the data, not that the file is trustworthy. This category does not yet offer image compression, cropping or format conversion. To work out proportional dimensions, use the Aspect Ratio Calculator in Design Tools, and to estimate file sizes and transfer times, use the File Size Calculator in Data Tools.

FAQ

Are my images uploaded when I convert them to Base64?

No. Reading the file, encoding, previewing and decoding all happen in your browser, so the image is not sent to a server. That makes it suitable for assets you would rather not share.

Why is the Base64 string bigger than the image file?

Base64 turns every 3 bytes into 4 text characters, so the output is about a third larger than the original, and the Data URL prefix or HTML and CSS wrapping adds a few more characters.

How do I turn a Base64 string back into an image?

Paste the raw Base64 or a full Data URL starting with data:image into the Image Base64 tool. For raw Base64, choose the image type yourself, then check the preview and download the file.

Can I compress or resize images here?

Not at the moment. Image Tools only covers Base64 encoding and decoding. The Aspect Ratio Calculator in Design Tools can work out proportional dimensions, but compressing or cropping needs an image editor.