← รหัสผ่านและความปลอดภัย

รหัสผ่าน/เครื่องมือรักษาความปลอดภัย

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

เข้ารหัสหรือถอดรหัสข้อความ UTF-8 ด้วย Base64 หรือ Base64url

ทํางานในเบราว์เซอร์ของคุณ

UTF-8 ส่งข้อความสูงสุด 1 MiB หรืออินพุตที่เข้ารหัสสูงสุด 1.4 MiB Base64url ยอมรับอินพุตที่ไม่มีเบาะ ช่องว่าง ASCII และตัวแบ่งบรรทัดในอินพุตที่เข้ารหัสจะถูกละเว้น

Base64 เป็นการเข้ารหัส ไม่ใช่การเข้ารหัส เครื่องมือนี้แปลงข้อความ UTF-8; มันไม่ได้ถอดรหัสไฟล์ไบนารี่ตามอําเภอใจ ตัวอักษรที่ไม่ถูกต้อง ช่องว่างภายใน และ UTF-8 ที่ไม่ถูกต้องจะถูกปฏิเสธ

English guide · Ghid în română

Practical guide

Represent UTF-8 text as Base64 or decode an encoded text value. Base64 changes representation, not confidentiality: anyone with the value can reverse the encoding.

Steps that matter

  1. Choose encoding or decoding and select standard Base64 or Base64url.
  2. Paste the complete value without surrounding JSON quotes or a data-URL prefix.
  3. Process and inspect the result. If decoding fails, check the variant and whether the original bytes were actually UTF-8 text.

Worked example

The text Hello encodes to SGVsbG8= in standard Base64. In Base64url, padding can be omitted, giving SGVsbG8. Neither value hides the word from a recipient.

Check before using the result

  • Binary files are not always valid UTF-8 text. This text decoder rejects invalid UTF-8 instead of pretending it is readable content.
  • Do not use Base64 to protect passwords or personal data. Use the appropriate encryption and access controls for your application.