🖼️ 位图转 Base64Base64 Encode Bitmap
把图片编码为 Base64(可选 PNG / JPG / WebP),本地处理。可设置「输出格式」、「质量」。Encode an image as Base64 (PNG / JPG / WebP). Processed locally. Settings: Format, Quality.
使用说明与常见问题How-to & FAQ
「位图转 Base64」是什么?What is the Base64 Encode Bitmap tool?
把图片编码为 Base64(可选 PNG / JPG / WebP),本地处理。可设置「输出格式」、「质量」。Encode an image as Base64 (PNG / JPG / WebP). Processed locally. Settings: Format, Quality.
如何使用「位图转 Base64」?How do I use the Base64 Encode Bitmap tool?
在「位图转 Base64」中,选择或拖入文件,按需设置「输出格式」等选项,然后点击每个结果旁的「下载」按钮即可;有多个文件时也可以点「全部下载(ZIP)」一次打包下载。In the Base64 Encode Bitmap: Choose or drop your files, set "Format", then click the Download button next to each result (with several files, "Download all (ZIP)" saves them together).
输出的是什么格式?What is the output format?
输出纯文本 Base64:图片按你选的格式(PNG 或带质量的 JPEG/WebP)重新编码后再转 Base64。如果要直接放进网页的 src,在前面加上 data:image/png;base64, 即可。The output is plain Base64 text: the image is re-encoded in the format you choose (PNG, or JPEG/WebP with a quality) and then Base64-encoded. To use it in an HTML src, prefix it with data:image/png;base64,.
有哪些选项可以调整?What options can I adjust?
「位图转 Base64」的设置:「输出格式」可选 PNG、JPG、WebP(默认 PNG);「质量」默认 92,范围 40–100;可选文件:常见图片格式(含 HEIC、HEIF、AVIF、WEBP、BMP、JFIF)。每次生成结果都按当前设置处理。Settings in the Base64 Encode Bitmap — "Format": PNG, JPG, WebP (default PNG); "Quality" default 92, range 40–100; files: common image formats (including HEIC, HEIF, AVIF, WEBP, BMP, JFIF). The result always uses the current settings.
图片会被上传到服务器吗?Are my images uploaded?
不会。「位图转 Base64」使用浏览器 Canvas 在本地处理图片,处理后的文件直接从你的浏览器下载。No. The Base64 Encode Bitmap processes images locally with the browser Canvas API and the result downloads straight from your browser.
「位图转 Base64」免费吗?需要注册吗?Is the Base64 Encode Bitmap free? Do I need an account?
「位图转 Base64」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Base64 Encode Bitmap is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.