Local-first · Bring your own key
Ollama PDF Translator
Translate PDFs with a cloud LLM — layout and graphics preserved.
Translate PDFs with a cloud LLM — layout and graphics preserved.
Translate PDFs on your own machine with Ollama. Nothing leaves your computer.
Install Ollama from ollama.com.
Pull a model:
ollama pull llama3.2
Clone the repo and install dependencies:
git clone https://github.com/emirbartu/ollama-pdf-translator.git && cd ollama-pdf-translator && uv sync
Translate a PDF from the command line:
python main.py input.pdf -s English -t Turkish -m llama3.2
Or launch the web UI:
uvicorn app:app — then open http://127.0.0.1:8000
This live demo runs on visitor-provided API keys. Want the full experience — local models, unlimited translations, total privacy? The whole project is open source:
View on GitHubClone it, pull a model with Ollama, and translate — free & private.