> -dash devtools

Base64 Encoder & Decoder

Free  ·  Private  ·  Instant

Frequently asked questions

What is Base64 encoding?
Base64 is a binary-to-text encoding scheme that represents binary data using 64 printable ASCII characters. It is commonly used to transmit data over media that only supports text, such as JSON APIs or email.
Is Base64 encoding the same as encryption?
No. Base64 is encoding, not encryption. It is trivially reversible by anyone and provides no security. Do not use it to protect sensitive data.
When would I use Base64?
Common uses include embedding binary files as data URIs in HTML or CSS, transmitting binary content in JSON APIs, and encoding credentials in HTTP Basic Auth headers.
Does this tool support Unicode and emoji?
Yes. The encoder uses the TextEncoder API to handle all Unicode characters, including emoji, correctly before encoding to Base64.
Does my data leave my browser?
No. All encoding and decoding happens locally using built-in browser APIs. Nothing is ever sent to a server.