Hub
Base64 Encoder / Decoder
🔐
Base64 Encoder / Decoder
Encode text or files to Base64 and decode Base64 strings back to plain text. Everything runs locally in your browser — nothing is uploaded to any server.
Text
File
Encode to Base64
Decode from Base64
Clear
Copy Output
×
📁
Drop a file or click to browse
Supports any file type. Max 10 MB. File is read locally — never uploaded.
Advertisement
How to use
Pick Text or File mode and paste or drop your input.
Click Encode or Decode — the result appears below instantly.
Copy the output, swap input/output to round-trip, or grab a full data URL for file mode.
FAQ
Does Base64 encryption protect my data?
No. Base64 is just encoding — anyone with the string can decode it. Use real encryption (AES) or password hashing (bcrypt, Argon2) for security.
How much larger is Base64 output?
Roughly 33% larger than the original. Three bytes of input become four Base64 characters, plus padding to the nearest multiple of four.
What's the difference between Base64 and Base64URL?
Base64URL swaps + and / for - and _ so the result is safe to drop into URLs and HTTP headers. JWTs use Base64URL.