Plain input
Result
The result appears here live. Nothing you type leaves this page.
Frequently asked questions
Why do other Base64 tools break on emoji and accents?
The browser's built-in btoa function only handles Latin characters. This tool encodes text as UTF-8 bytes first, so emoji, accents, and any other Unicode round-trip correctly.
Can I convert a file to Base64?
Yes - use the "Encode a file" button to get the Base64 of any file, ready for data URLs or JSON payloads. Decoding works too: paste Base64 and download it back as a file.
When do I need URL encoding instead of Base64?
URL encoding (percent-encoding) makes text safe inside a URL, turning spaces into %20 and so on. Base64 turns arbitrary binary data into printable text. Use URL encoding for query parameters, Base64 for embedding data.