Utilities / PixelDesk

Convert images to and from Base64

Encode an image as a data URL, or paste a JPEG, PNG or WebP data URL to open and decode it. Copy or download the text locally.

Processed on your device
THE PLAYGROUND

Base64 converter

01 / ORIGINAL IMAGENo image yet

Drop your image here.

Choose an image, or drop it here.

JPEG, PNG, WebP, AVIF or HEIC · up to 20 MiB each

    Use Undo settings to revisit an adjustment. Your source image stays untouched.

    02 / Make it yours

    Adjust your settings, then create a new copy.

    Open a data URL

    JPEG, PNG or WebP only. Maximum decoded size: 5 MiB.

    Choose an image or try the sample to get started.

    How to convert images to and from Base64

    1. Choose a still image to encode, or paste a supported image data URL and select Open data URL.
    2. Select Encode data URL to generate Base64 text from the loaded image bytes.
    3. Copy or download the text; verify the decoded image before using it elsewhere.
    Read the guide: JPEG, PNG or WebP?

    Know before you export

    Base64 keeps the original bytes and metadata and makes the representation roughly one third larger. This tool accepts at most 5 MiB of decoded image data. A pasted URL must contain supported Base64 image bytes, not a remote web address.

    Supported files

    Still JPEG, PNG, WebP and AVIF up to 20 MiB and 64 megapixels, plus HEIC where your browser can open it (Safari on Mac, iPhone and iPad). Photos above 24 megapixels are edited at 24 megapixels, and color effects run at up to 12 megapixels. Multi-image tools allow 12 files and 60 MiB of combined input. GIF, SVG, animated images and RAW formats are not supported.

    Quick ways in

    Drop an image anywhere on this page or paste one from your clipboard.

    Keyboard shortcuts

    • Ctrl/⌘ O Choose an image
    • Ctrl/⌘ Enter Process
    • Ctrl/⌘ S Download the result
    • Ctrl/⌘ Z Undo settings · add Shift to redo
    • Esc Cancel processing

    Your files stay local

    Selected image bytes are processed in browser memory. No account, upload endpoint or remote processing service is used.

    Keep creating.

    Explore all 26 tools

    Base64 converter is free to use in your browser. No account or image upload is required.

    Base64 converter: common questions

    Does Base64 reduce image file size or remove metadata?

    No. Base64 retains the original image bytes and metadata, and its text representation is roughly one third larger. Resize or compress the image first if you need fewer bytes.

    Can I paste a web address to fetch an image?

    No. Paste a Base64 data URL containing supported JPEG, PNG or WebP bytes. Remote URLs are not fetched. The decoded image must be no larger than 5 MiB.