Converters

Base64 ⇄ File Converter

Encode any file into a Base64 string, or paste a Base64 string (with or without a data: URI prefix) and reconstruct it into a downloadable file. Everything happens locally with native browser APIs — nothing is uploaded to a server.

Drop any file here, or click to browse
Any file type, any size your browser can hold in memory.
Base64 output
Original size: Base64 length:
Large files produce very long strings — Base64 is ~33% larger than the original binary.
Paste Base64

Paste a raw Base64 string, or a full data:mime/type;base64,... URI — either works.