FileOpens

Documents

All document converter →Microsoft PublisherApple PagesApple KeynoteMicrosoft WorksWordPerfectAppleWorksLotus Word ProMS Write, StarOfficeEvernote notes

Spreadsheets

All spreadsheet converter →Apple NumbersSPSS to Excel or CSVMicrosoft AccessMicrosoft ProjectPrimavera P6Asta PowerprojectGanttProject, ProjectLibreSureTrak, Primavera P3Lotus 1-2-3, Quattro ProWorks databases

Drawings & sites

All cad file viewer →Visio to PDFVisio viewerAutoCAD DXFCorelDRAW to PDFPageMaker to PDFFreeHand to PDFWeebly to WordPress

E-mail & chats

All email to pdf →WhatsApp to PDFPrint WhatsApp messagesWhatsApp chat exportText messages (SMS)Print text messagesSlack export viewerSkype chat historyDiscord chat exportTelegram to PDFInstagram DMs to PDFMessenger to PDFEML to PDFOutlook MSG to PDFMailbox to PDFMBOX viewerVirgin Media email closingHughesNet email shutdownOutlook PST to PDFOutlook for Mac OLMOLM to Outlook for WindowsGmail to PDF

PDF tools

All pdf tools →Merge PDFSplit PDFCompress PDFCompress PDF to 100 KBDelete PDF pagesRotate PDFExtract PDF pagesReorder PDF pagesCrop PDFAdd page numbersWatermark PDFSign PDFProtect PDFUnlock PDFOCR PDFFlatten PDFPDF to grayscaleInvert PDF colorsRemove PDF metadata

Convert PDF

All pdf converter →PDF to WordWord to PDFPDF to ExcelExcel to PDFPDF to PowerPointPowerPoint to PDFJPG to PDFPNG to PDFImage to PDFPDF to JPGPDF to PNGPDF to textHTML to PDFPDF to EPUBPDF to PDF/APDF to TIFFPDF to SVG

Images

All image tools →Image converterCompress imageJPG to PNGPNG to JPGJPEG to JPGCompress JPEGCompress PNGGIF to PNGPNG to GIFGIF to JPGJPG to GIFGIF makerRemove backgroundBackground eraserMake background transparentWhite background for photoRemove white backgroundResize imageCrop imageRotate imageFlip imageBlur imagePixelate imageBlack and white photoInvert image colorsMerge imagesWatermark imageAdd text to imageRemove EXIF dataEXIF viewerChange DPIImage to Base64Base64 to imageMP4 to GIFVideo to GIFGIF to MP4GIF compressorPNG to SVGJPG to SVGImage to SVGSVG to PDFImage to textPNG to DXFSVG to DXFDXF to SVGHEIC to JPGHEIC to PNGHEIC to PDFHEIC viewerWebP to PNGWebP to JPGWebP to GIFWebP to PDFPNG to WebPJPG to WebPAVIF to PNGAVIF to JPGJFIF to JPGJFIF to PNGSVG to PNGSVG to JPGPNG to ICOICO to PNGBMP to JPGBMP to PNGTIFF to JPGTIFF to PNGPSD viewerPSD to PNGPSD to JPGPSD to PDFAI to SVGAI to PNGOpen AI fileEPS to PNGDDS to PNGTGA to PNGTGA to JPGRAW to JPGCR3 to JPGCR2 to JPGNEF to JPG

Free tools

All file viewer →Universe shutting downOpen winmail.datGEDCOM viewerArc to ChromeKML / KMZ viewerKMZ to CSVKML to GPXGPX editor3MF to STLOpen a .p7m fileXPS to PDFMHT to PDFCHM to PDFEPS to PDFPS to PDFEPUB validatorTIFF to PDFDjVu to PDFLIT to PDF or EPUBMOBI to PDFEPUB to PDFCBR readerCBR to PDFODT to Word or PDFHWP to PDF or WordODS to ExcelODP to PowerPointICS calendar viewerICS to CSVVCF to Excel

Free Your pictures are not uploaded

Base64 to image

Turn Base64 to image files here: paste a data URI, plain Base64 or a whole <img> tag, and the picture appears with its real format and size, ready to save as a PNG, JPG, GIF, WebP, SVG or ICO file. The text is decoded in your browser and sent nowhere.

Paste the Base64 text

Everything happens in this browser tab: nothing you paste is sent to FileOpens or anywhere else.

Base64 decoded by FileOpens

A pasted data URI shown as a picture: an example made with FileOpens

data URIimage.png

A pasted data URI shown as a picture

  • Format found from the content
  • 300 × 300 PNG, ready to save

A sample icon we made ourselves, with made-up names and data, opened in this tool and shown as it came out. Your own files stay on your device.

How to convert Base64 to an image

  1. Step 1

    Paste the text

    A data URI, plain Base64, an <img> tag, or drop a .txt file.

  2. Step 2

    Show the picture

    The format is recognised from the content.

  3. Step 3

    Save it

    Download the picture as a normal file.

Where Base64 pictures come from

Developers meet Base64 images everywhere: in API responses and JSON fields, in HTML emails and saved web pages, in CSS files, browser developer tools, logs, database exports and QR code generators. Seeing the picture, or getting it as a real file, normally needs a script. This page does it by pasting: the Base64 text is decoded and shown as the picture it contains.

Base64 to image: what you can paste

A full data URI (data:image/png;base64,iVBORw0…), plain Base64 without the prefix, URL-safe Base64 that uses - and _ instead of + and /, text with line breaks, a whole HTML tag or a CSS url(…) value: the page finds the encoded part by itself. Missing padding (=) is added. SVG data URIs that are URL-encoded rather than Base64 are decoded too. You can also drop a .txt file with the text onto the box.

The real format

The format is recognised from the first bytes of the decoded data, not from what the text claims: PNG, JPG, GIF, WebP, BMP, ICO, TIFF, AVIF, HEIC and SVG are detected, and the page tells you if the data says image/png but is really a JPEG. If the text decodes to something that is not a picture, such as a PDF or a font, the page says so rather than showing a broken image.

After decoding

Save the picture with its proper extension and open it in any viewer. To convert it to another format, use the image converter; to encode a picture the other way, image to Base64. A cut-off string, which often happens when copying from logs, cannot be decoded completely; copy the whole value again.

Checking a Base64 image

Decoding shows whether a string is a complete, valid picture. A broken image after decoding usually means the text was cut off or changed while copying, which is the most common problem with long strings, for example by a line limit in a log viewer or a field that adds spaces. The format and size shown help to spot wrong data quickly: a 1 × 1 pixel GIF, for instance, is a tracking pixel rather than a real picture. Saving the decoded file lets you open it in any program or attach it to a bug report.

Private

The text you paste is decoded in your browser and never sent anywhere, which matters for data from internal systems.

More free image converters

Questions about Base64 to image

How do I turn Base64 into a PNG or JPG?

Paste it and press "Show the picture", then save; the right extension is chosen for you.

Do I need the data:image prefix?

No, plain Base64 works too.

Why does it say the data is not a picture?

The text decodes to another kind of file, or it was cut off.

Does it work with URL-safe Base64?

Yes, - and _ are handled and missing = padding is added.

Can I paste an <img> tag?

Yes, the Base64 part is found automatically.

Can it decode Base64 from an API or JSON?

Yes, paste the value of the field, with or without quotes removed.

Is my text uploaded?

No, it is decoded in your browser.