Loading your tools...
Loading your tools...
Convert a string, file, or image into its Base64 representation. Base64 to file with preview and download, file to Base64 with drag and drop.
Loading Tool...
File to Base64: Drag and drop a file or click Browse files. The Base64 string appears instantly.
Base64 to file: Paste your Base64 string. Set file name and extension (pdf, png, xlsx, xml, docx, zip, etc.). Click Download file.
Preview image: For Base64 image data, click Preview image to see it before downloading.
Copy the Base64 result with one click.
Base64 to image: Decode image Base64 and preview or download.
Base64 to PDF: Convert Base64 PDF strings to downloadable files.
Base64 to Excel: Decode Base64 Excel (xlsx) to file.
Base64 to XML: Convert Base64 XML strings back to XML files.
Base64 to DOCX: Decode Base64 Word documents.
Base64 to ZIP: Decode Base64 zip archives.
File to Base64: Encode images or documents for data URIs or API payloads.
Email attachments: Encode files for transmission in JSON or XML.
Base64 file conversion encodes binary files (images, PDFs, documents, Excel, XML, ZIP) into ASCII text for safe transmission. Use this free base64 file converter online to encode files for data URIs, API requests, or email. Decode Base64 back to files with preview for images and one-click download.
For data URIs (data:image/png;base64,...), strip the prefix before pasting. The tool auto-detects image format from the Base64 data.
Use this tool to convert Base64 to PDF. Paste your Base64-encoded PDF string, set the file name and extension to 'pdf', and click Download file. Ideal for decoding PDFs stored in databases, APIs, or data URIs.
Convert any file to Base64 online with drag and drop. Supported formats include images (PNG, JPG, GIF, WebP), PDFs, Excel (xlsx), XML, Word (docx), and ZIP. The Base64 string is generated instantly—copy it for embedding in HTML, JSON, or API payloads.
Base64 encode (file to base64) turns binary files into text. Base64 decode (base64 to file) turns Base64 text back into the original file. This tool handles both: use the right panel to encode, the left panel to decode.
This base64 file converter supports PDF, Excel (xlsx), XML, DOCX, ZIP, and images (PNG, JPG, GIF, WebP, SVG). Paste Base64 and choose the correct extension to download. For images, use Preview to verify before downloading.
Convert a string, file, or image into its base64 representation.
Drag and drop a file here, or click to select a file