เข้ารหัส Base64
เข้ารหัสเป็น Base64
ทำงานในเบราว์เซอร์ · ไม่ต้องอัปโหลด
ขณะนี้เครื่องมือและคำแนะนำในหน้านี้ยังเป็นภาษาอังกฤษ แต่ทำงานเหมือนกันทุกประการ: ทุกอย่างทำงานในเบราว์เซอร์ของคุณ
เบราว์เซอร์ของคุณเก่าเกินไปที่จะใช้เครื่องมือนี้ โปรดอัปเดต หรือใช้ Chrome, Edge, Firefox หรือ Safari เวอร์ชันปัจจุบัน
- ไม่มีสิ่งใดออกจากอุปกรณ์ของคุณ
- เซิร์ฟเวอร์ไม่จำกัดขนาดไฟล์
- ไม่ต้องสมัคร ไม่มีลายน้ำ
- ฟรี
How to encode Base64
- Type or paste text, or choose "Encode a file…".
- Pick URL-safe Base64, line breaks or a data: URL if you need them.
- Copy or download the result.
Good to know
- Text is encoded as UTF-8, so accents, other scripts and emoji come back exactly.
- URL-safe Base64 uses - and _ instead of + and / and drops the = padding, as JWTs and many URLs do.
- Base64 is about a third larger than the original data. It is an encoding, not encryption: anyone can decode it.
คำถามที่พบบ่อย
Can I encode images?
Yes, any file. For images, Image to Base64 also gives ready-made HTML and CSS snippets.
Is my text or file uploaded?
No. Everything happens in your browser, and the page is blocked from uploading anything.