How to Decode a Base64 String Back Into an Image

Published September 10, 2026 · 2 min read

If you've got a base64-encoded image string — pulled from an API response, a config file, or a piece of code — and need to actually see or save it as a real image file, this reverses the encoding and gives you back a normal image.

Try Base64 to Image

Steps

  1. 1

    Open the Base64 to Image tool

    Go to the base64 decoder.

  2. 2

    Paste your base64 string

    Paste either a full data: URL, or a raw base64 string with the format specified separately.

  3. 3

    Decode

    The tool converts the text back into image bytes and displays it.

  4. 4

    View or save the image

    The decoded image is shown directly in the page, ready to save.

Frequently asked questions

Because decoding happens locally, pasting in a base64 string never means sending that data anywhere else to see what it actually shows.

← Back to blog