工具大全 ToolBox — 免费在线工具箱

提供 JSON / YAML / JavaScript 格式化、Base64 与 URL 编解码、DNS / WHOIS 查询、哈希加密、视频音频处理、AI 助手等百余款实用工具。全部在浏览器本地运行,无需安装,数据不上传服务器。

本地收藏

i关于本工具

用途说明

图片转 Base64:选择或拖入图片,本地转为 Data URL 或纯 Base64,可复制或下载为文本。适合嵌入 CSS/Markdown、邮件模板或接口联调。转换不上传服务器。

使用步骤

  1. 从「编码解码 → Base64」进入「图片转Base64」。
  2. 点击或拖拽选择图片,查看预览与体积信息。
  3. 切换 Data URL / 纯 Base64,复制结果或下载 .txt。

常见问题

和「图片Base64」有何不同?
本工具归在编码解码·Base64,支持拖拽、输出模式切换与下载文本,界面更完整。
体积为什么变大?
Base64 通常比原文件大约 33%,大图更建议用 URL 引用。
会上传图片吗?
不会。FileReader 在本机读取并编码。

上文已说明该工具是本地处理还是会调用第三方接口,请按场景选用。

What it is for

Image to Base64: pick or drop an image and convert locally to a Data URL or raw Base64. Copy or download as text — useful for CSS/Markdown, email templates, or API fixtures. No upload.

How to use

  1. Open Image to Base64 under Encode → Base64.
  2. Click or drop an image; review preview and size stats.
  3. Toggle Data URL / raw Base64, then copy or download a .txt file.

FAQ

Vs Image Base64 under Images?
This tool lives under Encode → Base64 with drag-drop, output modes, and text download.
Why larger?
Base64 is ~33% bigger than binary; prefer URLs for large assets.
Any upload?
No. FileReader encodes on-device.

Processing notes above describe whether work stays in your browser or calls third-party APIs.

404

工具不存在或链接有误。