# Semantic Search

> Search a PDF or text by meaning instead of exact words, with a multilingual embedding model running in your browser. Finds passages that keyword search misses.

- URL: https://www.tooljig.com/ai-semantic-search
- Category: [On-device AI](https://www.tooljig.com/category/ai.md)
- Runs: On-device AI in the browser (WebGPU or WebAssembly); nothing uploaded
- Price: free, no account needed

## What it does

Ask “what happens if a payment is late?” and find the clause about interest on overdue invoices even though it never says “late”. The document is split into passages and each is turned into a vector by IBM's Granite Embedding 97M model on your device; your query is matched by similarity. The model runs inside your browser tab. Its weights download once from Hugging Face and can stay on your device; your text and files are never uploaded.

## How to use it

1. Drop a PDF or text file.
2. Wait for indexing (a few seconds per hundred passages).
3. Search in your own words.

## Good to know

- Works across languages: a French query can find an English passage.
- To get answers rather than passages, use Chat with PDF.

## FAQ

### Is my data sent to a server or to an AI company?

No. Inference runs locally with ONNX Runtime in your browser. The only network traffic is the one-time model download from Hugging Face; nothing you type or open is transmitted.

### What is semantic search?

Search based on meaning. Text is mapped to vectors so that passages about the same idea sit close together, whatever words they use.

### How big is the download, and does it happen every time?

The first run downloads the model once (about 250–600 MB depending on the model; the exact size is shown before you start). It is kept in your browser's storage by default, so later visits load it in seconds and work offline. You can turn that off or delete stored models on the model manager page.

## Guides

- [How to chat with a PDF without uploading it](https://www.tooljig.com/blog/how-to-chat-with-a-pdf-privately.md): Ask questions about a long PDF and get answers with page citations from an AI model that runs in your browser, so the document never leaves your device.

## Related tools

- [Chat with PDF](https://www.tooljig.com/chat-with-pdf.md): Ask questions about a PDF and get answers with page citations from an AI that runs in your browser. Long documents supported, nothing is uploaded.
- [AI Document Summarizer](https://www.tooljig.com/ai-summarizer.md): Summarize long PDFs, reports and articles with an AI model that runs in your browser. Short, medium or detailed, with an optional focus. Nothing uploaded.
- [PDF Viewer](https://www.tooljig.com/pdf-viewer.md): Open and read a PDF in your browser: page thumbnails, a large page view with keyboard navigation, page sizes and count. Private, nothing is uploaded.
