BASE64 ENCODER / DECODER
Base64 encode & decode, UTF-8 safe, even for CJK.
Encode text to Base64 or decode it back with correct UTF-8 handling, and turn small files into Base64 / Data URLs.
File → Base64
Pick an image or text file to turn it into Base64 or a Data URL (keep it under 5MB).
Everything runs locally in your browser
What does this tool do?
Base64 is often used to carry binary data inside JSON, URLs or CSS. Here you can safely encode/decode text (with correct CJK handling) and turn small files into Data URLs for inline use.
FAQ
Will non-ASCII text get garbled?
No. Text is converted to UTF-8 bytes before encoding and restored in reverse on decode, so CJK round-trips perfectly.
Are my files uploaded?
No. Files are read and converted only inside your browser and never sent to a server.
使用步骤How to use
- 粘贴文本或选择文件Paste text or choose a file
- 选择编码或解码,自动处理中文与换行Choose encode or decode; Chinese text and line breaks are handled
- 复制结果或下载文件Copy the result or download it