Base64 encode and decode
Text or a whole file, either direction. Nothing is transmitted, which matters more here than on most of these pages.
- Runs
- On your device. The file is never uploaded.
- Takes
- any file
- Gives
- Base64, or the bytes back
base64Local
How it works
- 01Paste text or drop a file
- 02Choose encode or decode
- 03Copy the result
Questions
- Is Base64 encryption?
- No. It is an encoding, and anyone can reverse it in a second. It exists to move binary data through channels that only carry text.
- Is it safe to paste a secret here?
- The encoding runs in your browser and nothing is sent anywhere, so the page itself is safe. Whether the result is safe to paste elsewhere is a different question.
- What about URL-safe Base64?
- Switch the alphabet with the control below. It swaps + and / for - and _ and drops the padding.