RevealTheme logo

Konverter Base64 ke Gambar

Decode string Base64 atau data URL untuk mengonversinya menjadi gambar yang dapat diunduh.

Cara menggunakan alat ini

  1. 1

    Paste your Base64 payload or full data URL (data:image/...) into the text box. Leading and trailing whitespace in a raw Base64 string is stripped automatically.

  2. 2

    The decoded image appears as a live preview the moment the browser can render it; if the data cannot be decoded, an 'Invalid Base64 image data' message is shown instead.

  3. 3

    Click the Download button to save the image to your device as image.png.

Apa itu Konverter Base64 ke Gambar?

Jika Anda mewarisi file CSS atau halaman HTML dengan data URL yang tertanam, alat ini mengekstrak gambarnya sehingga Anda dapat menyimpannya sebagai file. Tempel data URL lengkap (data:image/...) atau hanya payload Base64-nya: kami menangani keduanya.

Kasus penggunaan umum

  • Recovering an icon or logo that a previous developer hard-coded as a data URL inside a CSS or HTML file, so you can save it back to a real .png file.

  • Inspecting a Base64 image string returned by an API or stored in a JSON payload to confirm it actually decodes to the picture you expect.

  • Pulling an embedded image out of an SVG or email template where assets were inlined as data URLs to reduce HTTP requests.

  • Quickly verifying that a Base64 string copied from logs, a database column, or a clipboard snippet is a valid, renderable image.

  • Extracting a screenshot or avatar that a tool exported as a data URL when you need the binary file instead of the text blob.

  • Teaching or demonstrating how data URLs work by pasting an encoded string and watching it render live in the preview.

Pertanyaan yang sering diajukan

Apakah alat ini menerima hanya string Base64?
Ya. Jika Anda menempel Base64 mentah tanpa prefiks data URL, kami mengasumsikan image/png. Untuk tipe lain, tempel data URL lengkapnya.

Alat terkait