Base64 Encoder & Decoder
Encode text or files to Base64 and decode Base64 back to text, images or files.
Loading tool…
How to use
- Choose Encode or Decode.
- Type text, paste Base64, or drop a file to encode it.
- Decoded images are previewed, and any decoded file can be downloaded.
- Copy or download the result.
How it works
Text is encoded as UTF-8, so emoji and every script round-trip correctly. Decoding accepts standard and URL-safe Base64, missing padding, line breaks and data: URIs. The file type of decoded data is detected from its first bytes (for example PNG, JPEG, PDF or ZIP).
Limitations
- Files up to 50 MB.
- Base64 output is about a third larger than the original data.
Privacy
Text and files are processed entirely in this browser tab. Nothing is uploaded or saved.
Local processing protects your data from being uploaded, but it cannot protect against a compromised device or malicious browser extensions.