Demo to preview the plugin:
Live Demo: https://zeroqode-demo-12.bubbleapps.io/ocr
Introduction
Extract text from images or PDFs almost instantaneously with this powerful OCR - Convert Images no-code plugin. It now supports extracting receipts, tables, and invoices as well.
Prerequisites:
To interact with the plugin, you will need to obtain an API key from this link: https://ocr.space/ocrapi
To receive special offers and important updates please visit:
How to setup
- Create an Account and Get Your API Key
- Go to OCR.Space.
- Click Sign Up and create an account.
- After signing up, check your email. You will receive your API Key.
- Copy the API key.
- Configure the API Key in the Plugin
- Go to the Plugins tab in Bubble.
- Find OCR - Convert Images and PDF to Text in the list of installed plugins.
- In the API Key field, paste the key you received via email.
- Save the settings.
- Add the OCR Element to the Page
- Go to the Design tab in Bubble's editor.
- In the sidebar, search for OCR.Space.
- Drag and drop this element onto your page.
- Create a Workflow to Process Images or PDFs
- Go to the Workflows tab.
- Click Add an event → When a button is clicked (or another trigger of your choice).
- Click Add an action.
- Select Plugins → OCR.
- In the Input field, provide:
- A URL to the image/PDF, or
- Use a File Upload element to allow users to upload a document.
- Capture and Display the Extracted Text
- Add a Text element to the page.
- Open the properties of the text element.
- Click on the Dynamic Data button (database icon).
- Select OCR.Space 's Extracted Text.
- The extracted text will appear on the screen after processing.
- Use OCR Events
- "A OCR.Space Text Lines Done" → Triggers when the OCR finishes extracting text lines.
- "A OCR.Space Word Output Done" → Triggers when the extracted words are available.
- "A OCR.Space OCR Done" → Triggers when the OCR process is fully completed.
- Go to Workflows.
- Add an event: "A OCR.Space OCR Done".
- Choose an action, such as Displaying the extracted text in a field or Saving the result to the database.
The plugin provides three events for custom actions:
Example Usage:
Plugin Element Properties
OCR.Space
Element Actions
- OCR - Performs Optical Character Recognition (OCR) on an image or PDF to extract text.
Title | Description | Type |
File URL | URL | Text |
Language | Language | Text |
Receipt/Table/Invoice Mode? | This mode ensures line by line OCR. | Checkbox (yes/no) |
Endpoint | PRO plans OCR API endpoint. Add your endpoint if you have a OCR PRO plan. Default - free OCR API endpoint. | Text |
Exposed states
Title | Description | Type |
Output as Lines | Output as Lines | Text |
Output as Words | Output as Words | Text |
Output as Text | Output as Text | Text |
Word Count | Word Count | Number |
Output as Sentences | Extracted text output, structured as complete sentences. Useful for parsing documents where sentence structure matters. | Text |
Element Events
Title | Description |
Text Lines Done | OCR Done |
Word Output Done | Word Output Done |
OCR Done | OCR Done |