← Back to search

Decode a Base64-Encoded File

credentialstool

Summary

Decodes a Base64-encoded file (e.g. an obfuscated password) back to plaintext.

Walkthrough

Credentials and secrets are often stored Base64-encoded. Use the base64 utility with -d to decode them back to plaintext.

Steps

  1. Point base64 -d at the encoded file to print the decoded contents.

``bash base64 -d password.txt ``

Commands

bash

base64 -d password.txt