iShowPDF

Base64 to JPG

Base64 to JPG decodes encoded picture data and gives you a .jpg file.

What Base64 to JPG does

Base64 to JPG decodes encoded picture data and gives you a .jpg file. Choose it when a form, printer or app wants a JPG and the picture you have is stored as Base64 text.

A JPG inside the data is saved unchanged. Other pictures, such as PNG, GIF or WebP, are redrawn and saved as JPG at quality 0.92. JPG cannot hold transparency, so see-through areas are filled with white rather than turning black. The width and height stay exactly the same as the original.

How to use Base64 to JPG

  1. Paste your Base64

    Use the plain string or a link that starts with data:image.

  2. Decode

    Press Decode to rebuild the picture as a JPG.

  3. Look it over

    A preview, the type image/jpeg and the file size appear below.

  4. Save it

    Download decoded.jpg for your form or app.

Questions about Base64 to JPG

Will a transparent PNG look right as a JPG?

The see-through parts become white. If you need to keep transparency, use Base64 to PNG instead.

Does it reduce the image size?

It does not resize the picture. Turning a PNG photo into a JPG usually makes the file smaller, but a JPG that was already inside the data stays byte for byte as it was.

Can I convert a Base64 WebP to JPG?

Yes, as long as your browser can open WebP pictures, which current browsers can.

Related tools