UUencode / UUdecode
קודד טקסט או נתונים בינאריים בפורמט UUencode, או פענח בלוקי UUencode חזרה למקור.
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.
איך לקודד ולפענח UUencode אונליין
- 1
הדבק את הקלט
הדבק טקסט או קלט בינארי לקידוד כבלוק UUencode, או הדבק בלוק UUencode קיים (כולל שורות begin ו-end) לפענוח.
- 2
קודד או פענח
הכלי מייצר או מנתח את תחביר הסמן begin/end ומאמת את מבנה הבלוק.
- 3
העתק את התוצאה
העתק את הבלוק המקודד או את התוכן המפוענח. שימושי לארכיוני אימייל ישנים, נתוני Usenet ואתגרי 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.
למה להשתמש בכלי UUencode/UUdecode של FileCrank?
- ✓ מייצר ומנתח תחביר סמן begin/end תקין.
- ✓ מאמת מבנה בלוק ומדווח שגיאות בבהירות.
- ✓ מטפל בקבצים מצורפים UUencode בארכיוני אימייל ו-Usenet ישנים.
- ✓ פועל לחלוטין בדפדפן — שום נתון לא נשלח לשרת.
תכונות ומפרטים
שאלות נפוצות
מה זה UUencode?
UUencode (Unix-to-Unix encoding) ממיר נתונים בינאריים ל-ASCII מודפס לשידור ב-channels טקסטואליים בלבד. כל קבוצה של 3 בייטים מקודדת כ-4 תווים מודפסים. קובץ UUencode מתחיל בשורת begin [הרשאות] [שם קובץ] ומסתיים בשורת end.
האם UUencode עדיין בשימוש היום?
לעיתים נדירות, אך הוא עדיין מופיע בארכיוני אימייל ישנים, פוסטים ישנים ב-Usenet, ולעיתים באתגרי אבטחה CTF. אימייל מודרני משתמש ב-MIME עם קידוד Base64.
מה ההבדל בין UUencode ל-Base64?
שניהם ממירים בינארי ל-ASCII מודפס אך משתמשים בסטים שונים של תווים ופורמטי שורה. UUencode משתמש בתווים עם ערכי ASCII 32–95. Base64 משתמש ב-A–Z, a–z, 0–9, +, ו-/. UUencode כולל כותרות begin/end; Base64 בדרך כלל לא.
הבלוק UUencode שלי נותן שגיאת פענוח — מה הבעיה?
בעיות נפוצות: שורת begin או end חסרה, תווי אורך שורה פגומים (התו הראשון בכל שורה מקודד את אורך השורה), או תווים לא מודפסים שהוכנסו על ידי המרת סיומת שורה. הדבק את הבלוק המדויק כולל שורות begin ו-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.
כלים קשורים
Base64 קידוד ופענוח
קודד טקסט או נתונים בינאריים ל-Base64 ופענח מחרוזות Base64 לטקסט רגיל, מיידית בדפדפן.
Quoted-Printable קידוד ופענוח
קודד טקסט כ-Quoted-Printable לאימייל MIME, או פענח מחרוזות QP מקודדות.
bin2hex
המר נתונים בינאריים למחרוזות hex ו-hex לבינארי ברמת ה-byte — כמו PHP bin2hex() ו-hex2bin().
כלי UUencode/UUdecode של FileCrank מקודד ומפענח בלוקי UUencode כולל תחביר סמן begin/end, שימושי לארכיוני אימייל ישנים, Usenet ואתגרי CTF.
Advertisement