MARKETPLACE
PLUGINS
PDF VIEWER OCR SEARCH PRO
PDF Viewer OCR Search Pro logo

PDF Viewer OCR Search Pro

Published August 2026
   •    Updated August 2026

Plugin details

A PDF viewer with real search — including scanned pages and printed forms that every other PDF plugin silently fails on.

Point it at a PDF, type a word, and it finds it. If a page has no searchable text
layer (a scan, a photographed contract, a printed form), the viewer falls back to
on-device OCR and searches that page anyway. Matches are highlighted right on the
page and you can jump through them one by one.

WHAT MAKES IT DIFFERENT

Most PDF search relies on the document's text layer. Real-world documents often
do not have one: a scanned invoice, a signed contract, a tax form printed from a
website. Those documents look full of text but contain none. This plugin detects
that case and reads the page with OCR instead.

Every other OCR option on the marketplace sends your document to an external
service and charges per page. This one does not. Recognition runs in the
visitor's own browser using the open-source Tesseract engine.

FEATURES

- Search across the whole document, with hit-by-hit navigation
- Automatic OCR fallback on pages with no text layer
- Matches highlighted in place, current match emphasised
- Page navigation with a jump-to-page box
- Built-in control bar — nothing to wire up
- Adjustable render quality: trade sharpness for speed on long documents
- OCR language selectable (English, Turkish, German, French, Spanish and more)
- Works with Bubble file uploads or any public PDF URL

FULL WORKFLOW CONTROL

Element actions:  Search · Next match · Previous match · Go to page · Clear search
Element events:   the document is loaded · the search finishes · no results found ·
                 the page changes · an error occurs
Element states:   current_page · total_pages · match_count · current_match ·
                 is_loading · is_searching · last_error

Build your own search box, show "match 3 of 17" anywhere on the page, or trigger a
workflow when a search returns nothing.

PRIVACY AND COST

No API key. No external service. No per-page fee. The document never leaves the
visitor's browser — which also means it works for documents you are not allowed
to upload to a third party.

COMPATIBILITY

Built for Bubble web apps (desktop, tablet and mobile browsers).
Not compatible with Bubble Native Mobile apps, which run on React Native and have
no browser DOM.

NOTE ON SPEED

Text-layer search is instant. OCR takes a few seconds per page and only runs on
pages where the text layer came up empty, so a normal document is never slowed
down by it. The OCR engine is downloaded once, on first use.

DEMO
Live demo:   https://emrejsx.bubbleapps.io/version-test/pdfsearch?debug_mode=true
Demo editor: https://bubble.io/page?id=emrejsx&tab=Design&name=pdfsearch&type=page&elements=bTGOu

$30

One time  •  Or  $7/mo

stars   •   0 ratings
0 installs  
This plugin does not collect or track your personal data.

Platform

Web

Contributor details

Emre Yılmaz logo
Emre Yılmaz
Joined 2026   •   5 Plugins
View contributor profile

Instructions

SETUP — 3 STEPS
1. Drag the "PDF Search Viewer" element onto your page.
  900 x 700 px is a good starting size.

2. Fill in "PDF URL" — a Bubble file upload (FileUploader A's value), a database
  field, or any public PDF link.

3. Preview the page. Type a word in the built-in search box and press Enter.

OPTIONS

PDF URL              The PDF to display. Required.
Render quality       1 = fast, 1.4 = balanced (default), 2-3 = sharp but slower.
Enable OCR fallback  ON = pages with no text layer are read with OCR.
                    Turn OFF if you only ever handle digital PDFs and want
                    every search to be instant.
OCR language code    Tesseract language code. eng (default), tur, deu, fra, spa,
                    ita, por, rus, nld, pol and many more. For a document in two
                    languages combine them with a plus sign, e.g. eng+tur.
Highlight color      Colour of a match.
Active highlight     Colour of the match you are currently on.
Show controls        OFF hides the built-in bar if you prefer your own buttons.
Background color     Colour behind the page.

USING YOUR OWN SEARCH BOX

Set "Show controls" to OFF, then in a workflow:
 Element Actions > PDF Search Viewer A > Search        (takes the search term)
 Element Actions > PDF Search Viewer A > Next match
 Element Actions > PDF Search Viewer A > Previous match
 Element Actions > PDF Search Viewer A > Go to page    (takes a page number)
 Element Actions > PDF Search Viewer A > Clear search

To show progress, put a Text element with:
 PDF Search Viewer A's current_match / PDF Search Viewer A's match_count

EVENTS

 "the document is loaded"  — the PDF has finished opening
 "the search finishes"     — a search completed with at least one match
 "no results found"        — a search completed with zero matches
 "the page changes"        — the visible page changed
 "an error occurs"         — read the reason from the last_error state

HOW THE OCR FALLBACK WORKS

For each page the plugin first searches the PDF's text layer. If the term is not
found there and OCR is enabled, that single page is rendered and read with the
Tesseract engine, then searched again. Pages that already contain the term are
never sent through OCR, so digital documents stay fast.

This matters for scanned documents and for forms printed from a web page: those
files often contain a little text (the values someone typed) while the printed
labels are part of a background image. A text-layer-only search finds the values
but misses every label.

NOTES

- The PDF must be reachable by the visitor's browser. Files uploaded to Bubble
 work out of the box. If an external PDF stays blank, that server is most likely
 missing CORS headers — check the last_error state.
- The OCR engine (about 2 MB) is downloaded the first time it is needed, then
 cached by the browser.
- OCR accuracy depends on scan quality. Clean 300 dpi scans read very well;
 low-resolution photographs read less well.
- Raise "Render quality" if highlights look slightly offset on text-layer pages.

DEMO
Live demo:   https://emrejsx.bubbleapps.io/version-test/pdfsearch?debug_mode=true
Demo editor: https://bubble.io/page?id=emrejsx&tab=Design&name=pdfsearch&type=page&elements=bTGOu

Types

This plugin can be found under the following types:
Element   •   Event   •   Action

Categories

This plugin can be found under the following categories:

Resources

Support contact
Tutorial

Rating and reviews

No reviews yet

This plugin has not received any reviews.
Bubble