Introduction
A uuencoded file holds a binary file written as printable ASCII text, so that it can pass
through email and other channels made for text. The encoding comes from the Unix programs
uuencode and uudecode, written at the University of California,
Berkeley, in 1980. Base64 and yEnc have largely replaced it. Such files carry the
extension .uue or .enc.
Structure
A header line starts with begin and gives the file mode in octal and a file
name. Each body line starts with a character that gives the number of bytes on the line,
offset from a space. Every three bytes become four printable characters of six bits each.
A line with a count of zero ends the body, and the line end ends the file.
The program can also write a Base64 form, whose header starts with
begin-base64 and whose last line is ====.
Not described
This page is a first outline. The encoding is not yet described in full here.
Known, not yet covered
- Reference: the exact line layout, padding, multi-part files and the differences between encoders.
- Viewer: the site has no viewer for this format.
Links
Software
- uuencode and uudecode – the original Unix tools, also in GNU sharutils
- UUDeview – open source decoder (Unix, Windows, DOS)
- WinZip – archiver that opens UUE files (Windows)
Reference
- uuencode(5) – the OpenBSD manual page for the format
- Uuencoding – Wikipedia’s account
- UUE format – Wolfram Language reference, with the extensions
- .UUE file extension – FileInfo’s list of programs