Embedding web resources
Icons and small images as Base64 inside CSS save requests to the server.
Encode or decode text as Base64.
🔒 This file is processed in your browser. It is never uploaded anywhere.
…
Base64 turns data into a text string using only letters, numbers and a couple of symbols. It exists because many systems were designed to carry text and choke on binary data: email, some configuration formats and certain URL fields.
Its most visible use is on web pages, where a small image can be embedded directly in the HTML or CSS as a Base64 string, avoiding an extra request to the server. It is also the mechanism email attachments travel by underneath.
One point deserves to be very clear: Base64 is not encryption. It is a reversible encoding with no key at all, and anyone can decode it in a second. Storing a password in Base64 thinking it is protected is a classic and serious security mistake.
Icons and small images as Base64 inside CSS save requests to the server.
Many authentication tokens contain Base64 sections that reveal their contents when decoded.
When a field accepts only plain text, Base64 lets you put information there that is not.
It's used to embed binary data (like images) inside plain text, for example in JSON, URLs or emails.
No, it's just a reversible encoding with no key at all; anyone can decode it — it provides no security or privacy.