Quoted-Printable Codificar / Decodificar
Codifica texto como Quoted-Printable para correo MIME, o decodifica cadenas QP codificadas.
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.
Cómo codificar y decodificar Quoted-Printable online
- 1
Pega tu entrada
Pega texto plano para codificar como Quoted-Printable, o pega una cadena codificada en QP para decodificar.
- 2
Elige codificar o decodificar
La codificación convierte caracteres no ASCII a secuencias hex =XX dejando el ASCII imprimible sin cambios. La decodificación invierte el proceso incluyendo los saltos de línea suaves.
- 3
Copia el resultado
Copia la salida para usar en clientes de correo, herramientas MIME o depuración.
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.
¿Por qué usar la herramienta Quoted-Printable de FileCrank?
- ✓ Codificación y decodificación Quoted-Printable compatible con RFC 2045.
- ✓ Maneja correctamente los saltos de línea suaves (= al final de línea).
- ✓ Mantiene el contenido mayormente ASCII legible después de la codificación.
- ✓ Funciona completamente en tu navegador, sin enviar datos a ningún servidor.
Características y Especificaciones
Preguntas frecuentes
¿Para qué se usa la codificación Quoted-Printable?
Quoted-Printable se usa en correo MIME para codificar cuerpos de mensajes que contienen caracteres no ASCII, manteniendo el mensaje mayormente legible en su forma cruda. Es el estándar para partes de correo text/plain y text/html con contenido no ASCII.
¿En qué se diferencia Quoted-Printable de Base64 para la codificación de correo?
Quoted-Printable deja los caracteres ASCII imprimibles sin cambios, haciendo el texto codificado mayormente legible. Base64 codifica todo, produciendo una salida compacta pero ilegible. Usa QP para contenido mayormente ASCII; usa Base64 para archivos adjuntos binarios.
¿Qué es el = al final de una línea Quoted-Printable?
Un = al final de una línea es un salto de línea suave — significa que la línea continúa en la siguiente sin una nueva línea real en el contenido decodificado. QP limita la longitud de línea a 76 caracteres y usa esta convención para envolver líneas más largas.
¿Por qué mi salida QP decodificada aún tiene =?UTF-8?Q? alrededor?
Esa es la sintaxis de palabra codificada RFC 2047 que se usa en los encabezados de correo, no el mismo que la codificación del cuerpo QP. Elimina el prefijo =?charset?Q? y el sufijo ?= antes de pegar la cadena QP interna en este decodificador.
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.
Herramientas relacionadas
Codificar / Decodificar Base64
Codifica texto o datos binarios a Base64 y decodifica cadenas Base64 a texto plano, al instante en tu navegador.
UUencode / UUdecode
Codifica texto o datos binarios en formato UUencode, o decodifica bloques UUencode al original.
Entidades HTML Codificar / Decodificar
Codifica caracteres especiales a entidades HTML y decodifica entidades HTML a texto plano.
Quoted-Printable Codificar / Decodificar de FileCrank maneja la codificación QP compatible con RFC 2045 para correo MIME, manteniendo el contenido ASCII legible mientras codifica caracteres no ASCII como secuencias =XX.
Advertisement