Passer au contenu principal

UUencode / UUdecode

Encodez du texte ou des données binaires au format UUencode, ou décodez des blocs UUencodés vers l'original.

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

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.

Comment UUencoder et UUdécoder en ligne

  1. 1

    Collez votre entrée

    Collez du texte ou une entrée binaire à encoder en bloc UUencodé, ou collez un bloc UUencodé existant (lignes begin et end incluses) à décoder.

  2. 2

    Encodez ou décodez

    L'outil génère ou analyse la syntaxe des marqueurs begin/end et valide la structure du bloc.

  3. 3

    Copiez le résultat

    Copiez le bloc encodé ou le contenu décodé. Utile pour les archives e-mail historiques, Usenet et les défis 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.

Pourquoi utiliser FileCrank UUencode / UUdecode ?

  • ✓ Génère et analyse la syntaxe correcte des marqueurs begin/end.
  • ✓ Valide la structure du bloc et signale clairement les erreurs.
  • ✓ Gère les pièces jointes UUencodées des anciens e-mails et de Usenet.
  • ✓ Fonctionne entièrement dans votre navigateur — aucune donnée n'est envoyée à un serveur.

Fonctionnalités & Spécifications

Taille max. du fichier
Jusqu'à 100 Mo
Confidentialité
Conforme au RGPD : fichiers supprimés après environ une heure
Prix
Gratuit, sans inscription
Traitement
100% côté client
Vos données ne quittent jamais votre navigateur — tout le traitement est local.Aucun compte ni inscription requis.Gratuit sans limite d'utilisation.

Questions fréquentes

Qu'est-ce que l'UUencodage ?

L'UUencodage (Unix-to-Unix encoding) convertit des données binaires en ASCII imprimable pour la transmission sur des canaux texte uniquement. Chaque groupe de 3 octets est encodé en 4 caractères imprimables. Un fichier UUencodé commence par une ligne begin [permissions] [nom_fichier] et se termine par une ligne end.

L'UUencode est-il encore utilisé aujourd'hui ?

Rarement, mais il apparaît encore dans les archives d'e-mails anciens, les vieux posts Usenet et parfois dans les défis CTF de sécurité. Les e-mails modernes utilisent MIME avec encodage Base64.

Quelle est la différence entre UUencode et Base64 ?

Les deux convertissent du binaire en ASCII imprimable mais utilisent des jeux de caractères et des formats de lignes différents. UUencode utilise des caractères avec des valeurs ASCII 32 à 95. Base64 utilise A-Z, a-z, 0-9, + et /. UUencode inclut des en-têtes begin/end ; Base64 généralement non.

Mon bloc UUencodé génère une erreur de décodage — que se passe-t-il ?

Problèmes courants : ligne begin ou end manquante, caractères de longueur de ligne corrompus (le premier caractère de chaque ligne encode la longueur de la ligne), ou caractères non imprimables introduits par la conversion des fins de ligne. Collez le bloc exact incluant les lignes begin et 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.

FileCrank UUencode / UUdecode encode et décode des blocs UUencodés incluant la syntaxe des marqueurs begin/end, utile pour les anciens e-mails, les archives Usenet et les défis CTF.

Advertisement

Ad