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

# AtoB(1)

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

## NAME

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

## SYNOPSIS

**AtoB** *input-file* *output-file*

## DESCRIPTION

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

## OPTIONS

The following parameters are mandatory:

**lt;input-filegt;**\
\
     Specifies the path to the file containing the base-64 encoded ASCII data.

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

## EXAMPLES

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

```
$ AtoB ascii_data.pem binary_data.der
```

## SEE ALSO

**[BtoA(1)](/BtoA/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.
