Mã hóa
Base64
Mã hóa và giải mã Base64 — văn bản và tệp, ngay trong trình duyệt.
Câu hỏi thường gặp
What is Base64 actually used for?
Base64 turns binary data into plain ASCII text so it can safely travel through systems that only handle text, like email bodies, JSON payloads, or embedding a small image directly in CSS/HTML.
Why is the encoded output bigger than my input?
Base64 packs 3 bytes of input into 4 output characters, so encoded text is roughly 33% larger than the original. This is expected and not a sign of an error.
Is my file or text uploaded anywhere?
No. Encoding and decoding happen entirely in your browser using JavaScript — nothing is sent to a server, so it works fine offline too.