Base64 Encode & Decode
Mã hóa and decode Base64 with UTF-8 support. tức thì, hoàn toàn riêng tư, browser-based. Không tải lên, no signup.
Cách sử dụng
Nhập dữ liệu ở trên. Kết quả tự động cập nhật. Dùng nút sao chép để lưu kết quả.
Câu hỏi thường gặp
Câu hỏi thường gặp đang hiển thị bằng tiếng Anh trong khi bản dịch được hoàn thiện.
Is Base64 encoding encryption?
No. Base64 is an encoding scheme, not encryption. It converts data to an ASCII-safe format but anyone can decode it without a key.
Does this tool upload my data?
No. All processing happens locally in your browser. Your text never leaves your device.
What if my Base64 string is invalid?
The tool will show an error message indicating the input is not valid Base64. Check for whitespace or non-Base64 characters.
Does this support UTF-8?
Yes, both the encoder and decoder handle UTF-8 encoded text correctly, including emoji and multi-byte characters.
Why does Base64 make data larger?
Base64 encodes every 3 bytes into 4 characters, causing a ~33% size increase. This overhead is the trade-off for text-only compatibility.
What is Base64URL?
Base64URL is a URL-safe variant (RFC 4648 section 5) that replaces + with - and / with _, and omits padding. It is used in JWT tokens and URL parameters.