Choose input
Choose a supported image.
Encode validated image bytes as Base64 or a data URL.
15 MiB and 16 megapixel guardrails. Original file bytes are encoded; Base64 is about one third larger.
Encode a JPEG, PNG or still WebP as raw Base64, a data URL, CSS or HTML. The encoded data preserves the selected file bytes.
Choose a supported image.
Select the required output form.
Copy or download the encoded text.
Inputs are processed in your browser. Analytics and advertising can make separate network requests.