メインコンテンツへスキップ

Quoted-Printable エンコード・デコード

MIMEメール用にテキストをQuoted-Printableとしてエンコードするか、QPエンコードされた文字列をデコードします。

Input
0 chars | 0 bytes
Encode
Output
0 chars | 0 bytes

MIME email standards require message bodies to use printable ASCII, but most text in the world contains characters outside that range — accented Latin characters, quotation marks, and non-Latin scripts. Quoted-Printable encoding was invented to handle this: it keeps ASCII characters as-is (making the encoded text mostly readable) while encoding non-ASCII bytes as `=XX` sequences, where XX is the byte value in hexadecimal.

This tool encodes UTF-8 text to Quoted-Printable format for use in MIME-compliant email headers or bodies, and decodes QP-encoded strings back to readable text. It is useful for email developers, anyone debugging raw MIME messages in mail server logs, and developers building systems that must interoperate with legacy email infrastructure.

Quoted-PrintableをオンラインでエンコードするQuoted-Printableエンコーダー

  1. 1

    入力を貼り付ける

    Quoted-Printableとしてエンコードするプレーンテキスト、またはデコードするQPエンコードされた文字列を貼り付けてください。

  2. 2

    エンコードまたはデコードを選択

    エンコードは非ASCII文字を=XX 16進シーケンスに変換し、印刷可能なASCIIはそのまま残します。デコードはソフト改行を含むその逆を行います。

  3. 3

    結果をコピー

    メールクライアント、MIMEツール、またはデバッグ用途に出力をコピーしてください。

How Quoted-Printable Encoding Works

Quoted-Printable (RFC 2045) replaces any byte whose value is outside the printable ASCII range (33–126), or that is a tab or space at the end of a line, with an equals sign followed by two uppercase hex digits — `=C3=A9` for the UTF-8 encoding of `é`. The equals sign itself is encoded as `=3D`. Lines in QP-encoded content must not exceed 76 characters; a soft line break is encoded as `=\r\n` (a trailing equals sign before the CRLF) to indicate that the logical line continues.

QP is a 'mostly printable' encoding: English text encodes with very little overhead because ASCII characters pass through unchanged. This readability was the design goal — a human reading a raw MIME message should be able to understand the gist of the content even without decoding it. By contrast, Base64 encodes everything, producing output that is completely opaque to humans.

FileCrank Quoted-PrintableツールをQPエンコーダーとして使う理由

  • ✓ RFC 2045準拠のQuoted-Printableエンコードとデコード。
  • ✓ ソフト改行(行末の=)を正しく処理。
  • ✓ エンコード後も主にASCIIのコンテンツを人間が読める状態に保つ。
  • ✓ 完全にブラウザ内で動作 — データはサーバーに送信されません。

機能と仕様

最大ファイルサイズ
最大100 MB
プライバシー
ファイルは約1時間後に削除されます
料金
無料、登録不要
処理方式
100%クライアントサイド
データはブラウザの外に出ません — すべての処理はローカルです。アカウントや登録不要。使用制限なしで無料。

よくある質問

Quoted-Printableエンコードは何に使われますか?

Quoted-Printableは非ASCII文字を含むメッセージ本文をMIMEメールでエンコードするために使用され、メッセージをその生の形式でほぼ読みやすい状態に保ちます。非ASCIIコンテンツを含むtext/plainとtext/htmlのメール部分の標準です。

Quoted-PrintableとBase64のメールエンコードの違いは何ですか?

Quoted-PrintableはASCII印刷可能文字をそのまま残すため、エンコードされたテキストはほぼ読みやすいです。Base64はすべてをエンコードし、コンパクトだが読めない出力を生成します。主にASCIIのコンテンツにはQPを、バイナリ添付ファイルにはBase64を使用してください。

Quoted-Printableの行末の=は何ですか?

行末の=はソフト改行です — 次の行に続きがあり、デコードされたコンテンツに実際の改行がないことを意味します。QPは行の長さを76文字に制限し、長い行を折り返すためにこの規則を使用します。

デコードされたQP出力にまだ=?UTF-8?Q?が含まれているのはなぜですか?

それはRFC 2047エンコードワード構文でメールヘッダーで使用されるもので、QPボディエンコードとは異なります。内部のQP文字列をこのデコーダーに貼り付ける前に=?charset?Q?プレフィックスと?=サフィックスを取り除いてください。

Quoted-Printable vs. Base64 in MIME Email

MIME allows content-transfer-encoding to be either `quoted-printable` or `base64`. QP is preferred for text content that is mostly ASCII, as the encoded form remains human-readable and the size overhead is minimal for Latin text. Base64 is preferred for binary attachments and text that is heavily non-ASCII, as it produces a fixed 33% expansion regardless of content. Most email clients choose automatically, but developers building MIME message generators should understand both options.

FileCrank Quoted-PrintableエンコーダーはMIMEメール用にRFC 2045準拠のQPエンコードを処理し、非ASCII文字を=XXシーケンスとしてエンコードしながらASCIIコンテンツを読みやすい状態に保ちます。

Advertisement

Ad