UUencode / UUdecode
Codifica texto o datos binarios en formato UUencode, o decodifica bloques UUencode al original.
UUencoding is one of the oldest binary-to-text encodings in the Unix world, developed in the early 1980s to transfer binary files over UUCP (Unix-to-Unix Copy) networks that could only handle ASCII text. You will encounter it in old Usenet archives, legacy shell scripts, and source code that predates MIME. Understanding UUencode is essential for working with historical Unix data.
This tool encodes text or binary data to UUencode format — complete with the `begin` and `end` markers and permission mode that define a valid UU file — and decodes UUencoded blocks back to their original content. Useful for preserving or migrating legacy archive content, analysing old mail archives, and understanding how binary transfer worked before Base64 became universal.
Cómo usar UUencode y UUdecode online
- 1
Pega tu entrada
Pega texto o entrada binaria para codificar como un bloque UUencode, o pega un bloque UUencode existente (incluyendo las líneas begin y end) para decodificar.
- 2
Codifica o decodifica
La herramienta genera o analiza la sintaxis de marcadores begin/end y valida la estructura del bloque.
- 3
Copia el resultado
Copia el bloque codificado o el contenido decodificado. Útil para archivos de correo heredados, datos de Usenet y desafíos CTF.
How UUencoding Works
UUencoding converts three input bytes (24 bits) into four output characters, similar to Base64, but uses a different 64-character alphabet. Each 6-bit group is mapped to an ASCII character by adding 32 to its value, putting output characters in the range 32–95 (space through underscore). Each output line is preceded by a length character — the number of bytes encoded on that line plus 32 — allowing the decoder to determine exactly how many bytes each line represents.
A UUencoded file begins with `begin MODE FILENAME` where MODE is the Unix file permission octet and FILENAME is the original filename, and ends with a line containing a grave accent (`` ` ``) followed by `end`. The filename and permissions are part of the encoding, which makes UUencode slightly richer in metadata than Base64, though this advantage is rarely useful today.
¿Por qué usar UUencode / UUdecode de FileCrank?
- ✓ Genera y analiza la sintaxis correcta de marcadores begin/end.
- ✓ Valida la estructura del bloque y reporta errores claramente.
- ✓ Maneja archivos adjuntos UUencode de correo heredado y Usenet.
- ✓ Funciona completamente en tu navegador, sin enviar datos a ningún servidor.
Características y Especificaciones
Preguntas frecuentes
¿Qué es UUencoding?
UUencoding (codificación Unix-a-Unix) convierte datos binarios a ASCII imprimible para transmisión a través de canales de solo texto. Cada grupo de 3 bytes se codifica como 4 caracteres imprimibles. Un archivo UUencoded comienza con una línea begin [permisos] [nombre de archivo] y termina con una línea end.
¿Todavía se usa UUencode hoy en día?
Raramente, pero aún aparece en archivos de correo heredados, publicaciones antiguas de Usenet y ocasionalmente en desafíos CTF. El correo moderno usa MIME con codificación Base64.
¿Cuál es la diferencia entre UUencode y Base64?
Ambos convierten binario a ASCII imprimible pero usan diferentes conjuntos de caracteres y formatos de línea. UUencode usa caracteres con valores ASCII 32–95. Base64 usa A–Z, a–z, 0–9, + y /. UUencode incluye encabezados begin/end; Base64 normalmente no.
Mi bloque UUencode da un error de decodificación — ¿qué está mal?
Problemas comunes: falta de línea begin o end, caracteres de longitud de línea corruptos (el primer carácter de cada línea codifica la longitud de la línea), o caracteres no imprimibles introducidos por la conversión de terminación de línea. Pega el bloque exacto incluyendo las líneas begin y end.
UUencode vs. Base64 vs. MIME
UUencode is historically significant but obsolete for new work. Base64 is strictly superior: it is more widely implemented, has a cleaner alphabet that avoids the space character (which caused corruption in some mail systems), and is defined in MIME standards that every modern email client and HTTP library understands. Use this tool to read legacy data rather than to produce new encodings — for any new binary-to-text need, Base64 is the right choice.
Herramientas relacionadas
Codificar / Decodificar Base64
Codifica texto o datos binarios a Base64 y decodifica cadenas Base64 a texto plano, al instante en tu navegador.
Quoted-Printable Codificar / Decodificar
Codifica texto como Quoted-Printable para correo MIME, o decodifica cadenas QP codificadas.
bin2hex
Convierte datos binarios a cadenas hexadecimales y hexadecimal de vuelta a binario a nivel de byte — como las funciones bin2hex() y hex2bin() de PHP.
UUencode / UUdecode de FileCrank codifica y decodifica bloques UUencode incluyendo la sintaxis de marcadores begin/end, útil para correo heredado, archivos de Usenet y desafíos CTF.
Advertisement