Base64 Encode
Encode text or files to Base64, Base64URL or MIME directly in your browser.
Base64 inputPaste or drop a file
Decoded result
Ready to convertYour result will appear here automatically.
Starting local conversion…
Processed on this device. Keep this tab open until the conversion is complete.
Character encoding candidates
These are guesses, not verified matches. Select a preview only if it looks right.
Advanced settings
How to use this tool
Enter text or open a binary file. Select standard Base64, URL-safe Base64 or MIME line wrapping. Text uses UTF-8 by default; files preserve their exact bytes.
Example: Type Hello using UTF-8 to get SGVsbG8=.
Frequently asked questions
Does encoding encrypt my data?
No. Anyone can decode a Base64 string. Do not use it as a substitute for encryption.
What is the file size limit?
Encode up to 100 MiB, or decode up to 160 MiB of Base64 input into at most 100 MiB. Actual capacity depends on your device memory.