File to Base64 Online
文件转Base64Data URL编码内嵌
Pick or drag any file to instantly generate its full Data URL and pure base64, with name, type and size shown. One-click copy for embedding and API debugging, 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
What is the output format?
A full Data URL (data:type;base64,payload) by default, ready for CSS/HTML embedding or API transport.
Any file size limit?
Limited by browser memory; keep files under tens of MB to avoid slowdowns.
Will my file be uploaded?
No, files are read and converted locally only.