Convert JPG, PNG, GIF or WebP to Base64 in your browser. Copy the raw string or a MIME-prefixed data URL, or download a text file.
How to use Image to Base64
- Choose an image up to 8 MB.
- Select a full data URL for HTML or CSS, or raw Base64 for a text field or API.
- Convert, then copy the result or download it as a TXT file.
Base64 is larger than the binary image. Compress the original first if you need a shorter data URL.
Related image tools
Browse all Qaskme Image Tools.