# base32 > Encode or decode file or `stdin` to/from Base32, to `stdout`. > More information: . - Encode a file: `base32 {{path/to/file}}` - Decode a file: `base32 --decode {{path/to/file}}` - Encode from `stdin`: `{{somecommand}} | base32` - Decode from `stdin`: `{{somecommand}} | base32 --decode`