Base64 Converter
Encode and decode text or convert images and files to Base64 (Data URI) instantly.
What is Base64?
Base64 is a coding system that converts binary data
(like images or files) into an ASCII text string.
It is fundamental in web development for embedding small
resources directly into HTML or CSS, avoiding extra HTTP
requests.
- Data URIs: Use Base64 to put images directly in `img src="..."`.
- Compatibility: Transmit binary data via media that only support text.
Usage Example (CSS)
.icon {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAB...");
}