Util / Encoding
/Base64 Encode / Decode
0 requests sent since load
Input
convert
output
options
Output
About Base64 encoding
Base64 encodes arbitrary binary data as printable ASCII characters, making it safe to embed in JSON, HTML, CSS data URIs, or email. Text is encoded as UTF-8 bytes first, so non-ASCII characters round-trip correctly. The URL-safe variant replaces +and / with -and _ for use in URLs and filenames without percent-encoding.
FAQ
Is my data sent anywhere?
No. Encoding and decoding happen entirely in your browser using the native btoa/atob APIs.
Can I encode binary files?
Yes — use the Upload button. The file is read into memory and encoded without any server round-trip.