Base64 & URL Encoder
Encode and decode text, URLs and files as Base64 — Unicode-safe, no upload.
🔒 Every conversion runs only in your browser — your text and files are never sent to a server.
What you can do
Three modes in one place: convert text to and from Base64, percent-encode or decode URLs and query strings, and turn a file into Base64 plus a full data URI. Copy any input or result with one click.
Unicode-safe
Text is converted to UTF-8 bytes before Base64 encoding and decoded back the same way, so Korean, emoji and other multi-byte characters round-trip perfectly instead of breaking like raw btoa. Malformed input shows a clear error.
Data URIs from files
File mode reads an image or icon locally and outputs both the raw Base64 and a full data:...;base64 URI you can inline in HTML or CSS. It is best for small assets, since large files produce very long strings.
Frequently asked questions
Do Korean and emoji stay intact?
Yes. Text is encoded from its UTF-8 bytes and decoded back the same way, so multi-byte characters survive the round trip instead of getting mangled by plain btoa.
How is Base64 different from URL encoding?
Base64 packs arbitrary data into text for data URIs or email attachments. URL (percent) encoding escapes characters like spaces so a value is safe inside a web address or query string.
Are my files uploaded?
No. Files are read inside your browser and converted to Base64 and data URIs locally — nothing is ever sent to a server, so even sensitive files stay private.