As the title already describes, I have a text file with base64-code which was originally a password protection *.7z file.

How do I proceed correctly to get the content from this file, under Windows?

My attempt so far was

  1. Decode Content of Text File in ASCII (with a simple Python 2.7 Script)

  2. Save Output as *.7z

  3. Try to open this File with 7-Zip

But that did not work. If i try to open the file 7-Zip tells me, "{Target File} is no Archive".

An example File


  • Why the downvote? – Smartis Oct 24 '16 at 14:08
  • Not my downvote, but likely because the question does not contain enough information to reproduce the problem. – a CVn Oct 24 '16 at 15:16
  • Added some working exampe File. – Smartis Oct 24 '16 at 16:28

You can use

certutil -decode base64encoded.7z decoded.7z

and then open the 7z file in 7Zip, enter the password etc. as usual.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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