Base64 Encoder
Base64 Encoder
Encode UTF-8 text to Base64 format.
InputsManual input30 charsAuto run
File input
Choose a file
Click, drop, or paste from clipboard.
Options
0
No options.
More actions
Manual
Base64 output
0
No output yet.
Live
Manual
Ready
30
Input
0
Output
0
ms
Flow
- Convert text to UTF-8 bytes.
- Encode bytes using Base64 alphabet.
- Return padded Base64 output string.
Example
Worked example: text to Base64
- 1 Input text = pi = π
- 2 UTF-8 bytes are encoded with Base64 alphabet.
- 3 Output = cGkgPSDPgA==
The UTF-8 text is converted into valid Base64 output.
How
- Paste plain text into the input textarea.
- Run encoding or keep live mode enabled.
- Copy Base64 output for downstream use.
Cases
- Encode API payload snippets for testing.
- Prepare auth header fragments in dev workflows.
- Store text fixtures in compact portable format.
Avoid
- Assuming Base64 is encryption instead of reversible encoding.
- Encoding empty input and expecting non-empty output.
- Confusing Base64URL format with standard Base64 output.
FAQ
Does this support UTF-8 characters?
Yes, the encoder uses UTF-8 so unicode text is preserved correctly.
Is Base64 secure encryption?
No, Base64 is an encoding format and is fully reversible.
Can I copy output quickly?
Yes, use the copy output button after encoding.
Switch
Switch12
No match.