What is Base64 encoding?
The Base64 encoding system is used in computing to turn binary data (such as an image or a PDF file) or character strings (such as text) into a sequence of basic letters, digits and symbols (A-Z, a-z, 0-9, +, /).
The main purpose of Base64 is not to encrypt data to secure it, but to transport it reliably over systems that only handle text (such as images embedded directly in an HTML or CSS file, or in MIME emails).
Base64: encoding vs. encryption (cryptography)
It is a classic beginner developer mistake to treat Base64 as a security mechanism. Base64 is not encryption! There is no password or cryptographic key (as with SHA-256 or AES). Anyone with a decoder (like this tool) can instantly read a Base64 string.
Never store user passwords in Base64 in your database. Always use hashing algorithms such as Bcrypt.
UTF-8 and compatibility
Our tool natively handles the UTF-8format. If you encode text with special characters (é, à, ç, emojis 🚀), the JavaScript algorithm encodes the string correctly so it is not corrupted when decoded.