---
name: "BtoA"
section: "1"
platform: "linux"
package: "pki-tools"
version: "10.10.2-3"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/BtoA"
---

# BtoA(1)

Convert binary base-64 encoded data to ASCII base-64 encoded data.

## NAME

BtoA  - Convert binary base-64 encoded data to ASCII base-64 encoded data.

## SYNOPSIS

**BtoA** *input-file* *output-file*

## DESCRIPTION

The **BtoA** command provides a command-line utility used to convert binary base-64 encoded data to ASCII base-64 encoded data.

## OPTIONS

The following parameters are mandatory:

**lt;input-filegt;**\
\
     Specifies the path to the file which contains the base-64 encoded binary data.

**lt;output-filegt;**\
\
     Specifies the path to the file where the utility should write the ASCII output.

## EXAMPLES

This example command takes the base-64 binary data in the binary\_data.der file and writes the ASCII equivalent of the data to the ascii\_data.pem file:

```
$ BtoA binary_data.der ascii_data.pem
```

## SEE ALSO

**[AtoB(1)](/AtoB/1.md)**, **[pki(1)](/pki/1.md)**

## AUTHORS

Matthew Harmsen lt;mharmsen@redhat.comgt;.

## COPYRIGHT

Copyright (c) 2016 Red Hat, Inc. This is licensed under the GNU General Public License, version 2 (GPLv2). A copy of this license is available at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
