Image to Base64 Online
图片转Base64内嵌图片Data URL编码
Pick or drag an image to instantly get Data URL and pure base64 output modes, live preview with dimensions, type and size, ideal for embedding and config encoding, fully local.
加载中…
How to Use
- Pick a local file or image (never uploaded)
- It is converted to a Base64 string or Data URL automatically
- Copy the result into code or download it
- All encoding/decoding runs locally; sensitive content never leaves your device
Related Tools
FAQ
Difference between the two output modes?
Full Data URL goes directly into img src or CSS url(); pure base64 suits API parameters or storage fields.
Does conversion compress the image?
No, the output is a lossless encoding identical to the original bytes.
Will my image be uploaded?
No, images are read and converted locally only.