Uuencode Encoder
Paste or type any text and get the Unix uuencoded output with a filename header and standard 60-character line wrapping.
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
Paste or type any text and get the Unix uuencoded output with a filename header and standard 60-character line wrapping.
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
Related tools
Last updated: 2026-05-23 ·
Reviewed by Nham Vu