画像Base64変換ツール
HTML、CSS、JavaScriptに埋め込むために画像をBase64エンコード文字列に変換します。
画像をここにドロップまたはクリックしてアップロード
PNG、JPEG、GIF、WebP、SVG、BMP、ICO対応(最大5MB)
すべての変換はブラウザで行われます。画像はサーバーにアップロードされません。
How to Use This Tool
- 1
Upload an image
Drag and drop an image file or click to select.
- 2
Choose output format
Select Data URI or Raw Base64.
- 3
Copy the result
Copy as base64 string, HTML img tag, or CSS background.
- 4
Use in your project
Paste directly into your HTML, CSS, or JavaScript code.
Frequently Asked Questions
- What is Base64 encoding?
- Base64 converts binary data into ASCII text for embedding in code.
- Why does Base64 increase file size?
- It converts 3 bytes into 4 characters, about 33% larger.
- When should I use Base64 images?
- For small images, icons, email templates, or single-file documents.
- Is my data secure?
- Yes. All conversion happens in your browser. No uploads.