TeaVM
TeaVM: A free, open-source compiler for Java teams building browser applications or native targets. Ranked #5 of 28 in Code Transpilers by our editors (8.6/10); pricing: Free plan; best for java teams targeting JavaScript or WebAssembly.
At a glance
- Editor score8.6 / 10
- PricingFree plan
- Best forJava teams targeting JavaScript or WebAssembly
- Free planYes
- Paid fromFree
- Conversion modeSource-to-source
- Facts checked22 Sep 2026

Where it wins
- Compiles Java bytecode to JavaScript and Java or Kotlin to WebAssembly GC
- Maven and Gradle integration with JavaScript interoperability
- Includes source maps, debugging, development servers, and browser testing
Where it doesn't
- Works within TeaVM’s supported Java API constraints
- Focused on new web applications and selected code reuse, not every Java workload
- Requires self-hosted deployment
Our verdict on TeaVM
TeaVM is an open-source ahead-of-time compiler for Java, Kotlin, and Scala developers who want to build web front ends or reuse selected backend code in browser applications. It compiles Java bytecode to JavaScript, supports Java and Kotlin compilation to WebAssembly GC, and can generate C source for native compilation. The project is especially relevant to Java teams targeting JavaScript or WebAssembly, rather than developers looking for a general-purpose compiler for every Java application.
Its build and browser tooling make the output more practical to work with: TeaVM integrates with Maven and Gradle, offers JavaScript interoperability and browser API wrappers, and generates JavaScript and WebAssembly modules. Source maps and debugging support, development servers, and JUnit-based browser and WebAssembly testing are also included. These capabilities suit teams that want to stay in familiar Java build workflows while developing browser-facing code. TeaVM is self-hosted, so teams should account for managing it within their own environment.
TeaVM is free and open source under the Apache License 2.0. The project is designed for new web applications and code that fits within its supported Java API constraints, which is an important boundary for teams considering reuse of existing code. Choose it when compiling Java-family code for browser or WebAssembly targets is central to the project; consider another approach if the workload depends on Java APIs outside those constraints or does not involve these targets. Support channels include documentation and email.
Your product? Our editors can test TeaVM in depth and publish a review, labelled as paid · from $149/mo →
TeaVM pricing
TeaVM fact sheet
| Free plan | Yes |
|---|---|
| Paid from | Free |
| Source languages | Not verified |
| Target languages | Not verified |
| Syntax-version conversion | Not verified |
| Intermediate output | Not verified |
| CLI access | Yes |
| API access | Yes |
| Conversion mode | Source-to-source |
| Deployment | Self-hosted |
| Support | Email, Docs |
| Built for | Small business, Mid-market, Enterprise (editorial estimate) |
| Integrations | 7 integrations: Maven, Gradle, JavaScript, WebAssembly, C/C++ via Emscripten, JUnit … |
| Pricing | Free plan |
| Website | teavm.org |
| Facts checked | 22 Sep 2026 |
TeaVM integrations
TeaVM lists 7 integrations on its own site.
- Maven
- Gradle
- JavaScript
- WebAssembly
- C/C++ via Emscripten
- JUnit
- Node.js
Alternatives to TeaVM
- BabelFlexible ECMAScript transforms with CLI, Node.js APIs, and browser compilation.9.3
- SWCAn open-source compiler with minification and bundling for JavaScript and TypeScript workflows.9.2
- Kotlin/JSA free Kotlin-to-JavaScript toolchain for browser and Node.js projects.8.8
TeaVM vs the competition
- TeaVM vs Babel
- TeaVM vs SWC
- TeaVM vs Kotlin/JS
- TeaVM vs Cython
- TeaVM vs Google Web Toolkit
- TeaVM vs ClojureScript
Compare TeaVM with any tool side by side →
Used TeaVM? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used TeaVM for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
TeaVM is listed in our Code Transpilers directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/teavm/"><img src="https://www.itechguides.com/best/badge/teavm.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update



