Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My e-mail service provider blocks lots of attachments, but sends me a text attachment that has information such as the following:

    Content-Type: application/octet-stream; 
Content-Disposition: attachment; 
Content-Transfer-Encoding: base64
X-Attachment-Id: f_glf8g27u0


...and the text goes on for a while.

Is there any way I can convert this back to a meaningful file?


share|improve this question
up vote 1 down vote accepted

This attachment is encoded in Base64. From Wikipedia:

Base64 encoding schemes are commonly used when there is a need to encode binary data that needs be stored and transferred over media that are designed to deal with textual data. This is to ensure that the data remains intact without modification during transport

You just have to copy the data (i.e. the meaningless string) into an online Base64 decoder, like this one, or this one and then download the resulting file.

You can also download an offline decoder that will generate the file directy.

Obviously, you should name the file filename.dll. Mostly however, pictures in e-mails are Base64 encoded.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .