Base64 Encoder and Decoder
Encode text to Base64 or decode Base64 strings back to readable text. Supports standard and URL-safe Base64.
How to use the Base64 Encoder/Decoder
What is Base64?
Base64 is an encoding that converts any data into a string of 64 safe ASCII characters. It is used to embed binary data (like images) in text formats, to pass data safely in URLs and headers, and to store binary content in JSON or XML. It is not encryption — it is encoding, and is easily reversible.
Encode text to Base64
Paste any text into the Encode tab and get the Base64 equivalent immediately. Enable URL-safe mode to replace + with - and / with _ — required when using Base64 in URLs or filenames. Enable line breaks for email-compatible MIME Base64 that wraps at 76 characters per line.
Decode Base64 back to text
Switch to the Decode tab and paste any Base64 string to get the original text. Both standard and URL-safe Base64 are detected and handled automatically. If the Base64 is invalid or incomplete, an error message will tell you what went wrong.
Frequently asked questions
Is the Base64 Encoder/Decoder free to use?
Yes, the Base64 Encoder/Decoder is completely free. There is no sign-up, no account required, and no limit on how often you can use it.
Is my text private when using the Base64 Encoder/Decoder?
Yes, all text processing happens in your browser. Your text is not sent to any server and is not stored anywhere outside your device.
What devices does the Base64 Encoder/Decoder work on?
The Base64 Encoder/Decoder works on any device with a modern web browser — desktop, laptop, tablet, or phone. It is mobile-friendly and works offline once the page has loaded.