PDF Mikata

วิธีเปลี่ยน Base64 กลับเป็นไฟล์

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

ประเด็นสำคัญ
  • เลือก
  • วาง
  • บันทึก

An API result or an email contains a long string of letters and digits (Base64) that seems to be an image or PDF. "Base64 → file" in Convert Files and Base64 can turn it back into the original file.

ขั้นตอน

  1. For "Direction", choose "Base64 → file".
  2. Paste the string into "Base64 text".
  3. Enter the "File name to save", with an extension (for example image.png, document.pdf).
  4. Press "Save as file" to save.
  5. Open the saved file and check it.
If "Could not read as Base64. Check the characters." appears, characters are missing or extra ones are mixed in.

Deciding the extension

The Base64 text alone doesn't tell the original file type. Judge from clues like these.

For data URLs

A string with a leading part like "data:image/png;base64," can be pasted as it is. Or paste only the characters after the comma, excluding the leading part.

ตรวจสอบหลังบันทึก

เหมาะกับ

ตัวอย่าง

An API response contained a long Base64 string. Pasted it into "Base64 → file", named the file "result.pdf" and saved. It opened as a PDF.

Common stumbling blocks

Frequently asked questions

Can long strings be pasted?

Yes. But very long ones take time.

สรุป

Paste and save with a file name that has an extension. Judge the type from the first characters or documentation.

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

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

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

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

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

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