Free Base64 Encoder & Decoder — Encode Text and Files Online
Encode any text to Base64, decode Base64 back to readable text, or convert files to and from Base64 — all instantly in your browser. The encoding is Unicode-safe (emoji and non-Latin scripts work), and your files never leave your browser: everything is processed locally on your device.
How it works
Base64 Encoder & Decoder
Encode text & files to Base64 or decode them back — Unicode-safe, 100% in your browser.
100% Free Forever
No Sign-up
No Credit Card
Private — files never leave your browser
Unlimited Use
1 Enter your text
Unicode-safe — emoji and non-Latin scripts work.
2 Choose a mode or use a file
Pick any file to get its Base64 string (great for embedding images as data URIs). Read locally — never uploaded.
Decodes the result above and downloads it under this name.
3 Convert & copy your result
📋 Result
Everyday uses
- Embed images in HTML or CSS: convert a small icon to Base64 and paste it as a
data:URI — one less HTTP request, no separate image file to manage. - Debug API payloads: decode the Base64 chunks you find in API responses, JWT tokens, and webhook payloads to see what they actually contain.
- Prepare email attachments: see exactly what Base64 an attachment becomes before it goes into a MIME message.
- Share binary data as text: turn any small file into plain text you can paste into a config file, a chat message, or a code comment.
- Learn how encoding works: type your name, an emoji, or a sentence and watch how UTF-8 bytes map to the Base64 alphabet — padding
=included.