Image to Base64
免費圖片工具Embed small images straight into HTML, CSS, JSON or emails as Base64 text, with no separate file to host.
- 在您的瀏覽器中執行
- 未上傳任何內容
- 無浮水印
如何使用 Image to Base64
- 01
Drop the image for Image to Base64, or pick one from your device.
- 02
Pick data URI, plain Base64, CSS or HTML.
- 03
Copy it or download it as text.
大家用來做什麼
Web development
Inline images in CSS or HTML.
Emails
Embedded images.
APIs
Send images as text.
提升結果的建議
- Base64 is about a third larger than the file.
- Use it for small icons.
- Copy the data URL for CSS.
常見問題
When should I use Base64 images?
For small icons and logos. Base64 is about a third bigger than the file and is not cached separately, so use normal files for photos.
Does Image to Base64 upload my image?
No. Image to Base64 encodes the image in your browser, so the picture never leaves your device.
SandBase APIs 適用於此工作
在您自己的程式碼或 Agent 中使用相同類型的資料:一組 API 金鑰,按次計費。
更多工具
Before and After Image Maker
Put two photos side by side with Before and After labels.
EXIF Viewer
Read supported JPEG EXIF fields: camera, settings, date and GPS.
Image Size Checker
Check a picture's pixel size, file size, aspect ratio and megapixels.
Image to ASCII Art
Turn a picture into ASCII art you can copy and paste.
EXIF Remover
Remove EXIF data, including the GPS location, from a photo.
Image to PDF Converter
Combine JPG, PNG, WebP, HEIC and other images into one PDF, a page per image.
