
Web Scripts & Software
DEV3 Chat with PDF (Private, In-Browser) — Source Code (React + Tailwind)
from $20$29
Loading…
Business tool
Your document is read and indexed inside this tab and is never uploaded. The language model and the optional embedding model run on your device and are downloaded once from public model hosts. Buy the source code: $29 Regular / $69 Extended
Checking whether this browser can run a local model...
Open a document on the left (or press "Try an example") to start asking questions.
The page you click in an answer opens here, with your search words highlighted.
Need Chat with PDF (Private, In-Browser) as a full app for your business? Your own branding, your own data, your own users. Built in about a week, from $99. Send your requirements or SOW; you get a fixed quote and a delivery date.
The chat with pdf (private, in-browser) stays free to use online. If you want the code to run, edit and ship in your own project, get the full source from the DEV3 Marketplace. Instant download, 6 months of support.
Run the whole business in one ready-made app. Buy once, own the source, and try each one live first.

Web Scripts & Software
from $20$29

Enterprise SaaS Starters
from $69$99

Enterprise SaaS Starters
from $69$99

Web Scripts & Software
from $69$99

Web Scripts & Software Mobile app
from $69$99

Web Scripts & Software
from $69$99

Web Scripts & Software
from $69$99

Web Scripts & Software
from $20$29
Most "chat with PDF" sites upload your file to a server. This tool keeps it on your device. It reads the text in your browser, finds the right passages for each question and, if you load a local model, writes an answer with page citations.
The document is cut into passages of up to 900 characters, each remembering its page. BM25, the ranking used by search engines, scores passages by how rare and frequent your question words are. The optional semantic index turns every passage into a vector with the all-MiniLM-L6-v2 model and compares meaning by cosine similarity. When both are on, the two rankings are merged with reciprocal rank fusion. The index is saved in your browser by file fingerprint, so reopening the same file is instant.
A small local model reads about 4,000 characters of context per question, so it answers best when the answer sits in a few passages. For questions that need the whole document, use Summary or Key points. Scanned PDFs need OCR first, and tables can lose their layout when extracted as text.
No. The text is extracted in your browser, split into passages and searched locally. The model that writes answers runs on your own GPU. Only open model files are downloaded, and only after you click. Contracts, medical reports and company documents can be used safely.
The tool finds the passages most related to your question, labels each with its page number and gives only those passages to the model. The model must cite the page tags, such as [p3]. Each citation becomes a button that opens the page with your search words highlighted. If the model cites a page it was not shown, that chip turns red so you can check it.
No. Keyword search with BM25 ranking, highlighted passages and the key-points mode work instantly with no download. The semantic index (a 25 MB embedding model) helps when you ask in different words than the document uses. The local language model writes full answers and summaries.
The model is told to answer only from the passages it is given. If the best passages do not contain the answer, it says so instead of guessing. Try asking with words that appear in the document, build the semantic index, or check the Search results below the answer.
A scan is a picture with no text layer, so there is nothing to read. Run it through the PDF OCR tool first and open the result here.
Files up to 60 MB and the first 400 pages are read. The model sees about 4,000 characters of the best passages per question, so very long documents are handled by search first, then answered from the top passages. Summaries read long documents in parts.