Search PDFs

Experimental

For finding clauses, dates, and page-cited passages across up to 3 selectable-text PDFs (5 MB, 20 pages) locally with EmbeddingGemma 2 on your device.

Up to 3 text PDFs, 5242880 bytes (5 MB) together, 20 pages, 65536 characters, and 64 passages. OCR is not available. A PDF with no embedded text is not searched.

AI actions stay off until a model is loaded.

Source passages

Tech Used

Gemma 4 E2B (onnx-community/gemma-4-E2B-it-ONNX @ 7c6d3d1d4092253ea241428e88312ab34bfa9c26) is published by Google DeepMind. The model card lists Apache 2.0. The linked Gemma terms page is the Apache License 2.0. This site does not ship the weights; Load fetches the pinned files. Gemma 4 terms · Model card

EmbeddingGemma 2 (onnx-community/embeddinggemma-2-ONNX @ daa72c51243991dfcaf9f9137d2c573d8f7790c0) is published by Google DeepMind. The model card at that revision lists Apache 2.0. Model card

This site build redistributes @huggingface/transformers 3.8.1 and @mlc-ai/web-llm 0.2.85. Both are Apache-2.0, and neither package includes a NOTICE file. The model weights are not in this build; Load fetches them in the browser. Transformers.js license · WebLLM license onnxruntime-web 1.30.0, including the WebAssembly files served from /search-ort/, matches the Microsoft ONNX Runtime v1.30.0 tag. That tag’s LICENSE is the MIT License, Copyright (c) Microsoft Corporation. The installed npm package does not include that file; this site serves the tagged text. ONNX Runtime license

Who it’s for
Researchers, paralegals, landlords, contractors, and analysts looking for a clause, date, name, or obligation across selectable-text PDFs that should stay off remote servers.
One use
Indexing up to 3 selectable-text PDFs (up to 5 MB and 20 pages total) and running a semantic or wording query to jump straight to the matching passage and page number.
What you can produce
Ranked source passages labeled with the exact file name and page number, plus an optional passage-grounded explanation (using Gemma 4 E2B only if you request and accept its separate download).
What stays on this device
Selected PDF files, extracted page text, embeddings (EmbeddingGemma 2), search queries, and passage matches stay in this browser. Scanned or image-only PDFs are not OCR’d, and model weights download only after Start.

More from DocsStayLocal

DocsStayLocal also keeps other document tools and guided workflows in this browser.

Step-by-Step Instructions

How to Use Search PDFs Locally

Indexes 1 to 3 selectable-text PDFs (up to 5 MB and 20 pages combined) in this browser. Scanned PDFs are not OCR’d, and search can miss matches.

1

Press Start to prepare search

Loads the pinned EmbeddingGemma 2 search model (about 207 MB on first use, reused from browser cache afterward).

2

Select up to 3 text PDFs & index

Pick 1 to 3 PDFs containing selectable text (up to 5 MB and 20 pages combined) and index them in browser memory.

3

Ask a question or search a phrase

Run your query to view ranked passages with exact file names and page numbers so you can read the surrounding text.

4

Verify on the page (or request Explain)

Search can miss matches. Always check the cited PDF page, and enable Explain these results only if you want a separate Gemma 4 E2B download.

Practical Applications

Common Use Cases for Search PDFs

Jump to cited pages across contracts, leases, manuals, or policy packets kept on your device.

Locate a lease, contract, or policy clause

Search notice periods, renewal terms, or exclusions across a text PDF packet without uploading client or tenancy agreements.

Cross-check dates or names across 3 files

Index up to 3 short text PDFs together to see which document and page mentions a specific person, date, or obligation.

Audit equipment manuals or specifications

Find maintenance intervals, part references, or safety notes inside selectable-text manuals on your device.

Generate an optional passage-cited summary

Once a search returns current matches, optionally accept the Gemma 4 E2B download to summarize only the retrieved passages.

Operational Considerations

Selectable-text PDFs only (no OCR)

Scanned or image-only PDFs are not searched because this tool does not run optical character recognition. Combined selection ceilings are 3 files, 5 MB, and 20 pages.

Separate consent for Explain these results

Retrieval uses EmbeddingGemma 2 (about 207 MB). Explain these results uses Gemma 4 E2B (about 3.13 GB), stays off until a search has matches, and asks before downloading.

Local Browser Architecture

Why Browser-Local Search PDFs Protection Matters

Model files download only after you press Start, and only when this browser does not already have them. Your text, audio, and results stay in this browser. 0 document-derived outbound bytes in tested scenarios. Loading the site and a model is normal web traffic.

0 document-derived outbound bytes in tested scenarios
Browser Session Execution
Normal web loading required
FAQ & Guidance

Search PDFs Frequently Asked Questions

Common questions about using Search PDFs in your browser session.

No. Search PDFs reads embedded, selectable PDF text only and does not perform OCR. For scanned invoices or receipts, use Invoice Data Export or Receipt Data Export instead.
Privacy & Architecture Design

Engineered for Browser-Local Processing

Cloud-based document services may require document upload to remote infrastructure. DocsStayLocal is designed so document processing occurs locally in your browser.

Local Browser Processing

Document compilation, layout arrangement, and field extraction execute locally in your web browser session.

0 Document-Derived Outbound Bytes

In qualification testing, document handling workflows generated 0 document-derived outbound bytes in tested scenarios.

Normal Web Loading

The site and application assets require a normal web connection to load. Document processing is designed to remain in your browser. This is not an offline guarantee, and it does not mean the browser makes no network requests.

Separated Network Traffic

Static web application assets load normally via standard HTTP, while document payload data remains strictly local.

Architecture Comparison: Cloud-Based Services vs. DocsStayLocal

CharacteristicCloud-Based Document ServicesDocsStayLocal (Local Browser Design)
Document Processing Location
May require document upload to remote servers
Processed locally in your browser
Document Data Egress
Document payload sent over network
0 document-derived outbound bytes in tested scenarios
Server Document Storage
May store files in cloud infrastructure
No server document storage required
Queueing & Rendering
Depends on remote network and server load
Direct client-side processing without server queueing
Application loading
Requires continuous network connection to server
Site and application assets require normal web loading. Document processing is designed to stay in the browser.

Usage telemetry and platform logs

Document processing is designed to stay in your browser. DocsStayLocal also sends limited first-party usage telemetry about which tools and pages are used. It does not intentionally include document contents, filenames, OCR text, or extracted document values. Those usage records are kept for about 30 days. Ordinary hosting logs can include an IP address and User-Agent, and those logs are kept for 30 days. The application does not intentionally log request bodies. No long-term analytics log export is configured.