Converters
Base64 Encoder & Decoder
Encode text to Base64 or decode Base64 back to readable text online, with full UTF-8 support for any language.
Base64 Encoder & Decoder
Encode text to Base64 or decode Base64 back to readable text online, with full UTF-8 support for any language.
The Base64 converter is a utility for encoding text into the Base64 format or decoding it back into human-readable text. Base64 is often used to transmit binary data in environments that only support text, making it a standard method for embedding small images or transferring data securely over text-based protocols.
To use the tool, select either 'Encode' or 'Decode'. Enter your input in the text area provided. The tool will instantly display the resulting output in the box below. If you are decoding and the input is not valid Base64, an error message will inform you.
For example, encoding the text 'Hello' results in 'SGVsbG8='. Conversely, decoding 'SGVsbG8=' will restore the text to 'Hello'. You can swap the input and output easily if you need to perform the reverse operation on your result.
A common mistake is forgetting that Base64 encoding increases the file size by approximately 33%. Additionally, this tool processes text in your browser, so you can safely use it to encode or decode sensitive strings without them ever leaving your device.
Key Features
- Base64 Encoder & Decoder: 100% free, no sign-up
- Instant results as you type
- Private: runs in your browser
- Works on phone, tablet and desktop
- Available in English, Spanish, French and Arabic
How it works
Base64 converts binary data into a sequence of 64 ASCII characters by grouping 24 bits of input into four 6-bit blocks, ensuring safe transport in text-only systems.
Worked example
Frequently asked questions
Is Base64 encryption?
No, Base64 is an encoding scheme, not encryption. It can be easily decoded by anyone.
Why does the size increase?
Base64 represents each 6 bits of data with an ASCII character, resulting in a larger output than the original.
Can it handle binary files?
Yes, but this specific tool is designed for text strings.
Is my data secure?
Yes, the encoding and decoding happen entirely in your browser. No data leaves your machine.
What are the allowed characters?
Base64 uses A-Z, a-z, 0-9, +, and / characters, with '=' used for padding.