Base64 Encode/Decode
Convert UTF-8 text or local files to Base64 and recover text or binary files.
Up to 50 MB · read locally
Enter text to get started.
How to use Base64 Encode/Decode
- Paste or type your input. You can also load the example below.
- Adjust the available options. Results update after you finish typing; for very large inputs, select Run.
- Review the result, then copy it or download it to your device.
How this tool works
Text uses UTF-8. Decoding accepts URL-safe characters, whitespace, missing padding and data URLs. Recognized or non-text binary bytes are downloaded as a file. Files are read locally, up to 50 MB.
Input and output stay in the current page. Refreshing or closing the page clears them. For very large inputs, use Run to start processing; a task that takes too long is stopped so you can change the input.
Frequently asked questions
Can auto-detect be wrong?
Yes. Some ordinary words also resemble Base64; select Encode or Decode when the direction is known.
Are files uploaded?
No. Encoding and decoding run locally in your browser.