이미지 Base64 변환기
HTML, CSS 또는 JavaScript에 임베드할 수 있도록 이미지를 Base64 인코딩 문자열로 변환합니다. PNG, JPEG, GIF, WebP, SVG 등을 지원합니다.
이미지를 여기에 놓거나 클릭하여 업로드
PNG, JPEG, GIF, WebP, SVG, BMP, ICO 지원 (최대 5MB)
모든 변환은 브라우저에서 처리됩니다. 이미지가 서버에 업로드되지 않습니다. Base64 인코딩은 파일 크기를 약 33% 증가시킵니다.
How to Use This Tool
- 1
Upload an image
Drag and drop an image file or click the upload area to select a file from your device.
- 2
Choose output format
Select Data URI (includes the data:image prefix) or Raw Base64 (just the encoded string).
- 3
Copy the result
Click Copy to copy the base64 string, or use the quick buttons to copy as HTML img tag or CSS background.
- 4
Use in your project
Paste the base64 string directly into your HTML, CSS, or JavaScript code. No external image hosting needed.
Frequently Asked Questions
- What is Base64 encoding?
- Base64 is an encoding scheme that converts binary data (like images) into ASCII text for embedding in HTML, CSS, or JSON.
- Why does Base64 increase file size?
- Base64 converts 3 bytes of binary data into 4 ASCII characters, resulting in approximately 33% larger output.
- When should I use Base64 images?
- Use Base64 for small images (icons, logos under 10KB), email templates, or single-file HTML documents.
- Is my data secure?
- Yes. All conversion happens entirely in your browser. No images are uploaded to any server.