Base64 Encoder / Decoder

Convert text and files to Base64 and back. Supports Unicode, URL-safe encoding, and drag-and-drop.

Plain Text
Chars:0
Bytes:0
Base64 Output
Output will appear here
Chars:0
Bytes:0

About Base64 Encoder/Decoder

This tool uses the modern TextEncoder / TextDecoder API for flawless Unicode support (Emoji, CJK, Arabic, etc.). Toggle URL-safe for RFC 4648 §5 compliant output (safe for URLs and filenames). Drag and drop any file to encode it, or paste Base64 to decode it back. All processing happens locally in your browser.

Ctrl+EnterConvertCtrl+Shift+CCopy Output