VS Code Extension
Google Translate, but for code.
Developers speak different coding languages, just like people speak different languages. Our tool instantly translates code between them, so nothing gets lost in translation.
def get_active_total(orders): return sum( o.price * o.qty for o in orders if o.is_active )
function getActiveTotal(orders: Order[]): number { return orders .filter(o => o.isActive) .reduce((sum, o) => sum + o.price * o.qty, 0 ); }
Try it out yourself
"Codepreter gave me a TypeScript version in seconds. I actually understood the code for the first time."
- Michael O. (Frontend Engineer, Google)How it works
Three steps. That's it.
Open any file in VS Code
Select the file you want to translate using any one of our supported languages.
Choose your target language
Pick from our supported language pairs directly from the command palette.
Get syntactically valid code, instantly
Your translated file appears in just seconds. Ready to review, refine, and ship.
Coverage
Supported languages
More language pairs added based on demand — vote for yours →
Use cases
Built for real situations
Your lead just asked you to rewrite a module in Python. You know JavaScript. You've never written Python in your life.
Translate the file, get a working starting point, and learn as you refine.
You just joined a company whose entire codebase is in TypeScript. You're a Python developer.
Translate files you're working on so you can contribute on day one while you ramp up.
You've inherited 50 files of legacy code in a language nobody on the team uses anymore.
Translate file by file, at your own pace, without a costly rewrite project.
Honesty
What this tool is — and what it isn't
✓ Is
- Fast, syntactically valid starting point in your target language
- Learning reference for understanding how your original logic maps to a new syntax
- Productivity tool that removes the blank page problem
✕ Is not
- Guarantee of production-ready code; always review the output
- Replacement for understanding the target language
- Full project migration tool; this tool works file by file, by design
Pricing
Simple, honest pricing
Free
- 50 translations per month
- All supported language pairs
- VS Code extension
Pro
- Everything in Free, including:
- Unlimited translations
- Priority support
- Early access to new language pairs
Team
- Seat-based pricing
- Centralized billing
- Team usage dashboard
- Dedicated support
LLM inference costs are included in all plans — no surprise bills.
FAQ
Common questions
It's syntactically valid and a strong starting point, but like Google Translate, you should always review and refine the output before shipping.
We launch with core language pairs and expand based on community demand. Vote for your language pair on our GitHub.
We're purpose-built for this workflow, which means no copy-pasting, no tab-switching, and every output is validated for syntactic correctness before you see it. ChatGPT gives you raw output with no signal on whether it runs.
Your code is never stored beyond the duration of the request. We process and discard. Privacy by design.
You'll be prompted to upgrade to Pro. No translations are lost, you just pause until the next billing cycle or upgrade.
Stop rewriting.
Start translating.
Install the extension and translate your first file in under a minute.