Base64 Encoder Decoder
Encode text or files to Base64 (standard or URL-safe), or decode Base64 back to text or a downloadable file.
Open toolEncode an image as a Base64 data URL for CSS, HTML or Markdown, or decode Base64 back into a downloadable image.
Image → Base64 reads the image file and encodes its exact bytes. Copy it as a data URL, raw Base64, or a ready-made CSS, HTML or Markdown snippet.
Base64 → Image accepts a data URL or plain Base64 (standard or URL-safe). The real image type is detected from the decoded bytes, so the file is saved with the correct extension even if the data URL is mislabelled.
Your images are processed on your device and never uploaded.
Your images
Any image up to 10 MB, PNG, JPEG, GIF, WebP
Processed in this browser
In-browser. Nothing is uploaded.
Your result
Ready to download or copy
Choose Image → Base64 or Base64 → Image.
Drop an image, or paste the Base64 text.
Copy the output, or check the preview and download the image.
Zero-upload architecture
Free, with no sign-up or watermark · Your files stay on your device
Launch the app and add your file. There is nothing to install and no account to create.
Drop an image, or paste the Base64 text.
Copy the output, or check the preview and download the image.
Encode text or files to Base64 (standard or URL-safe), or decode Base64 back to text or a downloadable file.
Open toolClean and minify SVG files by removing editor data, comments and excess precision.
Open toolShrink JPEG, PNG and WebP images by up to 80% with a quality slider and batch download.
Open toolDrag a selection on an image to get exact crop coordinates for CSS, ffmpeg, ImageMagick, JSON and more.
Open tool