Favicon of Translate Books With LLMs

Translate Books With LLMs

An open-source AI book translator that supports EPUB, PDF, DOCX, TXT and SRT, with local models through Ollama and optional cloud providers.

Alternative to:

Translate Books With LLMs translates books, documents and subtitles using a local or cloud model. It's for readers and translators working with long texts who need formatting and terminology to carry through the translation.

  • Document formats: Translate EPUB, PDF, DOCX, TXT and SRT files, with preservation of EPUB styles and structure and SRT subtitle timing.
  • Long translations: The app keeps context between text segments and saves progress so interrupted jobs can resume.
  • Glossaries and style: Use reusable writing styles drawn from sample books or your own instructions, or let the app derive a glossary and style from the document.
  • Text refinement: Optional OCR and typography cleanup addresses source-text problems, while a second pass can refine the translation's literary style.

The app runs locally on Windows and macOS with a browser interface, and also has a command-line interface. Local backends include Ollama and OpenAI-compatible servers such as llama.cpp, LM Studio, vLLM and LocalAI. Cloud choices include OpenAI, Gemini, Mistral, DeepSeek, NVIDIA NIM, OpenRouter and Poe; using them sends translation text to the selected service.

The project is open source under AGPL-3.0. Several devices can connect to one server, but it has no separate user accounts: connected browsers share translation progress, completed files and job history.

Similar to Translate Books With LLMs