🧬 图片转 Base64Image to Base64
在线将图片转换为 Base64 Data URI,可直接用于 HTML 和 CSS。Convert images to Base64 data URIs for HTML and CSS.
使用说明与常见问题How-to & FAQ
「图片转 Base64」是什么?What is the Image to Base64 tool?
在线将图片转换为 Base64 Data URI,可直接用于 HTML 和 CSS。Convert images to Base64 data URIs for HTML and CSS.
如何使用「图片转 Base64」?How do I use the Image to Base64 tool?
在「图片转 Base64」中,按需设置「输出」等选项,然后点击「复制」按钮即可。支持拖放文件。In the Image to Base64: Set "Output", then click "Copy". Drag-and-drop files is supported.
什么时候适合用 Base64 图片?When should I inline images as Base64?
适合小图标(<10KB),可减少请求;大图会让文件体积增加约 33%。Good for small icons (<10KB) to save requests; large images grow ~33% in size.
图片会被上传到服务器吗?Are my images uploaded?
不会。「图片转 Base64」使用浏览器 Canvas 在本地处理图片,处理后的文件直接从你的浏览器下载。No. The Image to Base64 processes images locally with the browser Canvas API and the result downloads straight from your browser.
「图片转 Base64」免费吗?需要注册吗?Is the Image to Base64 free? Do I need an account?
「图片转 Base64」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Image to Base64 is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.