Reese Knowledgebase

How to decode a base64 string

View Kristian Reese's profile on LinkedIn


If you like this article, please +1 or Recommend via FB with the provided buttons above:

Article ID: 59
by: Reese K.
Posted: 10 Aug, 2012
Last updated: 10 Aug, 2012
Views: 992

How to decode a base64 string


perl -MMIME::Base64 -ne 'print decode_base64($_)' < file.txt > out

-or-

echo "MTA5MjhFYWdsZVJpdmVyUg==" | base64 -d -

This article was:   Helpful | Not Helpful
Prev   Next
Various tar/gzip one liners     crontab format

RSS