ข้ามไปยังเนื้อหาหลัก

ตัวเข้ารหัส/ถอดรหัส Base64

เครื่องมือสำหรับนักพัฒนา

เข้ารหัสและถอดรหัสข้อความ Base64

ดูคำตอบอย่างรวดเร็ว

Base64 Encoder / Decoder: Encode and decode Base64 text. Base64 Encoder / Decoder uses standard developer formulas to compute accurate results instantly.

ป้อนข้อมูล

ผลลัพธ์

ไบต์ที่ป้อน20
อักขระผลลัพธ์28
การขยายตัวของปริมาตร+40%
รูปแบบStandard

หลักการเข้ารหัส (ใช้ 3 ไบต์แรกของข้อมูลที่ป้อนเป็นตัวอย่าง)

  1. 1First 3 byte(s) → binary: 11100100 10111000 10000000
  2. 2Split into 6-bit groups: 111001 | 001011 | 100010 | 000000
  3. 3Indices 57, 11, 34, 0 → chars "5LiA"
  4. 43 bytes → 4 chars, no padding needed

ตารางดัชนีอักขระ Base64

ดัชนี0-2526-5152-616263เติมช่องว่าง
อักขระA-Za-z0-9+/=

💡 Base64 คือการเข้ารหัสไม่ใช่การเข้ารหัสแบบเข้มงวด ใครก็สามารถกู้คืนได้ อย่าใช้เพื่อซ่อนข้อมูลที่ละเอียดอ่อน เข้ารหัส 3 ไบต์เป็น 4 อักขระ (ปริมาณเพิ่มขึ้นประมาณ +33%); เมื่อใช้ใน URL หรือชื่อไฟล์ โปรดเลือกตัวแปร URL Safe

เครื่องมือนี้มีประโยชน์กับคุณไหม?

วิธีใช้งาน

  1. Paste or type content: drop code/text into the Base64 Encoder / Decoder or fill the parameters.
  2. Choose mode/options: switch format, rules or processing as needed.
  3. Live output: results appear instantly — nothing is submitted, data stays in your browser.
  4. One-click copy: copy the output straight into your development environment.

ประเด็นสำคัญ

  • Base64 Encoder / Decoder is a free online developer tool — open and use, no sign-up.
  • All calculations run locally in your browser; your data never leaves the device.
  • Key capability: Encode and decode Base64 text.
  • Results come with formulas and reference tables so you can verify every number.

หลักการและสูตรการคำนวณ

Base64 Encoder / Decoder formula

Base64 Encoder / Decoder uses standard developer formulas to compute accurate results instantly.

คำถามที่พบบ่อย

How do I use the Base64 Encoder / Decoder?
Open the page and fill in the input fields — results update automatically. Encode and decode Base64 text.
Are the results accurate?
Yes. Standard formulas and conversion factors are used and verified.
Is it free? Do I need to sign up?
Completely free. No registration, login or download required.
Does it work on mobile?
Yes. The responsive design works on phones, tablets and desktops.
Is my data saved?
No. Everything runs locally in your browser.

เครื่องมือที่เกี่ยวข้อง

ดูเครื่องมือทั้งหมด 55 รายการในหมวดหมู่นี้ →

คู่มือที่เกี่ยวข้อง

แหล่งที่มาและการอัปเดต

Based on RFC 4648, ECMA-262 and related specifications. Last updated: 2025-07

แหล่งข้อมูลที่น่าเชื่อถือ:

อัปเดตล่าสุด:

สูตรและเนื้อหาในหน้านี้ได้รับการตรวจสอบซ้ำโดยทีมงาน YiJianSuan มีไว้สำหรับการเรียนรู้อ้างอิงเท่านั้น สำหรับการใช้งานจริงโปรดปฏิบัติตามข้อมูลอย่างเป็นทางการ

เนื้อหานี้ได้รับการดูแลและตรวจสอบซ้ำเป็นประจำโดยทีมงานแก้ไขของ YiJianSuan ขั้นตอนการอัปเดตและตรวจสอบสามารถดูได้ที่นโยบายการแก้ไขเนื้อหา.

อ้างอิงหน้านี้: YiJianSuan. ตัวเข้ารหัส/ถอดรหัส Base64[EB/OL]. https://www.yijiansuan.com/th/c/dev/base64

ผลลัพธ์ที่ได้จากเครื่องมือนี้มีไว้สำหรับการอ้างอิงเท่านั้น ไม่ถือเป็นคำแนะนำทางวิชาชีพใดๆ โปรดใช้ผลการคำนวณอย่างเป็นทางการเป็นหลัก