Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

LLM Translator

Joseph KimJoseph Kim6k downloads

Translate selected text in Obsidian's native PDF reader with local and cloud translation services.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates14

Features • Quick Start • Recommended Settings • Usage Guide • Other Services • Windows Notes • FAQ • Development

A local LLM-powered translation plugin for Obsidian, supporting real-time text selection translation in PDF and Markdown files.

LLM Translator Screenshot


Features

📌 Multiple Translation Sources

  • Local LLM (Ollama) — Private, offline, unlimited usage
  • Cloud API (OpenAI-Compatible) — Connect DeepSeek, OpenRouter, and more
  • Google Translate / Bing Translate — No config needed, one-click switch

📄 Multi-format Document Support

  • PDF Documents — Default support, auto-translate on selection
  • Markdown Documents — Enable "Global" mode in settings

🎯 Smart Interaction

  • Auto-popup translation window on text selection
  • Sidebar translation panel for manual input or the current selection
  • Copy / Retry / One-click language switch
  • Custom translation prompt for professional needs
  • Translate between English, German, French, Turkish, Japanese, Simplified Chinese, Persian (Farsi), Spanish, and Korean

🌐 Multi-language Interface

  • Automatically follows Obsidian system language
  • Supports Chinese, English, German, French, Turkish, and Japanese interface

✏️ Native PDF Highlight Annotations

  • Persistent highlights — Written as standard PDF annotations, visible across all PDF readers
  • 5 colors — Yellow, Red, Blue, Green, Purple; configurable default
  • Highlight notes — Click any highlight to attach a note, stored in the PDF
  • Remove highlights — Select any part of a highlight and use the eraser button in the translation popup; every highlight touched by the selection is removed
  • Highlights saved before this change may span several independent PDF annotations; the eraser removes only the intersecting lines in those older highlights.
  • Toggle & undo — Reapply the same color to remove a selection, Cmd+Z / Ctrl+Z to undo

Quick Start

# 1. Install Ollama (macOS / Linux)
curl -fsSL https://ollama.com/install.sh | sh

# 2. Pull Tencent Hy-MT3-1.8B (Q4_K_M) and give it a short name
ollama pull hf.co/tencent/Hy-MT3-1.8B-GGUF:Q4_K_M
ollama cp hf.co/tencent/Hy-MT3-1.8B-GGUF:Q4_K_M hy-mt3-1.8b-q4:latest

# 3. After installing the plugin, select Local LLM in settings
#    Enter endpoint http://localhost:11434 and select the downloaded model
#    Click Test to verify connection

💡 Windows Users: Download the installer from the Ollama website. Ollama will run automatically in the background after installation.

When upgrading to 0.5.5, the previous default model selection moves to Hy-MT3. Run the model setup commands above on the machine running Ollama before translating. Tencent model card

Install Plugin

Download and install via Terminal:

# Create plugin directory
mkdir -p YourVault/.obsidian/plugins/llm-translator

# Download Release files
curl -sL https://github.com/KimFischer99/Obsidian-LLM-Translator/releases/latest/download/main.js \
  -o YourVault/.obsidian/plugins/llm-translator/main.js
curl -sL https://github.com/KimFischer99/Obsidian-LLM-Translator/releases/latest/download/manifest.json \
  -o YourVault/.obsidian/plugins/llm-translator/manifest.json
curl -sL https://github.com/KimFischer99/Obsidian-LLM-Translator/releases/latest/download/styles.css \
  -o YourVault/.obsidian/plugins/llm-translator/styles.css

Replace YourVault with your Obsidian vault path. Restart Obsidian and enable LLM Translator in Settings → Community plugins.


Recommended Settings

After installing the plugin, configure as follows:

General Settings

Setting Recommended Value
Translation scope Global
Auto-translate selected text Enabled
Enable reader selection popup Enabled

Service Settings

Setting Recommended Value
Translation service Local LLM
Local model endpoint http://localhost:11434
Model name hy-mt3-1.8b-q4:latest
Source language Auto
Target language 简体中文

Advanced Settings

Setting Recommended Value
Max selection length 5000
Selection trigger delay 350ms
Request timeout 30000ms
Top K 20
Top P 0.6
Repeat Penalty 1.05
Num Predict 4096

Usage Guide

Basic Operations

  1. Auto-translate — Select text in PDF or Markdown, translation popup appears automatically
  2. Sidebar — Click the language icon on the left toolbar to open the right-side translation panel
  3. Translate from sidebar — Enter text directly, or reuse the current PDF/Markdown selection, then click Translate

Translation Scope

  • Global — Both PDF and Markdown support selection translation
  • PDF only — Only enable in PDF files

The default scope is Global.

Sidebar Features

  • Translation service switch — Quickly switch Local LLM / Cloud API / Google / Bing
  • Language selection — Set source and target languages
  • Manual input / current selection — Type text directly or reuse the latest document selection
  • Auto-Trans — Toggle auto-translation
  • Copy — Copy source (Raw), translation (Result), or Both
  • Clear — Clear current translation history

Custom Prompt

Modify the translation prompt in Settings → Advanced → Custom prompt:

Translate the following academic text. Preserve technical terminology,
citations, and formulas. Output only the translation.

