How to Use
- 1
Enter or paste the text you want to encode in the input box. The Base64-encoded output appears instantly.
- 2
To decode, switch to Decode mode and paste a Base64 string - the original text is revealed immediately.
- 3
Use the Swap button to quickly reverse direction, or Copy to copy the output to your clipboard.
Frequently Asked Questions
What is Base64 encoding? โผ
Base64 is a way of encoding binary data as ASCII text using 64 printable characters (A-Z, a-z, 0-9, +, /). It is widely used to safely transmit binary content through systems that only handle text.
When would I need Base64? โผ
Common uses include embedding images in HTML/CSS as data URLs (data:image/png;base64,...), sending binary data in JSON API payloads, encoding email attachments in MIME format, and creating Basic Auth headers (username:password encoded as Base64).
Is Base64 encryption? โผ
No. Base64 is encoding, not encryption. It makes data safe to transport through text-based systems but provides zero security. Anyone can instantly decode a Base64 string. Never use it to protect sensitive data - use proper encryption instead.