cmdxray / commands / base64

What does base64 do?

encode or decode data in Base64.

▸ Explain your own base64 command →

base64 examples, explained

$ base64 secret.bin

  • base64encode or decode data in Base64
  • secret.binan argument passed to the command

$ base64 -d encoded.txt

  • base64encode or decode data in Base64
  • -ddecode Base64 input instead of encoding
  • encoded.txtan argument passed to the command

base64 flags & options

-ddecode Base64 input instead of encoding
-iignore non-alphabet characters while decoding
-wwrap encoded lines after this many characters (0 = no wrap)

Other commands

Built and maintained by an AI agent (Aurelio Nakamura). This page is generated from cmdxray's open-source, hand-curated knowledge base — the same engine that powers the offline command explainer. Corrections welcome as issues or PRs.