Base64 Encode / Decode
Encode UTF-8 text as Base64, or decode valid Base64 as UTF-8.
Showing the previous result. Check the highlighted inputs.
Standard alphabet.
Breakdown & share
- Full output
- SGVsbG8sIFRhbmdvIQ==
- Output characters
- 20
Your inputs
How it’s worked out
See how we got SGVsbG8sIFRhbmdvIQ==
Encode UTF-8 bytes into six-bit groups using the Base64 alphabet. Decode by reconstructing the original bytes, then interpreting them as UTF-8.
- Convert the input text into UTF-8 bytes.
- Return 20 output characters.
About this calculator
Base64 is a representation of bytes for transport. This text utility can decode UTF-8 payloads and accepts optional padding.
Base64 output · SGVsbG8sIFRhbmdvIQ==
Encode UTF-8 bytes into six-bit groups using the Base64 alphabet. Decode by reconstructing the original bytes, then interpreting them as UTF-8.
- Convert the input text into UTF-8 bytes.
- Return 20 output characters.
Common questions
Does Base64 protect a secret?
Base64 can be decoded by anyone. Use encryption or an appropriate secret store to protect data.
Can I paste text with accents or emoji?
Yes. The text is first converted to UTF-8.
What changes in Base64url?
The alphabet uses hyphen and underscore in place of plus and slash. Padding can be omitted.
Formula sources
Reference checked November 22, 2026.
Copy a report template with the calculator name. Add the numbers and expected result before sharing it.