Dave's Brain

Browse - Computer Tips - How do I decode a base64-encoded file?

Date: 2008apr16
Level: Beginner
OS: Linux

Q.  How do I decode a base64-encoded file?

A.  Use the base64 command like this:

base64 -d in.b64 > out.jpg
Where in.b64 is the file you want to decode and out.jpg will be the result. This is easier than using uudecode.

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.