uuencode/uudecode Online Tool

Convert between binary files and text format using the Unix-to-Unix encoding method. This tool allows you to uuencode binary data to text and uudecode text back to its original binary form.

uuencoded Output:

Download uuencoded File

Decoded File:

Download Decoded File

About uuencode/uudecode

uuencode (Unix-to-Unix encoding) is a form of binary-to-text encoding that originated in the Unix environment. It was historically used to send binary files over transmission mediums that did not support other than simple ASCII data.

How to Use This Tool

To uuencode a file:

  1. Click the "uuencode" tab if not already selected
  2. Select a file to encode using the file picker
  3. Optionally specify a filename for the encoded output
  4. Click "uuencode File" to convert the binary file to text
  5. Copy the encoded text or download it as a text file

To uudecode text:

  1. Click the "uudecode" tab
  2. Paste your uuencoded text into the text area or select a file containing uuencoded text
  3. Click "uudecode Text" to convert back to the original binary format
  4. Download the decoded file

Technical Details

The uuencode format begins with a header line of the form:

begin <mode> <filename>

followed by the encoded data, and ends with a line containing just the word "end".

The encoding process converts 3 bytes of binary data into 4 printable ASCII characters (6 bits per character). Each encoded line is typically 61 characters long (45 input bytes) plus a length character at the beginning.

Common Uses

Frequently Asked Questions

What is the difference between uuencode and Base64?

While both are binary-to-text encoding schemes, uuencode includes file metadata (name, permissions) in its output and uses a different encoding table. Base64 is more compact and standardized, making it more common in modern applications.

Is uuencode still used today?

While largely replaced by more modern encoding methods like Base64, uuencode is still occasionally used in legacy systems, Unix environments, and for compatibility with older software.

What characters does uuencode use?

uuencode uses characters from the ASCII range 32 (space) to 95 (underscore), with character 32 representing zero and 95 representing 63.

Can I uuencode multiple files at once?

This tool processes one file at a time. For multiple files, you would need to encode each file separately or create an archive first.

Is this tool secure to use?

Yes, all encoding/decoding happens in your browser. Your files are never uploaded to any server, ensuring complete privacy and security.