# ronin-encode 1 "2023-02-01" Ronin "User Manuals" ## SYNOPSIS `ronin encode ` [*options*] [*FILE* ...] ## DESCRIPTION Encodes each character of the given data into a variety of formats. ## ARGUMENTS *FILE* The optional file to read and process. If no *FILE* arguments are given, input will be read from `stdin`. ## OPTIONS `-f`, `--file` *FILE* Optional file to process. `--string` *STRING* Optional string to process. `-M`, `--multiline` Process each line of input separately. `-n`, `--keep-newlines` Preserves newlines at the end of each line. `--base16` Base16 encodes the data. `--base32` Base32 encodes the data. `-b`, `--base64`[`=`*strict*\|*url*] Base64 encodes the data. If the `strict` or `url` option value is given, it will enable `strict` or `url` Base64 encoding mode, respectively. `-z`, `--zlib` Zlib compresses the data. `-g`, `--gzip` gzip compresses the data. `-c, `--c` Encodes the data as a C string. `-X`, `--hex` Hex encode the data (ex: `414141...`). `-H`, `--html` HTML encodes the data. `-u`, `--uri` URI encodes the data. `--http` HTTP encodes the data. `-j`, `--js` JavaScript encodes the data. `-S`, `--shell` Encodes the data as a Shell String. `-P`, `--powershell` Encodes the data as a PowerShell String. `--punycode` Encodes the data as Punycode. `-Q`, `--quoted-printable` Decodes the data as Quoted Printable. `--uuencode` uuencodes the data. `-R`, `--ruby` Encodes the data as a Ruby String. `-x`, `--xml` XML encodes the data. `-h`, `--help` Print help information. ## AUTHOR Postmodern ## SEE ALSO ronin-decode(1)