Image to Base64 Converter
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
Image to Base64 Converter transforms images into Base64 data URLs and data URLs back into images. Upload an image file, drag and drop, or provide a URL, and the tool generates a Base64 data URL that can be embedded directly into HTML, CSS, or JavaScript. The tool displays a preview of the image along with metadata including file size, dimensions, and format. You can copy the Base64 string or the full data URL to your clipboard, or download the converted image. The tool also supports converting Base64 data URLs back to downloadable image files.
WHERE IT RUNS
The extension runs entirely within your browser's local environment using the BotGentz framework. All image reading, Base64 encoding, and data processing occur on your machine without any network requests. No image data, Base64 strings, or user activity is ever transmitted, uploaded, or stored externally. The tool works on any website and respects the browser's security boundaries, operating within the isolated extension sandbox. Image conversion uses the browser's native FileReader and Canvas APIs.
HOW TO USE
Click the extension toolbar icon to open the Image to Base64 Converter panel. Upload an image by clicking the file input, dragging and dropping an image onto the drop area, or entering an image URL and clicking "Fetch URL". The tool automatically converts the image and displays a preview along with file size, dimensions, and format information. The Base64 data URL is shown below (truncated for readability). Click "Copy Base64" to copy the full data URL or raw Base64 string to your clipboard based on your settings. Click "Download Image" to download the converted image. Toggle "Include MIME type in output" to control whether the MIME type is included in the data URL. Adjust the "Preview size" (50-800px) to control the preview image dimensions. Choose the "Copy Format" (Full Data URL or Raw Base64) to control what is copied. The tool also accepts Base64 data URLs as input and can convert them back to downloadable images.
THE IMAGE CONVERSION ENGINE — WHY IT WORKS
Most image-to-Base64 tools rely on external services or limited file handling. This tool uses the browser's native FileReader API with readAsDataURL to read image files directly into Base64-encoded data URLs. The engine extracts the MIME type from the file or data URL, and uses the Image object to load the data URL and retrieve dimensions. The file size is read from the File object's size property or calculated from the Blob. For data URL inputs, the tool parses the Base64 string, decodes it using atob, and reconstructs the image as a Blob for download. The preview uses the data URL directly as the src of an img element. This approach provides fast, reliable, offline conversion without any external dependencies or network requests.
THE PANEL
The Image to Base64 Converter panel is fully draggable by its title bar and remembers its position on screen per website. It snaps to the edges of your browser window for clean alignment. Collapse the panel to a compact icon strip using the minimize button, restoring it with a single click. Resize the panel by dragging any edge or corner; the preview, metadata, and output controls adjust proportionally. Press the Escape key to close the panel instantly. The panel maintains independent state for each browser tab, allowing you to convert images in multiple tabs simultaneously.
PLEASE NOTE
This extension requires the free BotGentz extension framework to be installed and enabled. The tool supports common image formats including JPEG, PNG, GIF, WebP, and SVG. Very large images may produce long Base64 strings; the output is truncated in the display but copied in full. The data URL format includes the MIME type by default; you can disable this if needed. The tool processes images locally and does not upload them anywhere. All conversion data is processed locally and is never transmitted, logged, or shared. The extension requests no network permissions and functions entirely offline. The source code is fully auditable and available for review.