JSweet
JSweet: An open-source Java-to-web transpiler for teams that want to keep Java syntax and tooling. Ranked #12 of 28 in Code Transpilers by our editors (7.9/10); pricing: Open source; best for java teams targeting TypeScript and JavaScript.
At a glance
- Editor score7.9 / 10
- PricingOpen source
- Best forJava teams targeting TypeScript and JavaScript
- Paid fromFree
- Intermediate outputYes
- Conversion modeSource-to-source
- Facts checked22 Sep 2026
Where it wins
- Translates Java source to TypeScript and JavaScript with TypeScript type checking
- Works with Maven, Gradle, and Eclipse, and supports browser and Node.js execution
- Supports typed JavaScript-library bindings, module formats, and ES3-to-ES6 targets
Where it doesn't
- Requires Java teams to adapt code to JSweet's Java-to-JavaScript mapping
- JavaScript library support depends on typed bindings called candies
- Its focus is Java-to-web output, not a general-purpose transpiler
Our verdict on JSweet
JSweet is an open-source source-to-source transpiler for Java developers building web or mobile-web applications. It maps Java syntax and constructs to TypeScript and JavaScript, with generated JavaScript passing through TypeScript for type checking. The approach suits teams that want to keep Java syntax and familiar Java tooling while targeting browser applications, mobile web views, or Node.js. It is less suited to developers who want to write JavaScript directly or need a transpiler aimed at other source languages.
Its ecosystem is centered on Java development workflows: JSweet supports Maven, Gradle, and Eclipse. For JavaScript dependencies, it offers typed API bindings called candies, with integrations including jQuery, Underscore, Angular, Backbone, Cordova, and Node.js. Output options include CommonJS, AMD, and UMD modules, and ECMAScript targets from ES3 to ES6. Bundling, browser debugging modes, and async/await support add capabilities around the translation step. This breadth is useful for Java teams connecting to established JavaScript libraries, though library use depends on having an appropriate candy binding.
JSweet is distributed as open-source software and can be used with local Java/Maven tooling or an online sandbox. It supports both browser and Node.js execution, making it relevant to teams working across those environments. The project lists community and documentation support. Choose it when retaining Java syntax, Java tooling, and typed access to JavaScript libraries matters more than adopting a native JavaScript workflow. Teams that need another source language, or whose required JavaScript libraries lack suitable bindings, should consider a different approach.
Your product? Our editors can test JSweet in depth and publish a review, labelled as paid · from $149/mo →
JSweet pricing
JSweet fact sheet
| Free plan | Not verified |
|---|---|
| Paid from | Free |
| Source languages | Not verified |
| Target languages | Not verified |
| Syntax-version conversion | Yes |
| Intermediate output | Yes |
| CLI access | Yes |
| API access | Not verified |
| Conversion mode | Source-to-source |
| Deployment | Cloud, Self-hosted, Browser extension |
| Platforms | Web |
| Support | Community, Docs |
| Built for | Solo, Small business, Mid-market, Enterprise (editorial estimate) |
| Integrations | 9 integrations: Maven, Gradle, Eclipse, jQuery, Underscore, Angular … |
| Pricing | Open source |
| Website | jsweet.org |
| Facts checked | 22 Sep 2026 |
JSweet integrations
JSweet lists 9 integrations on its own site.
- Maven
- Gradle
- Eclipse
- jQuery
- Underscore
- Angular
- Backbone
- Cordova
- Node.js
Alternatives to JSweet
- 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
Used JSweet? 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 JSweet 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
JSweet 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/jsweet/"><img src="https://www.itechguides.com/best/badge/jsweet.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


