# tf.io.decode_base64

<br />

Decode web-safe base64-encoded strings.

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

[`tf.compat.v1.decode_base64`](https://www.tensorflow.org/api_docs/python/tf/io/decode_base64), [`tf.compat.v1.io.decode_base64`](https://www.tensorflow.org/api_docs/python/tf/io/decode_base64)

<br />

    tf.io.decode_base64(
        input: _atypes.TensorFuzzingAnnotation[_atypes.String], name=None
    ) -> _atypes.TensorFuzzingAnnotation[_atypes.String]

Input may or may not have padding at the end. See
[EncodeBase64](https://www.tensorflow.org/api_docs/python/tf/io/encode_base64)
for padding. Web-safe means that input must use - and _ instead of + and /.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `input` | A `Tensor` of type `string`. Base64 strings to decode. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A `Tensor` of type `string`. ||

<br />