Image to Base64
Miễn phíCông cụ ảnhEmbed small images straight into HTML, CSS, JSON or emails as Base64 text, with no separate file to host.
- Chạy trong trình duyệt của bạn
- Không tải lên gì
- Không có watermark
Cách dùng 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.
Mọi người dùng nó để làm gì
Web development
Inline images in CSS or HTML.
Emails
Embedded images.
APIs
Send images as text.
Mẹo để có kết quả tốt hơn
- Base64 is about a third larger than the file.
- Use it for small icons.
- Copy the data URL for CSS.
Câu hỏi thường gặp
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 cho công việc này
Loại dữ liệu tương tự trong code của bạn hoặc Agent: một API key, tính phí theo mỗi lần gọi.
Thêm tools
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.
