將圖片轉換為 Base64 編碼字串,可直接嵌入 HTML、CSS 或 JSON 中使用。
Drag & drop a file here, or click to browse
Privacy: This tool runs entirely in your browser. No data is sent to our servers. We don't store, share, or have access to any of the information you process here.
A: Base64 encoding converts binary image data into an ASCII string that can be embedded directly in HTML, CSS, or JSON.
A: Use Base64 for small icons or images to reduce HTTP requests, or when you need to embed images in JSON/data URIs.
A: Base64 encoding increases file size by ~33%, so it's best for images under 100KB.
This tool runs entirely in your browser. No data is sent to our servers. We don't store, share, or have access to any of the information you process here.