Base64 Encoder & Decoder
Convert standard text into Base64 format or decode Base64 strings back to text instantly. 100% offline processing directly in your browserβno data is sent to external servers.
How to Use
- To Encode: Paste or type plain text into the Input box, then click Encode.
- To Decode: Paste a Base64-encoded string into the Input box, then click Decode.
- URL-Safe Encoding: Check the URL-safe option if you plan to pass strings inside web links or query parameters.
- Quick Utilities: Use Swap β to move output text back into the input field, or click Copy Output to copy results to your clipboard.
What is Base64?
Base64 is a binary-to-text encoding scheme that translates binary data (or complex character sets like UTF-8/emojis) into a simple ASCII string format. It utilizes 64 distinct characters: uppercase letters (AβZ), lowercase letters (aβz), numbers (0β9), and two special characters (+ and /, or - and _ for URL-safe representations).
Common Use Cases
Safely transmitting data over network protocols (like HTTP or SMTP) that are primarily designed for text.
Inlining small images, SVGs, or fonts directly inside HTML or CSS files via Data URIs.
Formatting authorization headers and tokens (e.g., JSON Web Tokens / JWT) in a URL-friendly structure.
Note: Base64 is an encoding technique, not encryption. It does not secure or hide confidential data, as anyone can easily reverse the process to read the original content.