Image to Base64

Maximum upload file size: 5 MB

Use Remote URL
Upload from device

Image to Base64 Online for Free

Free Tool to Convert image to Base64 online and use result string as data URI, img src, CSS background url and more. Sometimes you need to post or output images in a text document (for example, HTML, CSS, JSON, XML), but you can't because the binary characters break the syntax of the text document. To prevent this, for example, you can encode images to Base64 and embed them using data URIs.

In computer programming, Base64 is a group of binary-to-text encoding schemes that represent binary data (more specifically, an 8-bit byte sequence) in a sequence of 24 bits that can be represented by four 6-bit Base64 digits.

Common to all binary-to-text encoding schemes, Base64 is designed to reliably carry data stored in binary format across channels that only support text content. Base64 is very prevalent on the World Wide Web where one of its uses is the ability to embed image files or other binary assets inside textual assets such as HTML and CSS files.

We care about your data and would love to use cookies to improve your experience.