ToolCabana

Conversão de Base64 para imagem

Decodifique um data URL de imagem em um arquivo para baixar.

Favorites are saved in this browser. Find them in My favorites.

Conversão de Base64 para imagem

Your input stays in this browser unless stated otherwise
Clear your input, files and result, and restore the default settings.
Load sample text to explore what this tool can do. This replaces your current input.
0 charactersClear the source text.

Como usar Conversão de Base64 para imagem

Base64 to image decodes a Base64 data URL back into a downloadable image. Paste a string that starts with data:image/png, jpeg, webp or gif followed by ;base64, and the tool previews the picture and saves it as a PNG, listing its width, height and size. Spaces and line breaks inside the Base64 are ignored.

  1. Cole a fonte no editor de entrada ou carregue o exemplo integrado.
  2. Verifique o formato de origem antes de executar a operação.
  3. Execute a conversão de Base64 para imagem, revise a saída e use os controles disponíveis para copiar ou baixar.

O que esta ferramenta suporta

Decodifique um data URL de imagem em um arquivo para baixar.

Limites e processamento

As imagens são limitadas a 32 megapixels e 16,000 pixels por lado. A maioria das operações aceita uma fonte; as operações em lote compatíveis geram um arquivo ZIP.

Fonte de exemplo
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQIHWP4z8DwHwAFgAI/ScLbtAAAAABJRU5ErkJggg==

Perguntas frequentes

How do I convert a Base64 string to an image?

Paste the complete data URL, including the data:image/...;base64, prefix, into the input and run the tool. The image is decoded, shown as a preview and offered for download as a PNG.

Can I paste Base64 without the data:image prefix?

No. The input must be a full data URL beginning with data:image/png, data:image/jpeg, data:image/webp or data:image/gif followed by ;base64,. Add the matching prefix in front of raw Base64 text before decoding.

Why is my decoded image saved as PNG instead of JPG?

After decoding, the image is drawn on a canvas and exported as PNG regardless of the source type. This keeps the decoded pixels lossless, but metadata from the original file is not carried over.

Onde minha entrada é processada?

Esta operação processa sua fonte no seu navegador. Copiar e baixar são ações explícitas; a entrada de origem não é salva em conta nem em histórico.

Quais são os limites de entrada?

As imagens são limitadas a 32 megapixels e 16,000 pixels por lado. A maioria das operações aceita uma fonte; as operações em lote compatíveis geram um arquivo ZIP.