PDF Mikata

วิธีแปลงไฟล์เป็น Base64 (ฟรี)

เผยแพร่: 19 ต.ค. 2026 | อัปเดต: 19 ต.ค. 2026 | เกี่ยวกับ (ภาษาญี่ปุ่น)

ประเด็นสำคัญ
  • เลือก
  • ดู
  • คัดลอก

You want to put an image or PDF into an email body or program code as text. Convert Files and Base64 converts a file to a Base64 string, and converts it back to the original file. Files and text are converted inside this device and sent nowhere.

Steps (file → Base64)

  1. For "Direction", choose "File → Base64".
  2. With "Choose one file", choose the file to convert.
  3. To embed an image in HTML and the like, tick "Use data URL format (data:…;base64,)".
  4. After conversion, the string appears under "Base64 after conversion".
  5. Copy it with "Copy result" and use it.
The convertible file size is up to 20MB. If too large, "This file is too large to convert (up to 20MB)." is shown.

Steps (Base64 → file)

  1. For "Direction", choose "Base64 → file".
  2. Paste the string into "Base64 text".
  3. Enter a "File name to save" (with extension, for example image.png).
  4. Save with "Save as file".

What Base64 is

A string that expresses binary data (images, PDFs and so on) using only letters, digits and a few symbols. It is used when you want to put file data somewhere that can only handle text.

เหมาะกับ

ตัวอย่าง

Wanted to embed a small icon image directly in HTML. Ticked "Use data URL format", converted, and pasted the result into the HTML src.

Common stumbling blocks

Frequently asked questions

Is it encrypted?

No. Base64 is not encryption. Anyone can restore it. It cannot be used to protect secret information.

Are files sent anywhere?

No. They are converted inside the browser.

สรุป

Choose the direction, enter a file or text and use the result. Note that Base64 is not a cipher.

ใช้ “แปลงไฟล์และ Base64” (ฟรี)

เครื่องมือที่ใช้คู่กันได้ดี

หากคู่มือนี้เป็นประโยชน์ ทิปเล็ก ๆ น้อย ๆ จะเป็นกำลังใจอย่างมาก

ส่งทิป (¥300)ส่งของขวัญ (Amazon wishlist)

คู่มืออื่น ๆ ของเครื่องมือนี้

ดูคู่มือทั้งหมด