Uuencode Encoder
Paste or type any text and get the Unix uuencoded output with a filename header and standard 60-character line wrapping.
Use the Uuencode Encoder
Input Text
Encoding Stats
0
Input bytes
0
Output bytes
0
Data lines
Uuencoded Output
Encoded output will appear here
Try a Sample
Copied!
Summary
Uuencoding (Unix-to-Unix encoding) is a binary-to-text encoding format originally used to transmit binary files over email and Usenet. This tool converts any plain text or binary data into the standard uuencoded format, wrapping every 45 source bytes into a 61-character encoded line (60 encoded characters plus one length character) and prefixing the output with a "begin" header that carries the filename and permission mode.
How it works
- Enter or paste the text you want to encode into the input field.
- Optionally set the output filename that will appear in the "begin" header.
- Optionally set the Unix permission mode (default 644).
- Click "Encode" — the tool groups bytes into 3-byte chunks and maps each chunk to 4 printable ASCII characters.
- Each encoded line represents 45 source bytes (60 encoded characters), preceded by a length character.
- The output is wrapped in "begin <mode> <filename>" and "end" markers, exactly matching the Unix uuencode format.
Use cases
- Prepare text payloads for legacy email systems that require uuencoded attachments.
- Test decoders or parsers that consume the uuencode format.
- Embed encoded data in shell scripts or Makefiles that call uudecode.
- Learn the uuencoding algorithm by comparing raw input with encoded output.
- Encode configuration snippets for systems with uudecode but no base64.
- Reproduce classic Usenet binary post headers for archival purposes.
Frequently Asked Questions
Last updated: 2026-05-23 · Reviewed by Nham Vu