Encode and decode base64
Convert text to base64 or back, with a URL-safe option for tokens and query strings. Any file can be encoded, not just text ones, since encoding a binary is the usual reason to need this. Decoding is strict: input that is not valid base64 is reported as such rather than turned into plausible-looking garbage, and when the decoded bytes are not text you get a download instead of a clipboard full of nothing.
This tool runs entirely on your device. Nothing you type here is uploaded, logged or stored.
Settings
0 characters
or paste above
Result
Enter some text above to see the result.