Base64 encode and decode
Encode text to Base64 and decode it back, Unicode safeNo sign-up. What you type never leaves this browser
Base64 encode and decode
Result
Enter values to see the result.
FAQ
Is Base64 encryption?
No. Anyone can reverse it, so it does not keep anything secret.
Why is the decoded text garbled?
If the data was a binary file such as an image, or text in an encoding other than UTF-8, it cannot be shown as text.
About this tool
This tool turns text into UTF-8 bytes and encodes them as Base64, binary data written with 64 characters. Decoding does the reverse.
- Encode: text → UTF-8 bytes → Base64. Every 3 bytes become 4 characters.
- URL-safe uses - and _ instead of + and /, and drops the trailing = (the form JWTs use).
- Decoding accepts both the standard and URL-safe forms.
What you enter is worked out only in this browser and never sent to a server. Nothing you type is stored; only the lists of recently used and favorite tools stay in this browser.