Base64 to Image Converter
Turn a Base64 text string back into a picture you can download.
Turn an image into a Base64 text string you can paste into code.
Drop your file here
or
Choose fileAccepts JPG, PNG, WebP, GIF and SVG · up to 25 MB
Processing locally…
Privacy. This tool works entirely inside your browser. Your file is never sent to us, never saved, and never seen by anyone else. Read how we handle files
Base64 writes binary data as plain text, which lets an image be embedded directly inside HTML, CSS or JSON instead of being loaded as a separate file.
The practical use is saving a network request: a small icon embedded as a data URI arrives with the page rather than being fetched afterwards. The cost is size — Base64 is about a third larger than the original file, and embedded data cannot be cached separately by the browser.
That trade-off is worth it for small images, under a few kilobytes. For anything larger, a normal image file linked in the usual way will serve the page better.
The three output options give you the raw Base64, a complete data URI ready to drop into a src attribute, or a finished CSS background-image rule.
For small images, roughly under 5 KB, where saving a network request matters more than the size increase. For larger images it is usually counter-productive.
Base64 uses four characters for every three bytes, so it is about 33 percent larger than the original. That is inherent to the encoding.
Yes. Every tool here is free, and you do not need an account, an email address or a phone number.
No. This tool runs inside your own browser, so the file never leaves your phone or computer. Once the page has loaded you can even switch off your internet connection and the tool will still work.
This tool accepts JPG, PNG, WebP, GIF and SVG. The largest file it will take is 25 MB.
Applications start . We will email you the day applications open.
Hello! Please enter your Consumer number and the name of your biller. Our staff will check the amount and reply to you.
Thank you. Our staff will send you the bill amount shortly. Enter the amount in the card and continue to payment.