Base64 Encode/Decode - Convert Files Online | Online Free DevTools by Hexmos
Base64 encode and decode files with Base64. Easily convert data to and from Base64 format for secure data transfer. Free online tool, no registration required.
base64
Encode or decode file or
stdinto/from base64, tostdoutor another file. More information: https://keith.github.io/xcode-man-pages/bintrans.1.
- Encode a file to
stdout:
base64 {{[-i|--input]}} {{path/to/file}}
- Encode a file to the specified output file:
base64 {{[-i|--input]}} {{path/to/input_file}} {{[-o|--output]}} {{path/to/output_file}}
- Wrap encoded output at a specific width (
0disables wrapping):
base64 {{[-b|--break]}} {{0|76|...}} {{path/to/file}}
- Decode a file to
stdout:
base64 {{[-d|--decode]}} {{[-i|--input]}} {{path/to/file}}
- Encode from
stdintostdout:
{{command}} | base64
- Decode from
stdintostdout:
{{command}} | base64 {{[-d|--decode]}}