IT lexicon › Programming › BinHex

BinHex

Programming På svenska → Updated: 2026-10-06
More info
Creator
Yves Lempereur (BinHex 4.0)
Released
1985
Type
Binary-to-text encoding
Spec
RFC 1741

The Mac world's answer to uuencode: an encoding that turned files into text while keeping both the data and resource forks, recognisable by the .hqx extension.

A Macintosh file was two files in one — the data fork holding the content and the resource fork holding icons, menus and code. uuencode only knew about the first, so a program sent that way arrived broken. Yves Lempereur's BinHex 4.0 from 1985 bundled both forks plus the file type and creator, applied simple compression and encoded the result as printable characters with a checksum.

Through the 80s and 90s practically all Mac software on Usenet and the FTP archives came as .hqx, often with a StuffIt archive inside. RFC 1741 gave it a MIME type in 1994, but MIME and Base64 slowly made it redundant anyway — and Mac OS X stopped keeping most things in resource forks.

← Back to the lexicon