PDF Mikata

什麼是 Base64?

釋出日期:2026 年 10 月 19 日|最後更新:2026 年 10 月 19 日|關於(日文)

要點
  • 瞭解
  • 使用

"Base64" is often seen in developer documentation and APIs. Before using Convert Files and Base64, here are the basics of what it is for.

What Base64 is

A method of turning data (binary) such as images and PDFs into a string using only letters, digits and a few symbols. The characters used are upper and lower case letters, digits, "+" and "/", and "=" at the end.

Why it is needed

Email bodies and some communication mechanisms can handle only text. Putting binary data in as it is would corrupt it. Turned into text with Base64, it can be safely put even in text-only places.

Steps (trying it)

  1. For "Direction", choose "File → Base64".
  2. Choose a small image or text with "Choose one file".
  3. Look at the string that appears under "Base64 after conversion".
The character count after conversion is about 1.3 times the original data.

Characteristics of Base64

Common uses

Difference from "encryption"

Base64 only expresses data in another form, and anyone can restore it without a key. Putting a password or secret information into Base64 does not protect it.

How to recognise it

示例

An API description said "send images in Base64". Used this tool to turn an image into Base64 and see.

Common stumbling blocks

Frequently asked questions

Does Base64 make the size smaller?

No. It grows to about 1.3 times.

小結

Base64 is a method of turning data into text. Remember it is not a cipher and increases size.

使用「檔案與 Base64 互相轉換」(免費)

搭配使用的工具

如果這篇教程對你有幫助,一點小小的打賞會讓我們非常開心。

打賞(300 日元)贈送禮物(亞馬遜心願單)

此工具的更多教程

檢視全部教程