Base64 encode and decode
Encode or decode text and files as standard or URL-safe Base64.
- Text 5 MB
- Files 20 MB
- Runs in the browser
Your file is processed in this browser and is not uploaded by this tool.
How to use it
Three steps
- 01
Choose encode or decode.
- 02
Paste text or choose a file.
- 03
Turn on URL-safe if you need Base64url. Copy or download the result.
Related tools
Questions
What is URL-safe Base64?
It uses - and _ instead of + and /, and this tool omits padding on encode. Padding is restored before decoding.
Will Unicode text survive a round trip?
Yes for text mode. It encodes UTF-8 bytes, not the raw JavaScript string.