base64(1) BSD General Commands Manual base64(1)NAMEbase64 — Encode and decode using Base64 representation
SYNOPSISbase64 [-d | -h | -v | -D] [-b count] [-i input_file] [-o output_file]
DESCRIPTIONbase64 encodes and decodes Base64 data, as specified in RFC 4648. With no
options, base64 reads raw data from stdin and writes encoded data as a
continuous block to stdout.
OPTIONS
The following options are available:
-b count
--break=count Insert line breaks every count characters. Default
is 0, which generates an unbroken stream.
-d
--debug Print verbose log messages during processing.
-D
--decode Decode incoming Base64 stream into binary data.
-h
--help Print usage summary and exit.
-i input_file
--input=input_file Read input from input_file. Default is stdin; pass‐
ing - also represents stdin.
-o output_file
--output=output_file
Write output to output_file. Default is stdout;
passing - also represents stdout.
-v
--version Print build version and exit.
SEE ALSOopenssl(1), wikipedia page ⟨http://en.wikipedia.org/wiki/Base64⟩, RFC
4648 ⟨http://tools.ietf.org/html/rfc4648⟩
Mac OS X 10.7 February 8, 2011 Mac OS X 10.7