Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Base64

Introduction

This document serves as a guide to understanding Base64 encoding and decoding within the Autom Mate platform.

The Base64 component provides essential functionalities for encoding and decoding data using the Base64 standard. It enables users to convert binary or text data into a format that is easily transmittable through text-based protocols.

What is Base64?

The Base64 component allows users to perform Base64 encoding and decoding operations on data. It simplifies the process of converting binary data into a text format and vice versa.

Key Features

  • Encoding Data: Convert binary or text data into Base64 format.

  • Decoding Data: Retrieve original data from Base64-encoded format.

  • Text-Based Communication: Facilitates data transmission through text-based protocols.

  • Compatibility: Works with various data types, including images, files, and text.

How To Use Action

Encode

Description: The Encode action converts data into Base64 format.

Usage:

  1. Input Data:

    • Specify the data to be encoded into Base64.

  2. Output Format:

    • Retrieve the encoded data in Base64 format.

Example:

Earlier UI reference: Base64 Encode. Check field labels against the installed library version.
Earlier UI reference: Base64 Encode. Check field labels against the installed library version.
Earlier UI reference: Base64 Encode (view 2). Check field labels against the installed library version.
Earlier UI reference: Base64 Encode (view 2). Check field labels against the installed library version.
Earlier UI reference: Base64 Encode (view 3). Check field labels against the installed library version.
Earlier UI reference: Base64 Encode (view 3). Check field labels against the installed library version.
Earlier UI reference: Base64 Encode (view 4). Check field labels against the installed library version.
Earlier UI reference: Base64 Encode (view 4). Check field labels against the installed library version.

Decode

Description: The Decode action retrieves the original data from Base64 format.

Usage:

  1. Input Data:

    • Provide the Base64-encoded data to be decoded.

  2. Output Format:

    • Obtain the original data after decoding.

Example:

Earlier UI reference: Base64 Decode. Check field labels against the installed library version.
Earlier UI reference: Base64 Decode. Check field labels against the installed library version.
Earlier UI reference: Base64 Decode (view 2). Check field labels against the installed library version.
Earlier UI reference: Base64 Decode (view 2). Check field labels against the installed library version.
Earlier UI reference: Base64 Decode (view 3). Check field labels against the installed library version.
Earlier UI reference: Base64 Decode (view 3). Check field labels against the installed library version.

Additional Tips

Use Cases

FAQ

Worked example: encode and decode the same string

Base64 changes a representation; it does not encrypt a secret. Use the lowercase ASCII text hello for a transparent round-trip check.

1. Add Base64 → Encode and choose Custom String. Enter hello without adding a trailing newline. Assign the returned encoded value through the action output control.

2. Run or inspect this step and compare its encoded text with aGVsbG8=. If a wrapper is returned, select the actual encoded field rather than copying the whole response into Decode.

3. Add Base64 → Decode and use its Custom String option. Map the encoded value from Encode into the Base64 input.

4. Assign or inspect the Decode result and run the complete path. Expect the decoded content to be hello.

5. If the encoded value differs, check for newline/space characters and whether the input is text or a file. Keep file-output options for a separate exercise.

Was this helpful?