Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.