🔍

首页Home › 图片工具Image Tools

🖼️ 位图转 Base64Base64 Encode Bitmap

把图片编码为 Base64(可选 PNG / JPG / WebP),本地处理。可设置「输出格式」、「质量」。Encode an image as Base64 (PNG / JPG / WebP). Processed locally. Settings: Format, Quality.

点击选择或拖放图片(可多选)Click or drop images here (multiple allowed)

使用说明与常见问题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.

相关工具Related tools

⬛ 位图转 1 位Convert Bitmap to 1 Bit🔢 位图转字节数组Convert Bitmap to Byte Array🖼️ Base64 解码位图Base64 Decode Bitmap➖ 康托尔分形(康托尔梳)Draw a Cantor Fractal⬚ 康托尔尘分形Draw a Cantor Dust Fractal❄️ 科赫分形(雪花 / 反雪花 / 折线)Draw a Koch Fractal∟ 莱维 C 曲线分形Draw a Lévy Fractal🐉 海威龙分形(折纸龙)Draw a Heighway Fractal🐉 双海威龙分形Draw a Twin Heighway Fractal🔺 三角龙分形Draw a Triangle Dragon FractalH 豪斯多夫分形(H 树)Draw a Hausdorff Fractal▤ T 方形分形Draw a T-Square Fractal

← 全部工具All tools