Link to the plugin page:
Demo to preview the plugin:
Introduction
The File Converter - Binary or Base64 plugin allows you to encode any text file to Binary string or Base64 format, and decode it back to a text file. The plugin can act as an input field or run within a workflow for seamless conversion. This no-code solution supports text file conversion only.
See Key Features
Note: When converting Binary or Base64 back to a text file, you must specify the file extension for the generated file.
Prerequisite
- Bubble Account: An active Bubble.io account is required to install and use the plugin.
- Plugin Installation: The plugin can be installed directly from the Zeroqode Plugin Store or from the Plugins section of your Bubble Editor.
- Your app has an element ID enabled (Bubble settings → General → Expose the option to add an ID attribute to HTML elements).
- For instructions on setting the ID attribute for a Bubble element, please refer to this https://forum.zeroqode.com/t/how-to-add-id-attribute-to-html-elements/469.
How to setup
Step 1: Installation
Step 2: Add the Plugin Element to Your Page
Step 3: Trigger the Conversion Process
Plugin Element Properties
Converter
Fields:
Title | Description | Type |
Input File | File to be converted | File (optional) |
Type | Conversion type: Base64 decode, Base64 encode, Binary encode, Binary decode | Dropdown |
Extension | Required for binary & base64 decode | Text (optional) |
Input data | Used when encoding; should be empty for decoding | Text (optional) |
Output filename | Used when decoding; should be empty for encoding | Text (optional) |
Element Actions
- Convert file
Title | Description | Type |
Input File | File to be converted | File (optional) |
Type | Conversion type: Base64 decode, Base64 encode, Binary encode, Binary decode | Dropdown |
File extension | Required for binary & base64 decode | Text (optional) |
Input data | Used when encoding; should be empty for decoding | Text (optional) |
Output filename | Used when decoding; should be empty for encoding | Text (optional) |
Exposed states
Title | Description | Type |
Output decoded file | The generated text file after decoding | File |
Output base64 string | The generated Base64 string | Text |
Output binary string | The generated Binary string | Text |
Element Events
Title | Description |
converting is finished | Triggered when conversion completes |