Tool processing happens entirely in your browser. Your input is never sent to our servers.
Base64 is a binary-to-text encoding scheme that represents binary data using a set of 64 ASCII characters (A-Z, a-z, 0-9, +, /). It is used whenever binary data needs to be stored or transmitted in environments that only handle text.
Common uses of Base64:
data:image/png;base64,...)The size tradeoff: Base64 increases data size by approximately 33%. Three bytes of binary data become four Base64 characters. This makes it unsuitable for large files but perfectly acceptable for small images, tokens, and configuration data.
Unicode handling: The standard JavaScript btoa() function only handles ASCII characters. Our tool uses TextEncoder and TextDecoder to properly handle the full Unicode range, including emoji and multibyte characters.
For URL-safe encoding of query parameters, use the URL Encoder/Decoder. To format JSON data before encoding, try the JSON Formatter.