เครื่องมือเข้า/ถอดรหัส Base64

อินพุต

ป้อนข้อความที่ต้องการเข้ารหัส
0 ตัวอักษร

ตัวเลือก

โหมด URL-safe จะแทนที่ + ด้วย - และ / ด้วย _ เพื่อใช้งานใน URL ได้อย่างปลอดภัย

เอาต์พุต

ผลลัพธ์การเข้ารหัส Base64
0 ตัวอักษร

เกี่ยวกับเครื่องมือนี้

Base64 ตัวเข้ารหัส/ตัวถอดรหัส รองรับภาษาไทย ใช้เพื่อตรวจสอบ แปลง ตรวจทาน และส่งออกผลลัพธ์โดยไม่ต้องอัปโหลดข้อมูลไปยังเซิร์ฟเวอร์

วิธีใช้งาน

Base64 ตัวเข้ารหัส/ตัวถอดรหัส รองรับภาษาไทย ใช้เพื่อตรวจสอบ แปลง ตรวจทาน และส่งออกผลลัพธ์โดยไม่ต้องอัปโหลดข้อมูลไปยังเซิร์ฟเวอร์

ข้อจำกัดและหมายเหตุสำคัญ

Base64 ตัวเข้ารหัส/ตัวถอดรหัส รองรับภาษาไทย ใช้เพื่อตรวจสอบ แปลง ตรวจทาน และส่งออกผลลัพธ์โดยไม่ต้องอัปโหลดข้อมูลไปยังเซิร์ฟเวอร์

Technical Details

Edge Cases & Tricky Inputs

  • UTF-8 multi-byte characters (emoji, CJK) are encoded correctly — each byte is mapped independently.
  • URL-safe Base64 replaces + with - and / with _ to avoid URL encoding issues.
  • Padding characters (=) can be omitted in some implementations but are included by default here.

Performance & Processing

  • Encoding/decoding runs via the browser's built-in btoa()/atob() for ASCII, with a TextEncoder fallback for UTF-8.
  • Files up to 5 MB can be encoded without issues on modern browsers.

Developer Notes

  • Base64 increases data size by approximately 33% — consider this for bandwidth-sensitive applications.
  • Data URIs using Base64 are supported in all modern browsers for images, fonts, and CSS.

Known Limitations

  • Not encryption — Base64 is trivially reversible and provides zero security.
  • Very large files may cause browser memory pressure during encoding.