Base64

Base64 エンコード & デコード

オンラインでBase64をエンコード・デコードする最も簡単な方法

無料、安全、すべてブラウザ内で動作します。データがサーバーに送信されることはありません。

// Input
"Hello, World!"
 
// Base64 Encoded
"SGVsbG8sIFdvcmxkIQ=="

なぜ2Base64?

超高速

すべてがブラウザ内で即座に処理されます。

🔒

100%安全

データがデバイスから出ることはありません。

💻

開発者向け

UTF-8対応のシンプルなインターフェース。

🎁

完全無料

登録不要、制限なし、隠れた料金なし。

Base64とは?

Base64はバイナリデータを64種類の印刷可能なASCII文字で表現するエンコード方式です。

Base64の仕組み

Base64 encoding works by taking groups of three bytes (24 bits) of binary data and splitting them into four groups of six bits each. Each 6-bit group is then mapped to one of 64 printable ASCII characters.

なぜBase64を使うのか?

Base64 encoding is essential in many areas of software development. It is used to embed images in HTML/CSS, transmit binary data over text-based protocols like email (MIME) and HTTP, store data in JSON/XML formats, and encode authentication credentials.

一般的な用途

  • Embedding images in HTML/CSS using data URIs
  • Sending email attachments via MIME encoding
  • Encoding binary data in JSON and XML payloads
  • HTTP Basic Authentication credentials
  • Storing binary data in text-based databases
  • Data transfer between different systems and platforms