Base64 エンコード / デコード
UTF-8テキストをBase64で符号化・復号します。
About this tool
テキストを Base64 にエンコード、または逆にデコード — 即時かつローカルです。メールヘッダーや data URL など、バイナリ非対応の経路で任意データを運ぶ方式です。
Why use it
- サーバー往復なしの双方向変換です。
- ASCII だけでなく、Unicode テキストも正しく扱います。
- ワンクリックで結果をコピー — データは送信されません。
Common use cases
- Base64 トークンをデコードして中身を読む。
- URL や設定に埋め込む小さなペイロードをエンコードする。
- data URI のエンコード部分を調べる。
Tips
- Base64 は暗号化ではありません — それだけでは何も隠せません。
- エンコード後は元テキストより約 3 分の 1 大きくなります。
使い方
- テキストを貼り付け。
- エンコードまたはデコード。
- 結果をコピー。
よくある質問
- What does Base64 encoding do?
- It turns binary or text data into a safe ASCII string that can travel through systems that only handle text.
- Can I both encode and decode?
- Yes, paste plain text to encode it, or paste a Base64 string to decode it back.
- Is my data sent to a server?
- No. Encoding and decoding run in your browser, so your text stays private.
- Is Base64 a form of encryption?
- No. It only changes the representation; anyone can decode it, so never use it to protect secrets.
- Why is the encoded text longer?
- Base64 represents every 3 bytes as 4 characters, adding about a third to the size.
- Does it handle Unicode text?
- Yes, text is treated as UTF-8 so emoji and non-Latin characters encode correctly.