Other Translation Services

Cloud API (OpenAI-Compatible)

Supports any OpenAI-compatible API provider:

Configuration Description
API URL Provider's endpoint
API Key Provider's authentication key
Model name Provider's model identifier

llama.cpp (llama-server)

The Local LLM setting uses Ollama's /api/chat protocol. To connect llama-server, use Cloud API → OpenAI Compatible, which calls /v1/chat/completions:

llama-server -m /path/to/model.gguf --alias translator-local --host 127.0.0.1 --port 8080

In Settings → Service, choose Cloud API and enter:

Setting Value
API URL http://127.0.0.1:8080/v1 (base URL; do not add /chat/completions)
Model name translator-local (the --alias value)
API Key Create a SecretStorage entry containing no-key-required if the server has no --api-key; otherwise use its real key. The plugin requires a nonempty value.

Click Test connection. See the llama.cpp server documentation for model and server options.

For Hy-MT3-1.8B, use --alias Hy-MT3-1.8B --jinja -c 8192 with its GGUF and enter Hy-MT3-1.8B as the model name.

Google Translate / Bing Translate

No configuration required. Select directly from the translation service dropdown.

⚠️ Free translation services have rate limits. For heavy usage, switch to local models or cloud APIs.

Privacy and network access

  • Local LLM sends selected text and the translation prompt to the configured Ollama endpoint. With the default http://localhost:11434 endpoint, the request stays on this computer; a custom remote endpoint sends it over the network.
  • Cloud API sends selected text, the translation prompt, language settings, and model identifier to the API URL you configure. The provider may retain or process this data under its own policy.
  • When Cloud API points to 127.0.0.1, such as the llama.cpp example above, the request stays on this computer.
  • Google Translate / Bing Translate send selected text and language settings to Google or Microsoft translation services.
  • Cloud API keys are selected or created through Obsidian SecretStorage; data.json stores only the selected secret ID, not the key value.

LLM Translator 0.5.1 requires Obsidian 1.11.4 or later. Obsidian's version resolver can keep older installations on plugin 0.3.5.


Windows Notes

Ollama Installation

  • Download the Windows installer from the Ollama website
  • Runs automatically in the background after installation
  • Port is the same as macOS: http://localhost:11434
  • If connection fails, check Windows Firewall settings

URL Format

  • Use forward slashes /: http://localhost:11434 (correct)
  • Do not use backslashes: http://localhost:11434\ (wrong)

FAQ

Connection test failed?

  1. Confirm Ollama is running (there should be an Ollama icon in the taskbar)
  2. Try accessing http://localhost:11434 in your browser to verify
  3. Check if another program is using port 11434

Translation popup not showing?

  • Confirm "Auto-translate selected text" and "Enable reader selection popup" are enabled
  • Try restarting Obsidian

Markdown files won't translate?

  • Set "Translation scope" to "Global"

Development

# Install dependencies
npm install

# Development mode (watch for file changes)
npm run dev

# Production build
npm run build

# Automated behavior tests
npm test

After building, copy main.js, manifest.json, and styles.css to:

YourVault/.obsidian/plugins/llm-translator/

License

MIT License © 2026

HealthExcellent
ReviewSatisfactory
About
Translate selected text in PDFs and Markdown in real time using local LLMs, cloud APIs, or Google/Bing. Open a sidebar for manual input, switch services or languages, copy or retry translations, and set custom prompts while keeping data local with offline models.
AIPDFMarkdown
Details
Current version
0.5.5
Last updated
2 hours ago
Created
6 months ago
Updates
14 releases
Downloads
6k
Compatible with
Obsidian 1.11.4+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
Joseph KimJoseph Kimkimfischer99
github.com/KimFischer99
GitHubkimfischer99
  1. Community
  2. Plugins
  3. AI
  4. LLM Translator

Related plugins

Karpathy LLM Wiki

Karpathy's LLM Wiki implementation plugin for Obsidian - turns notes and PDFs into a linked, LLM-powered knowledge base with entity pages, concept pages, graph-powered Q&A, and local-first privacy.

Image in Editor

View Images, Transclusions, iFrames and PDF Files within the Editor without a necessity to switch to Preview.

Claudian

Embeds Claude Code/Codex and other local Agents as AI collaborators in your vault.

Linter

Format and style your notes. Linter can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular Markdown contents like list, italics, and bold styles; and more with the use of custom rule options.

Smart Connections

Find related notes and excerpts while writing. Your AI link building copilot displays relevant content in graph + list view. A local embedding model powers semantic search. Zero setup. No API key.

Fast Note Sync

Real-time sync of your vaults across server, mobile, and web; shareable with anyone; supports REST and MCP integrations to build your personal AI knowledge base.

Custom Frames

Turn web apps into panes using iframes with custom styling. Also comes with presets for Google Keep, Todoist and more.

ChatGPT MD

A seamless integration of ChatGPT, OpenRouter.ai and local LLMs via Ollama into your notes.

Copilot

Run AI agents such as Claude Code, Codex, and OpenCode inside your vault. Turn your second brain into a smart assistant that gets knowledge work done.

Agent Client

Chat with Claude Code, Codex, Gemini CLI, and more via the Agent Client Protocol — right from your vault.