รูปภาพเป็น Base64
แปลงรูปภาพเป็นข้อความ Base64 หรือแปลง Base64 กลับเป็นรูป
ทำงานในเบราว์เซอร์ของคุณ ไฟล์ไม่ออกจากอุปกรณ์ ดูวิธีตรวจสอบ
…
วิธีทำ
- 1เลือกการตั้งค่า
กรอกรายละเอียดหรือเลือกตัวเลือกที่ต้องการ
- 2ดูผลลัพธ์
ตัวอย่างอัปเดตทันทีเมื่อคุณเปลี่ยนค่า
- 3ดาวน์โหลดหรือบันทึก
บันทึกผลลัพธ์ลงอุปกรณ์ ไม่มีอะไรถูกส่งหรือบันทึกบนเซิร์ฟเวอร์
About this tool
Developers and email designers often need a picture as text. Choose a picture to get a data address you can paste into HTML, CSS or an email signature, or paste a Base64 code to see the picture and download it. The work is done inside your browser.
When to use it
Embed a small picture directly in HTML, CSS or JSON by turning it into Base64 text, or turn Base64 back into a picture.
Tips
Base64 increases the size by about a third, so use it only for small icons.
Privacy
Everything runs in your browser, so your data is not uploaded or stored.
เคล็ดลับเพื่อผลลัพธ์ที่ดีที่สุด
ก่อนเริ่ม ใช้เวลาอ่านตัวเลือกสักครู่และลองเครื่องมือกับตัวอย่างเล็ก ๆ ก่อน ทุกอย่างทำงานในเบราว์เซอร์บนอุปกรณ์ของคุณ สิ่งที่คุณพิมพ์หรือเพิ่มจะไม่ถูกอัปโหลด และการปิดแท็บจะลบทุกอย่าง หากมีอะไรดูไม่ถูกต้อง ให้โหลดหน้าใหม่แล้วลองอีกครั้ง หรือใช้ลิงก์แจ้งปัญหาในหน้านี้เพื่อบอกเราว่าเกิดอะไรขึ้น หากผลลัพธ์ยังดูผิด ให้เปลี่ยนทีละค่าเพื่อดูว่าช่องไหนมีผลมากที่สุด บุ๊กมาร์กหน้านี้หากคุณจะใช้อีก
สรุปสั้น ๆ
- หมวดหมู่: รูปภาพ
- ทำงานในเบราว์เซอร์ ไม่ต้องสมัคร ไม่ต้องอัปโหลด
- ข้อมูลที่คุณกรอกอยู่บนอุปกรณ์ของคุณ
- มีหลายภาษา
- ตรวจสอบเนื้อหาล่าสุด:
คำถามที่พบบ่อย
What is Base64 used for?
It lets a small picture sit directly inside HTML, CSS or JSON as text, so no separate file has to load.
Is there a size limit?
Base64 makes files about one third bigger, so it is best for small icons and logos.
Why is the text so long?
Base64 encodes binary data as text, which is about 33 percent larger.
Can I decode it back?
Yes, paste the Base64 to get the picture.