> ## Documentation Index
> Fetch the complete documentation index at: https://docs.alumio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# String: Base64 decode

> Decodes a base64 encoded string back to its original value.

export const FormField = ({property, label, required = false, diType, uiPatterns, children}) => {
  const patterns = Array.isArray(uiPatterns) ? uiPatterns : uiPatterns ? [uiPatterns] : [];
  return <div style={{
    margin: '1.5rem 0'
  }}>
      <div style={{
    display: 'flex',
    alignItems: 'baseline',
    flexWrap: 'wrap',
    gap: '0.5rem',
    marginBottom: '0.25rem'
  }}>
        <strong>{label}</strong>
        <span style={{
    fontSize: '0.7rem',
    fontWeight: 600,
    textTransform: 'uppercase',
    letterSpacing: '0.04em',
    color: required ? '#6241f5' : '#6b7280'
  }}>
          {required ? 'Required' : 'Optional'}
        </span>
      </div>

      <div>{children}</div>

      {diType || patterns.length > 0 ? <p style={{
    fontSize: '0.85rem',
    color: '#6b7280',
    marginBottom: 0
  }}>
          {diType ? <>
              See the <a href={`/references/${diType}`}>{diType}</a> reference.{' '}
            </> : null}
          {patterns.length > 0 ? <>
              Accepts a <a href={`/documentation/placeholders-and-patterns/patterns#${patterns[0]}`}>pattern</a>.
            </> : null}
        </p> : null}
    </div>;
};

Decodes a base64 encoded string back to its original value. Use this when a source system delivers a value in base64, for example a token or an identifier that was encoded for safe transport, and you need the readable original text back before you can use it. This is the exact reverse of the String: Base64 encode step. If the incoming value is not valid base64, the result may be unreadable rather than an error.

This documentation describes: [Schema](/schemas/mapper/string-base64-decode)

## Fields

This step has no settings. It takes the value it is pointed at and returns the decoded result.

## Sample data

| Field  | Value                     |
| ------ | ------------------------- |
| (none) | This step has no settings |

Input:

```json theme={null}
{ "code": "V29vbCBzY2FyZg==" }
```

Output:

```json theme={null}
{ "code": "Wool scarf" }
```

```json Configuration theme={null}
{
  "prototype": "string-base64-decode",
  "parameters": {}
}
```
