Base64 Encode and Decode — Text, Files and Images
Encode and decode Base64 with UTF-8 support, URL-safe output, and file or image to Data URI.
Processed locally in your browser. Nothing is uploaded.
How to use
- Choose encode or decode.
- Enter text or pick a file.
- Copy or download the result.
Example and rules
Example: “Hello River” encodes to SGVsbG8gUml2ZXI=.
- Text uses UTF-8; decoding accepts standard and URL-safe alphabets.
- Files up to 10 MiB.
- If the decoded bytes are not valid UTF-8, download them as a binary file.
Frequently asked questions
Is Base64 encryption?
No. It is an encoding anyone can reverse.
What is URL-safe Base64?
It uses - and _ instead of + and /, and may drop trailing =.
Is data uploaded?
No. Everything runs in your browser.