Giải mã / Mã hoá Base64 trực tuyến — Trình chuyển đổi miễn phí
Trình mã hoá và giải mã Base64 trực tuyến miễn phí. Mã hoá văn bản hoặc binary thành Base64 hoặc giải mã trở lại — hoàn toàn trong trình duyệt.
Dán văn bản UTF-8 bên dưới và chuyển giữa Mã hoá / Giải mã. Hữu ích để nhúng token, hình ảnh và thông tin trong URL, JSON hoặc header email.
Trường hợp sử dụng phổ biến
- 1Embed credentials, tokens or small images directly into URLs, JSON or email headers safely.
- 2Decode Authorization headers (Basic auth, JWTs) to inspect what your client is sending.
- 3Convert binary attachments to text for systems that only accept ASCII.
Câu hỏi thường gặp
Is my input sent to your server?+
No. Base64 encoding and decoding both run in your browser via the standard btoa/atob APIs. Nothing leaves the page.
Why is my decoded output garbled?+
Either the input is not valid Base64 (check for missing padding or stray characters), or the original data was binary, not text. A binary viewer is the right tool for non-text payloads.
Does it handle UTF-8 / emoji?+
Yes. We pipe the input through encodeURIComponent / unescape before btoa so emoji and non-ASCII characters round-trip correctly.