Base64 Encode

Encode text or files to Base64, Base64URL or MIME directly in your browser.

Base64 inputPaste or drop a file
0 charactersBase64 / Base64URL
Decoded result
Ready to convertYour result will appear here automatically.
Waiting for input0 bytes
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.