Skip to tools
FREE. SIMPLE. USEFUL.
← All tools

Image & PDF

Image to Base64

Convert a small image to a data URL for HTML or CSS.

Your input

Result

READY WHEN YOU ARE
Your result will appear here.
Download

THREE SMALL STEPS

How to use this tool

    ⓘ

    Helpful to know

    PNG, JPEG and WebP only. Maximum 12 MB per image; decoded images must stay below 24 megapixels. Processing happens in this browser. JPEG exports use a white background. Animated inputs become a still image.

    About this tool

    Convert a small image to a data URL for HTML or CSS.

    PNG, JPEG and WebP only. Maximum 12 MB per image; decoded images must stay below 24 megapixels. Processing happens in this browser. JPEG exports use a white background. Animated inputs become a still image.

    Found a reproducible issue? Report it with a small non-sensitive example. Read our editorial and testing approach.

    Take a photo

    Camera starts only when you choose Take photo.

    No audio is requested. The camera stops when you capture a photo or close this window. Photos stay in this browser.