UUEncode Encoder & Decoder
Convert text or any file to UUEncode, or decode UUEncoded data back to its original text or file. Output follows the standard format, the decoder forgives common damage, and you get exact sizes, SHA-256 and CRC-32 checks and an automatic round-trip test.
100% client-side · Nothing is uploaded or stored
Sizes are in bytes. UUEncode turns every 3 bytes into 4 characters and adds a length character and a line break to each 45-byte line, so output is about 38% larger. SHA-256 and CRC-32 describe the original data, not the encoded text.
About UUEncode
UUEncode writes binary data as printable text. Every 3 bytes (24 bits) are split into four 6-bit values, and each value becomes a character by adding 32 to it, so zero is a space or, in modern files, a backtick. A line carries up to 45 bytes and starts with a character giving its byte count. Encoding Hello World! gives:
begin 644 encoded.txt ,2&5L;&\@5V]R;&0A ` end
This page works on bytes, not characters: text becomes UTF-8, files are read untouched, and a decoded result that is not valid text is offered as a download. The command-line equivalents are uuencode file name > file.uu and uudecode file.uu.
Byte-Accurate Encoding
Text is encoded as UTF-8 and files as raw bytes, so nothing is damaged
Automatic Round-Trip Check
Every encoding is decoded again and compared with your input
Exact Sizes and Checksums
Bytes in and out, the exact size change, SHA-256 and CRC-32
Forgiving Decoder
Stripped spaces, CRLF, extra characters, several files and begin-base64
Real File Download
Decoded binary files download with their original name
Standard Output
begin and end lines, backtick for zero, 45 bytes per line, LF or CRLF
Need something stronger for your accounts? Try our strong random password generator, or explore our full collection of security tools.
Frequently Asked Questions
1. What is UUEncode?
UUEncode (Unix-to-Unix encoding) is a way of writing binary data as plain text. It was widely used on Unix systems, in email and on Usenet to send programs and images through channels that only carried text. The result is a block of printable characters, usually wrapped in a “begin” line and an “end” line.
2. How does UUEncode work?
The data is cut into lines of up to 45 bytes. Each group of 3 bytes (24 bits) becomes 4 characters that each carry 6 bits, and every 6-bit value is shown as a printable character by adding 32 to it. Each line starts with a character that gives the number of bytes on the line, and a final line with a backtick marks the end of the data. Zero is written as a backtick instead of a space so that mail systems cannot strip it.
3. How does UUEncode differ from Base64?
Both turn 3 bytes into 4 characters, but they use different characters. UUEncode uses the printable ASCII range from space to underscore, starts every line with a length character and adds a begin line with a file name and permissions. Base64 uses A–Z, a–z, 0–9, + and /, and has no length characters. With 45 bytes per line UUEncode makes data about 38% larger; Base64 wrapped at 76 characters makes it about 35% larger. A variant called uuencode -m puts Base64 inside a begin-base64 block, and this page can read and write it.
4. Is UUEncode still used today?
Rarely. Base64 and MIME replaced it for email, and binary attachments or file downloads replaced it on Usenet. You still meet it in old email archives, some mainframe and Unix scripts, and the uuencode and uudecode commands in the sharutils package, so a decoder is useful when you find an old file.
5. Does this tool work with binary files and non-English text?
Yes. Text is first turned into UTF-8 bytes, so accents, Indian scripts and emoji survive, and files are read as raw bytes, so images, archives and programs are encoded without damage. When you decode, the result is shown as text if it is valid UTF-8 and otherwise as a hex preview with a button to download the file.
6. How does the decoder handle damaged or unusual input?
It accepts Windows and Unix line endings, text before the begin line, a missing end line, lines whose trailing spaces were stripped by a mail system, extra characters such as line checksums, several files in one block and the begin-base64 variant. When something looks wrong it decodes what it can and lists warnings, such as a line that is too short or a missing end line, so you can judge the result.
7. What are the SHA-256 and CRC-32 values?
They are checksums of the original data, shown after encoding and after decoding. Compare them with values you compute elsewhere, for example with sha256sum, to confirm that a file survived the trip unchanged. CRC-32 here is the same variant used by gzip and zip. The page also decodes its own output and compares it with your input as a round-trip check.
8. Is UUEncode a form of encryption?
No. Anyone can decode UUEncoded text, because it only changes how the data is written. If the content is private, encrypt it first and encode the encrypted result.
9. Can it handle large files?
Files up to 10 MB are accepted for encoding and 20 MB for decoding. Large results are shown as a preview, while Copy and Download always use the full result. For very large files, the uuencode and uudecode command-line tools are faster.
10. Is my data uploaded anywhere?
No. Everything runs in your browser, the page’s content security policy blocks outgoing network requests, no outside scripts are loaded, and none of what you enter is saved in cookies or local storage (the page only remembers your chosen site language).