Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Live Google Translate (Insert Below)New to Visual Studio Code? Get it now.
Live Google Translate (Insert Below)

Live Google Translate (Insert Below)

jinydev

|
1 install
| (0) | Free
Free no-API-key Google Translate for VS Code: select any sentence or Markdown block and press a shortcut or right-click to auto-insert the translation on the next line (default EN -> KO).
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Live Google Translate (Insert Below)

Translate any selected sentence or Markdown block in VS Code with a single shortcut or right-click — and automatically insert the translated text on the next line below the original block.

Powered by a zero-dependency TypeScript translation engine modeled after PHP's stichoza/google-translate-php, requiring no API key or quota setup out of the box.

Key Features

  • Select → Shortcut / Right-Click → Insert Below
    • Select any sentence or multi-line paragraph in Markdown, comments, or plain text.
    • Press Cmd+Option+T (macOS) / Ctrl+Alt+T (Windows/Linux), or Cmd+K T / Ctrl+K T, or right-click → Google Translate: Translate & Insert Below.
    • The translated text is inserted cleanly on the next line, leaving the original text untouched above.
    • Supports multi-cursor selections and single-step Cmd+Z undo.
  • Default EN → KO (Configurable)
    • Ready out of the box for English → Korean translation (en → ko).
    • Click the status bar badge (🌐 EN → KO) to switch presets (EN → KO, KO → EN, AUTO → KO, JA → KO, ZH-CN → KO, or custom pairs) anytime, or change it in VS Code Settings.
  • Markdown-Safe Translation
    • Automatically masks and restores YAML Front Matter, fenced code blocks (``` / ~~~), inline code (`code`), KaTeX math ($...$, $$...$$), link/image URLs, HTML tags/comments, and GitHub Alerts ([!NOTE], [!TIP], etc.).
  • No-API-Key Engine (stichoza-compatible)
    • Uses Google's translate_a/single endpoint (gtx default + webapp token generator fallback).
    • Automatic GET → POST switching for long text, paragraph/sentence-aware chunking, SHA-256 LRU caching, and HTTP 429/5xx exponential backoff with client fallback.
    • Optional official jinyTranslate.googleApiKey support for enterprise/high-volume workloads.
  • Extra Document Commands
    • Reverse Insert Below (Cmd+Option+R / Ctrl+Alt+R): instantly translate in the opposite direction (e.g., KO → EN).
    • Translate & Replace Selection (Cmd+K Shift+T / Ctrl+K Shift+T).
    • Translate & Insert Below (Choose Target Language...).
    • Translate Document (Bilingual Paragraph-by-Paragraph) and Translate Document to New File.

Shortcuts

Action macOS Windows / Linux
Translate & Insert Below Cmd + Option + T or Cmd + K T Ctrl + Alt + T or Ctrl + K T
Translate & Insert Below (Reverse) Cmd + Option + R Ctrl + Alt + R
Translate & Replace Selection Cmd + K Shift + T Ctrl + K Shift + T

Settings

Setting Default Description
jinyTranslate.sourceLanguage "en" Default source language (en, auto, ko, ja, zh-CN, etc.)
jinyTranslate.targetLanguage "ko" Default target language (ko, en, ja, zh-CN, etc.)
jinyTranslate.insertBlankLine false Insert a blank line between original and translated block
jinyTranslate.insertPrefix "" Prefix prepended to each translated line (e.g. "> " for blockquotes)
jinyTranslate.preserveMarkdownSyntax true Protect code blocks, inline code, KaTeX math, links, and alerts
jinyTranslate.client "gtx" Google Translate client mode (gtx or webapp)
jinyTranslate.baseUrl https://translate.googleapis.com/translate_a/single Custom endpoint / mirror URL
jinyTranslate.chunkSize 3000 Maximum characters per chunk
jinyTranslate.requestDelayMs 250 Delay (ms) between consecutive chunks
jinyTranslate.enableCache true Cache recent translations in memory
jinyTranslate.googleApiKey "" Optional official Google Cloud Translation API v2 key

License

MIT License (included in the extension package).

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft