Introduction
yEnc is a way of encoding binary files so that they can be posted to Usenet or sent by email. Jürgen Helbing developed it, with a first release in early 2001, and by 2003 it had become the usual encoding for binary files on Usenet. It adds only about 1 to 2 per cent to the size, far less than uuencode or Base64. No RFC or other standard describes it, only an informal draft. yEnc data normally travels inside a message, so this page gives it no file extension.
Structure
The encoded data sits between a line starting =ybegin, which gives the line
length, the file size and a suggested file name, and a line starting =yend,
which repeats the size and can give a CRC-32. Each byte has 42 added to it and normally
stays one byte. NUL, line feed, carriage return and = are escaped.
Not described
This page is a first outline. The encoding is not yet described in full here.
Known, not yet covered
- Reference: the escape rule, the header fields and files split into parts.
- Viewer: the site has no viewer for this format.
Links
Software
- Forté Agent – newsreader that supports yEnc (Windows)
- Mozilla Thunderbird – decodes single-part yEnc files
- PowerArchiver – archiver that supports yEnc (Windows)
- StuffIt Deluxe – supported yEnc from version 8.0
Developers
- tcllib yencode – yEnc encoder and decoder (Tcl)
- yencoding – yEnc crate (Rust)
Reference
- yEnc – Wikipedia’s account of the encoding and its history