NAME
uuencode, uudecode – encode/decode a file as printable ASCII

SYNOPSIS
uuencode [ input ]

uudecode [ input ]

DESCRIPTION
Uuencode and uudecode are filters used to transmit files over transmission media that do not support other than simple ASCII data.

Uuencode converts a file to a purely ASCII–based representation.

Uudecode reads a file produced by uuencode, ignoring any leading and trailing lines that are not part of the encoding, and emits the original file on standard output, also writing its name to standard error.

EXAMPLES
Encode a dis file limbo.dis so that it can be included in a mail message:
uuencode limbo.dis >tmp
place tmp in mail message and send to recipient

Decode the mail message (msg say):
uudecode <msg >limbo.dis

SOURCE
/sys/src/cmd/uuencode.c
/sys/src/cmd/uudecode.c

SEE ALSO
marshal(1)

BUGS
The encoded file is expanded by at least a third.

This encoding is a relic of the days before MIME encoding.

Copyright © 2025 Plan 9 Foundation