Base64 Encoder / Decoder
Encode or decode Base64 text and files. Includes URL-safe mode, live detection, and image preview.
Mode
🔒 Encode → Base64
🔓 Base64 → Decode
📁 File → Base64
📥 Base64 → File
Plain Text
Base64 Output
Live
Encode
🔗 URL safe
Copy
✕ Clear
File Input
📁
Drag and drop any file here
or
browse
Reading file…
Encode
✕ Clear
Data URI Input
📄
Drag and drop encoded
.txt
file here
or
browse
Validating…
Decode
✕ Clear
—
Input Size
—
Output Size
—
Ratio
Data URI Output
Download .txt
Download File
Clear