Base64 Encode/Decode
Source Text / Base64
Result / Base64
Instructions
- Enter raw text or Base64 encoded string in the left textarea.
- Select the appropriate character encoding (default is UTF-8).
- Click "Encode →" to encode the left text to Base64, displayed on the right.
- Click "← Decode" to decode the left Base64 text, displayed on the right.
- Click the "Example" button to load a sample text into the left input box.
- The "Filter non-Base64 chars on decode" option helps process Base64 data containing invalid characters.
- Click "↕ Swap" to exchange the content of the left and right textareas.
- Click "Clear Both" to clear the content of both textareas.
About Base64
Base64 is a group of similar binary-to-text encoding schemes that represent binary data in an ASCII string format by translating it into a radix-64 representation. It is commonly used to encode data when it needs to be stored or transferred over media that are designed to deal with text. This ensures that the data remains intact without modification during transport. Base64 encoded data takes about 33% more space than the original data.