Base64 File Converter
128
Overview
The Nebula – Base64 File Converter lets you convert any file into a Base64 string — and back — entirely inside Bubble, without external APIs or backend workflows.
It is lightweight, fast, and fully executed in the browser.
How It Works
Encoding: converts uploaded files (or URLs) into clean Base64 strings.
Decoding: reconstructs files from Base64 strings, enabling direct display or download.
Supports images, PDFs, audio, videos, and any file type.
When to Use
Sending files via API in Base64 format.
Secure storage of images and attachments in the database.
Displaying files without traditional uploads.
Integrations with external systems that require Base64.
Benefits
No backend or intermediate servers required.
Better performance and security for sensitive data.
Fewer dependencies on external APIs.
Fast and reliable conversion in both directions.
Key Features
Bidirectional conversion (File ⇄ Base64).
Compatible with any file type.
100% client-side execution (no backend).
Ideal for REST or GraphQL API integrations.
Installation
In the Bubble editor, go to Plugins → Add plugins and install Nebula – Base64 File Converter.
Add the plugin action to the desired workflow (Encode or Decode).
How to Use
Encode file: choose “Encode File to Base64” and provide the file or URL.
Decode Base64: choose “Decode Base64 to File” and enter the Base64 string.
Use the result in displays, APIs, or databases.
Best Practices
Avoid converting very large files (>10MB) to prevent browser overload.
Clean Base64 strings before storing them in the database.
Prefer storing only the raw Base64 text (without the “data:image/...” header).
Troubleshooting
Corrupted file: ensure the Base64 string is complete and contains no line breaks.
Permission error: confirm the workflow can access the local file/URL.
Incomplete conversion: review the browser’s maximum payload limits.
Compatibility
Works on desktop and mobile.
Compatible with native Bubble workflows and APIs.
