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, without watermark or account. The site is paid for by ads.
advertentie
Why in the browser?
PixRust runs entirely in your browser using the Canvas API and WebAssembly. Your image is never sent to a server — all processing happens locally on your device. This means your photos remain private by design, whether they are personal snapshots or confidential documents. There is no account required, no file size limit, and nothing is stored after you close the tab.
Related tools