base64 Command Examples

Encode or decode file or stdin to/from base64, to stdout. More information: https://manned.org/base64.

base64 {{path/to/file}}

base64 {{-w|--wrap}} {{0|76|...}} {{path/to/file}}

base64 {{-d|--decode}} {{path/to/file}}

{{command}} | base64

{{command}} | base64 {{-d|--decode}}