UiPath Documentation
studio-web
latest
false
Studio Web user guide

Base64 to File

Convert a Base64-encoded string into a file using a native activity in the Studio Web API workflow designer.

The Base64 to File activity converts a Base64-encoded string into a file directly in the API workflow designer, without writing custom JavaScript code.

Use it when a step in your workflow receives a file as an inline Base64 string, for example inline image or audio data returned by an AI model, and you need a file to pass to a later activity.

Using the Base64 to File activity

To add a Base64 to File activity to your workflow:

  1. On your API workflow designer canvas, select the plus (+) icon. The Add activity menu appears.
  2. Select More ..., then Base64 to File.
  3. In the Properties panel, configure the following fields:
    • Base64 - Enter a base64 file or a raw base64 string to convert to a file.
    • File name - Enter an optional name for the created file.
    • MIME type - Enter an optional MIME type for the created file.
  4. Debug the workflow to execute the activity and generate output fields for later use.
  • Using the Base64 to File activity

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated