Convert an image to a Base64 string
Convert an image to a Base64-encoded data URL, useful for inline embedding in HTML, CSS or code. Free, directly in your browser.
Choose your image
Drop here or click to choose
Files stay on your device โ nothing is uploaded
Your file is processed in your browser and never uploaded.
How does it work?
- 1
Choose your image
Drag a JPG, PNG or WebP here.
- 2
View the Base64 string
The data URL is generated instantly.
- 3
Copy
Copy the string to your clipboard.
Frequently asked questions
What is this used for?
Useful for developers to embed small images directly in HTML/CSS/JS without a separate file.
Is my image uploaded?
No. Everything happens in your own browser. Your image never leaves your device and is not stored anywhere.
Is it free?
Yes, completely free and without watermark, ads or account.
Related tools