Image to Base64
Turn an image into a Base64 string or a data URI for CSS and HTML.
What it does
Turns an image into a Base64 string or a data URI you can put straight into HTML or CSS. Useful for small icons and e-mail templates, where one file without extra image requests is easier to handle. You get the string ready to copy.
About the .jpg format
.JPG file extension.jpg JPEG Image
Raster Image Files
- File Type
- JPEG Image
- Developer
- Joint Photographic Experts Group
- Category
- Raster Image Files
- MIME
image/jpeg
JPEG (Joint Photographic Experts Group) is a file format for still images. It is the most common format for storing digitally created pictures, whether they are taken by digital cameras or scanners or transferred from digital camera to computer.
Related tools
More in Encoding & Base64Image to Base64 questions
How do I use the Image to Base64?
Drop the file on the box or choose it from your device, set the options and download the result.
Which files can I use?
.jpg, .png, .svg, .gif, .jpeg and .webp files.
Is my file uploaded?
No. The tool runs in your browser, so your file stays on your device.
Does renaming a file to .jpg change its format?
No. The extension only tells programs what to expect, and the content of the file stays the same. To change the format, convert the file. The .jpg page lists programs and converters for it.