- ตัวดำเนินการ
-
เรียนรู้
ศูนย์การเรียนรู้ Python ตัวอย่างที่รันได้, NumPy, pandas และอื่น ๆ ศูนย์การเรียนรู้ C และ C++ พอยน์เตอร์ หน่วยความจำ STL และ C++ สมัยใหม่ ศูนย์การเรียนรู้ C#พื้นฐาน C#, OOP, LINQ, async และแบบฝึกหัด .NET อัลกอริทึม Python การค้นหา การเรียงลำดับ รีเคอร์ชัน และภาพจำลอง O(n) อัลกอริทึม C และ C++ เปรียบเทียบการเขียนด้วย C และ C++
- โจทย์
Converters
Image to Base64 Converter
Encode an image as a Base64 data URL and get ready-to-paste HTML, CSS or Markdown.
- Runs in your browser
- Instant results
- Free, no sign-up
Loading the tool…
How to use the Image to Base64
- Drop an image, choose a file or paste from the clipboard.
- Pick the output: data URL, raw Base64, HTML, CSS or Markdown.
- Copy the result.
Frequently asked questions
When should I inline images as Base64?
For small icons and images under a few KB, to save an HTTP request. Larger images are better as normal files.
Why is the Base64 bigger than the file?
Base64 uses 4 characters for every 3 bytes, so it is about 33% larger.
Is my image uploaded?
No. The image is read and encoded in your browser.
ฝึก Python ด้วยโจทย์เขียนโค้ด
แก้โจทย์จริงใน editor นี้: รันทดสอบตัวอย่าง ส่งคำตอบ และรับรีวิวโค้ดจาก AI