Base64 Encode/Decode

Encode/decode Base64 for text and files. URL‑safe option, padding control, line wrapping, data URI paste, drag‑and‑drop, and code examples.

Mode
If empty for files, detects from file type when available.
Input
Drop a file here to encode as Base64
preview
Output
Code Examples

Support This Free Tool

Every coffee helps keep the servers running. Every book sale funds the next tool I'm dreaming up. You're not just supporting a site — you're helping me build what developers actually need.

500K+ users
200+ tools
100% private
Privacy Guarantee: Private keys you enter or generate are never stored on our servers. All tools are served over HTTPS.