IMAGE WORKSPACE

Image Base64 Encoder & Decoder

Convert images to Base64 or data URIs and recover the original file.

Your image stays hereProcessed in this tab. No upload or account.
Drop one image here

Or paste an image from the clipboard while this workspace is focused.

PNG, JPEG, static WebP or BMP. 40 MiB/file, 24 MP, 8192 px/side; pixel operations 6 MP. GIF: 120 frames and 24 MP across all frames. Split: at most 256 pieces.

Original
Your image preview appears here.
Result
Your image preview appears here.

Checkerboard areas indicate transparency. Previews fit the screen; downloads keep the displayed pixel dimensions.

Choose an image or try the example.

Image exports re-encode pixels; Base64 encode/decode preserves original bytes. BMP 1/4/8/16-bit and GIF reduce colors. BMP 4/8-bit palettes use up to 8/128 colors. JPEG fills transparency.

IMAGE WORKSPACE

Understand the task

Base64 represents every three binary bytes with four text characters. A data URI adds a media type and a Base64 marker so an image can be embedded directly in HTML or CSS. Encoding here reads the original file bytes; decoding validates both the data and image signature before previewing.

What this tool does

Encode image · Decode Base64

How to use

  1. Choose the operation that matches your task. Import a file, try the example, or enter text for generation and Base64 decoding.
  2. Adjust the visible settings and create a preview. The original remains available. Changing settings disables the old download until you run again.
  3. Inspect the result, details and dimensions. Copy text when available or download the file. Use the alternate download for PNG, extracted frames or a second representation.

Limits and common errors

Base64 is encoding, not encryption or compression. It usually increases payload size by about one third. Copy the raw text or complete data URI as needed. To decode generated HTML or CSS, extract only its data URI first.

PNG, JPEG, static WebP or BMP. 40 MiB/file, 24 MP, 8192 px/side; pixel operations 6 MP. GIF: 120 frames and 24 MP across all frames. Split: at most 256 pieces.

Image exports re-encode pixels; Base64 encode/decode preserves original bytes. BMP 1/4/8/16-bit and GIF reduce colors. BMP 4/8-bit palettes use up to 8/128 colors. JPEG fills transparency.

Questions and answers

How does this operation work?

Base64 represents every three binary bytes with four text characters. A data URI adds a media type and a Base64 marker so an image can be embedded directly in HTML or CSS. Encoding here reads the original file bytes; decoding validates both the data and image signature before previewing.

What should I check before exporting?

Base64 is encoding, not encryption or compression. It usually increases payload size by about one third. Copy the raw text or complete data URI as needed. To decode generated HTML or CSS, extract only its data URI first.

Does this upload my files?

No. Processing runs in this tab. Closing the page discards its working state.

Related image tools