Image to Base64
Convert an image to a Base64 data URL
About this tool
Drop an image and get a data URL you can inline in CSS, HTML or JSON. The file is read locally and never uploaded.
Inline images avoid an extra request but increase document size, so keep them small.
Frequently asked questions
Is the Image to Base64 free to use?+
Yes. Image to Base64 is completely free with no sign-up, no limits on the number of uses and no watermarks added to your output.
Are my files or data uploaded to a server?+
No. This tool runs entirely in your web browser using JavaScript. Nothing you type, paste or drop is sent to our servers, which makes it safe for confidential documents and data.
Does Image to Base64 work on mobile?+
Yes. The tool works in any modern browser on Android, iPhone, iPad, Windows, macOS and Linux. No app installation is required.
Do I need to create an account?+
No account is needed. Open the page, use the tool and download or copy the result.