Skip to content
cosmodev ~/tools/text-translator

Trình dịch văn bản bằng AI

AI & Agents

Dịch bất kỳ văn bản nào giữa 24 ngôn ngữ bằng một LLM — ngôn ngữ nguồn được tự động phát hiện hoặc chỉ định rõ ràng — trực tiếp từ trình duyệt của bạn với khóa Groq miễn phí của riêng bạn.

Đầu vào giới hạn 12000 ký tự. Định dạng và khối mã được giữ nguyên.

Thử:

Công cụ này gọi Groq bằng API key miễn phí CỦA BẠN — lưu một lần trong trình duyệt này:

Your key stays in this browser (localStorage) and is sent only to api.groq.com — never to CosmoDev servers. Get a free Groq key

Dán văn bản và chọn ngôn ngữ để dịch.

(Tài liệu bằng tiếng Anh)

AI Text Translator

What it does

Translates pasted text between 24 common languages using an LLM (Groq’s Llama models). Pick the source language — or leave it on auto-detect and let the model identify it — pick the target, and get the translation with paragraphs, formatting, and code blocks preserved. The ⇄ button swaps direction and carries a finished translation back into the input for a round trip.

This is an AI Studio tool: it calls the model directly from your browser with your own free Groq API key. Nothing passes through CosmoDev servers, and we store nothing.

How to use

  1. Save your free Groq API key once — the panel keeps it in this browser’s localStorage. Get a key at console.groq.com/keys.
  2. Paste your text (up to 12,000 characters — longer inputs are truncated).
  3. Choose From (Auto-detect is the default) and To.
  4. Press Translate, then copy the result.

Selecting the same language for From and To blocks the button with an explanation — the model is never asked for a no-op.

Examples

Input with From = Auto-detect, To = English:

Sehr geehrtes Team, hiermit kündige ich meinen Vertrag zum Ende des Quartals. Bitte bestätigen Sie den Erhalt dieser Nachricht.

Output:

Dear team, I hereby terminate my contract at the end of the quarter. Please confirm receipt of this message.

A finished translation plus ⇄ Swap languages becomes the new input — translate it back to check fidelity, or onward into a third language.

Good to know

  • Key custody: your key lives only in this browser (localStorage, namespaced cosmodev:aistudio.groq) and is sent only to api.groq.com as a request header — never to CosmoDev, never in a URL. The key panel has a Remove key button that wipes it.
  • Free tier: Groq’s free tier makes this genuinely free — see /ai-studio for every BYO-key tool and your key status.
  • Rate limits: if Groq rate-limits the call (HTTP 429), the tool stops and shows the error with a manual Retry button — it never retries automatically.
  • Faithfulness: LLM translation is strong but not certified — verify legal, medical, or contractual wording with a professional translator before it matters.
  • Privacy: your text goes only from your browser to Groq. CosmoDev has no backend in the path — the same egress model as every AI Studio tool.
Mã nguồn14 ngôn ngữ

Runs in your browser · your text goes straight to api.groq.com using YOUR key (BYO). CosmoDev has no backend in the path and stores nothing. Thấy hữu ích? Chia sẻ với đồng nghiệp của bạn.