Share
Convert images to Base64 data URIs and decode Base64 back to images instantly.
Drop image here or click to upload
PNG, JPEG, GIF, WebP, SVG supported
Convert images to Base64 data URIs for embedding in HTML, CSS, or code — and decode Base64 strings back to viewable images. Supports PNG, JPEG, GIF, WebP, SVG, and all common image formats. Works entirely in your browser with no uploads.
Image ↔ Base64 provides a fast, client-side solution for converting images into data URIs for direct embedding in code, CSS, or HTML, as well as decoding Base64 strings back into viewable image files. Because processing happens entirely within your browser without file uploads, it ensures both privacy and immediate conversion speed for common formats like PNG, JPEG, GIF, WebP, and SVG.
Good to know: Very large image files may generate extremely long Base64 strings that can bloat source code if not handled carefully.
Quickly convert image files into Base64 data URIs for coding or decode strings back into visual images.
Select your conversion mode
Choose whether you want to encode an image to Base64 or decode a Base64 string back into an image format.
Upload an image or paste code
Drag and drop your PNG, JPEG, or SVG file into the browser, or paste your Base64 data URI into the input field.
Process the data locally
The tool converts your data instantly within your browser, ensuring your files are never uploaded to a server.
Copy or download the result
Copy the generated Base64 string for your HTML/CSS code or download the decoded image file to your device.
Estimated time: PT1M
Share this tool
Convert between decimal, binary, octal, and hexadecimal.
Convert CSV to JSON and JSON to CSV with one click.
Generate QR codes from text or URLs and download as PNG.
Vectorize PNG, JPG or WebP into an SVG — adjustable colors, smoothing and detail.
Convert HTML code to clean Markdown format instantly.
Generate CODE128, EAN-13, UPC-A, and other barcodes from text.
Convert text or Markdown to a Word .docx file with live preview, RTL, and page-setup options.
Convert images to video with the Ken Burns zoom/pan effect. Add music and export as WebM.
Load and compare multiple URLs side by side in resizable iframes.
See your public IP address plus full location, ISP, ASN, timezone, coordinates, and more.
Convert Markdown to a fully customized, RTL-ready PDF.
Play local or online videos with HLS stream support, subtitles, playlist, and bookmarks.
Convert Markdown to a formatted Word .docx — live preview, RTL, tables, page setup, all client-side.
Generate speech from text using local AI models. Download as WAV. Runs entirely in your browser — private and free.