ntones apps
|
リクエスト

Base64エンコード/デコードBase64 Encoder / Decoder

テキスト・ファイルをBase64エンコード/デコード。双方向変換、ブラウザ完結で外部送信なし。Encode/decode text or files to Base64. Bidirectional conversion, runs entirely in your browser.

ブラウザ完結(サーバー非送信)Browser-only (no server upload)

使い方・ユースケース How to Use & Use Cases

テキストを入力してエンコード/デコードを選ぶか、ファイルをドロップしてBase64文字列に変換します。結果をコピーしてHTML・JSON・APIリクエストなどに貼り付けられます。処理はブラウザ内で完結し、データは送信されません。 Enter text and choose Encode or Decode, or drop a file to get a Base64 string. Copy the result for HTML, JSON, or API requests—all in your browser with no upload.

画像をdata URIとしてHTML/CSSに埋め込みたいとき、APIでバイナリを文字列として送る前の変換確認、JWTやBasic認証の文字列をデコードして中身を見たいときなどに便利です。 Handy for embedding images as data URIs in HTML/CSS, converting binary for API payloads, or decoding JWT and Basic auth strings for inspection.

よくある質問FAQ

どんな場面でBase64エンコード/デコードを使いますか?When do I use Base64 encoding/decoding?

画像やファイルをHTML・CSS・JSON・メール本文に埋め込むとき、APIでバイナリデータを文字列として送るとき、JWTやBasic認証の文字列を確認するときなどに使います。バイナリを「テキストだけで扱える形式」に変換したい場面が中心です。Common cases include embedding images or files in HTML, CSS, JSON, or email bodies; sending binary data as text in APIs; and inspecting JWT or Basic auth strings. It is mainly for turning binary data into a text-safe format.

このツールを使うメリットは何ですか?What are the benefits of this tool?

ブラウザだけで完結するため、機密テキストやファイルをサーバーに送らずに変換できます。日本語・絵文字もUTF-8のまま扱え、テキストのエンコード/デコードに加え、ファイルをドロップしてBase64文字列を得ることもできます。コマンドやスクリプトを用意せず、すぐ確認・コピーできるのも便利です。Everything runs in your browser, so sensitive text and files are never uploaded. Japanese and emoji are handled as UTF-8. Besides text encode/decode, you can drop a file to get a Base64 string—handy when you need a quick result without CLI tools or scripts.

ファイルはサーバーに送られますか?Are files sent to a server?

送られません。処理はすべてブラウザ内で行われます。No. All processing happens in your browser on your device.

日本語(マルチバイト文字)は使えますか?Can I use Japanese and multi-byte characters?

使えます。UTF-8でエンコードされます。Yes. Text is encoded as UTF-8.

ファイルをBase64に変換できますか?Can I convert files to Base64?

できます。ファイルをドロップするとBase64文字列に変換されます。Yes. Drop a file to convert it to a Base64 string.

エンコードできない文字はありますか?Are there any characters that cannot be encoded?

ありません。日本語・絵文字・特殊記号を含むあらゆる文字列をエンコードできます。内部でUTF-8に変換してからBase64化しているためです。No. Any string including Japanese, emoji, and special characters can be encoded.

デコードできない文字列はありますか?Are there strings that cannot be decoded?

あります。Base64の有効な文字は「A〜Z・a〜z・0〜9・+・/・=」のみです。日本語や記号(!、@、#など)が混入しているとデコードに失敗します。また、文字数が4の倍数でない場合や、末尾の「=」によるパディングが崩れている場合もエラーになります。Yes. Valid Base64 characters are A–Z, a–z, 0–9, +, /, and =. Any other characters will cause a decoding error.

ページを閉じれば、端末内のデータは自動的に消去されます。契約書や顧客資料など、慎重に扱うデータも安心してご利用ください。When you close the page, data on your device is cleared automatically. Safe for sensitive files such as contracts and client documents.

関連ツールRelated Tools