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

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

  1. Enter or paste the text you want to encode into the input field.
  2. Optionally set the output filename that will appear in the "begin" header.
  3. Optionally set the Unix permission mode (default 644).
  4. Click "Encode" — the tool groups bytes into 3-byte chunks and maps each chunk to 4 printable ASCII characters.
  5. Each encoded line represents 45 source bytes (60 encoded characters), preceded by a length character.
  6. 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-07-22 · Reviewed by Nham Vu