Base64
将数据编码或解码为 Base64。
画像をBase64 / Data URLに相互変換。クリップボード貼り付け対応。
在浏览器内运行 — 数据不会离开您的设备
Drop an image, click to browse, or paste with Ctrl/Cmd+V
PNG / JPG / GIF / WEBP / BMP / ICO / SVG · 10MB max
Base64 inflates binary data by about 33% because it re-encodes bytes as text. Everything runs locally in your browser — images are never uploaded.
It encodes an image file as an ASCII string you can embed directly in HTML or CSS, typically as a data URL like data:image/png;base64,....
PNG, JPEG, GIF, WebP, BMP, ICO, and SVG. When decoding, the format is auto-detected from the file's magic bytes.
Yes. Copy a screenshot (or any image) and press Ctrl/Cmd+V anywhere on the tool page to load it instantly.
Yes, about 33% larger than the original file. That's fine for small icons, but embedding large images slows first paint — a regular image URL is usually better for anything sizable.
No. Both encoding and decoding run entirely in your browser — nothing is ever sent to toco.tools's servers.