Encode/Decode Base - Convert Files with basenc | Online Free DevTools by Hexmos

Convert files and standard input with basenc. Easily encode to base32 or base64 formats or decode them back. Free online tool, no registration required.

basenc

Encode or decode file or stdin using a specified encoding, to stdout. More information: https://www.gnu.org/software/coreutils/manual/html_node/basenc-invocation.html.

  • Encode a file with base64 encoding:

basenc --base64 {{path/to/file}}

  • Decode a file with base64 encoding:

basenc {{[-d|--decode]}} --base64 {{path/to/file}}

  • Encode from stdin with base32 encoding with 42 columns:

{{command}} | basenc --base32 {{[-w|--wrap]}} 42

  • Encode from stdin with base32 encoding:

{{command}} | basenc --base32