画像 ↔ Base64変換ツール
画像をBase64データURIに変換してHTMLやCSSに埋め込めます。ドラッグ&ドロップまたはBase64貼り付けでデコードも可能。
🖼️
画像をここにドロップまたはクリックしてアップロード
最大ファイルサイズ: 10 MB
使い方
画像をBase64データURIに変換してHTMLやCSSに埋め込めます。ドラッグ&ドロップまたはBase64貼り付けでデコードも可能。
- 1Upload an image by clicking the drop zone or dragging a file onto it.
- 2The tool converts the image to a Base64-encoded data URI instantly.
- 3Copy the full data URI string or just the raw Base64 portion.
- 4Use the data URI directly in HTML `<img src>`, CSS `background-image`, or JSON payloads.
- 5Optionally paste an existing Base64 string to preview and verify the decoded image.
主な機能
- Converts any image (PNG, JPEG, GIF, WebP, SVG) to Base64 instantly
- Outputs both the full data URI and the raw Base64 string separately
- Preview the image alongside the encoded output for verification
- Runs entirely in the browser — your images are never uploaded to a server
- Supports drag-and-drop upload for a fast, seamless workflow