Base64 Encoder Β· Decoder
Encode or decode text and files with Base64. Auto-detects whether your input is already encoded.
Input
Output
What is Base64?
Base64 is an encoding that represents binary data using only ASCII characters (AβZ, aβz, 0β9, +, /). It is commonly used in email, data URIs, JWTs, and API responses.
Smart Input Detection
When you paste text, the tool checks whether it looks like Base64 (valid charset + length divisible by 4) and switches to Decode mode automatically.
Privacy
All text and files are processed locally in your browser. Nothing is uploaded, so sensitive tokens and credentials stay safe.
FAQ
Is Base64 encryption?
No. It is just an encoding and anyone can decode it. Do not use it to protect passwords.
How much larger does data get?
Base64 encoding increases size by about 33%.