
Transcrypt
Summary
Transcrypt compiles Python source code into JavaScript for browser applications. It converts a substantial subset of Python into compact, readable JavaScript 6, with an option to minify the output. Developers can call JavaScript functions from Python and use JavaScript libraries and browser DOM functions. The project includes examples involving jQuery, React, Fabric.js, D3.js, Plotly.js, and Riot. It also supports compiling Python server code for Node.js, where applications can use Node libraries with require(). The distribution includes optional static type validation and consistency checks, along with multilevel source maps for debugging generated JavaScript from its Python source. Listed language features include async/await, comprehensions, modules, and multiple inheritance. Transcrypt is installed as a Python package with pip and is free under the Apache 2.0 license. Its focus is browser development and JavaScript libraries rather than desktop Python libraries. Python exec and eval are unsupported because code is precompiled; JavaScript eval is supported. C and C++ libraries are not directly available for browser use without special measures such as compiling them to asm.js.
Who it is for
Transcrypt suits Python developers building browser applications who want to work with JavaScript libraries and DOM functions. It may also suit teams compiling Python server code for Node.js.
What is good
- Compiles Python into JavaScript 6.
- Supports JavaScript libraries and browser DOM functions.
- Includes multilevel source maps for debugging.
- Free and open source under Apache 2.0.
What to know first
- Python exec and eval are unsupported.
- C and C++ libraries need special measures for browser use.
- Focused on web development, not desktop Python libraries.
Verdict
Transcrypt is a free option for building JavaScript browser applications from Python while retaining access to JavaScript libraries. Check its precompilation and native-library limits if your project depends on Python eval, exec, or C and C++ libraries.
Transcrypt plans and pricing
All plansCompared on code transpilers
- Free plan
- Yestranscrypt.org
- Syntax-version conversion
- Notranscrypt.org
- Intermediate output
- Notranscrypt.org
- CLI access
- Yestranscrypt.org
- Conversion mode
- source-to-sourcetranscrypt.org
Facts
- Purpose
- Transcrypt compiles Python source code into JavaScript for browser applications.transcrypt.org · 3 Oct 2026
- Open source
- Transcrypt is licensed under the Apache 2.0 open source license.transcrypt.org · 3 Oct 2026
- Installation
- The site recommends installing Transcrypt with pip as a Python package.transcrypt.org · 3 Oct 2026
- JavaScript output
- Transcrypt generates JavaScript 6 and can minify the output.transcrypt.org · 3 Oct 2026
- Debugging
- Multilevel sourcemaps let developers debug generated JavaScript from the original Python source.transcrypt.org · 3 Oct 2026
- Language tools
- The distribution includes optional static type validation, consistency checks, and minification tools.transcrypt.org · 3 Oct 2026
- JavaScript interoperability
- Transcrypt applications can use JavaScript libraries and browser DOM functions.transcrypt.org · 3 Oct 2026
- Node.js
- Transcrypt can compile Python server code targeting Node.js and use Node libraries with require().transcrypt.org · 3 Oct 2026
- Integrations
- The examples page includes integrations or demos involving jQuery, React, Fabric.js, D3.js, Plotly.js, and Riot.transcrypt.org · 3 Oct 2026
- Intended use
- The documentation says Transcrypt focuses on browser development and JavaScript libraries rather than desktop Python libraries.transcrypt.org · 3 Oct 2026
- Limit
- Transcrypt does not directly support libraries written in C or C++ for browser use without special measures such as compiling them to asm.js.transcrypt.org · 3 Oct 2026
- Supported systems
- The documentation says Transcrypt is tested under Windows, Linux, and OSX.transcrypt.org · 3 Oct 2026
- What it does
- Transcrypt compiles a fairly extensive subset of Python into compact, readable JavaScript.transcrypt.org · 3 Oct 2026
- Browser development
- The project focuses on writing web client applications in Python that compile to JavaScript.transcrypt.org · 3 Oct 2026
- JavaScript access
- Transcrypt says JavaScript libraries can be used without restrictions or complications, and Python code can call JavaScript functions directly.transcrypt.org · 3 Oct 2026
- Language features
- Listed features include multiple inheritance, async/await, comprehensions, modules, optional static type checking, source maps, and built-in minification.transcrypt.org · 3 Oct 2026
- Operating systems
- The getting started documentation says Transcrypt is tested under Windows, Linux, and OSX.transcrypt.org · 3 Oct 2026
- Compatibility limit
- The documentation says Python exec and eval are unsupported because Transcrypt precompiles code; JavaScript eval is supported.transcrypt.org · 3 Oct 2026
- Library limit
- Transcrypt is designed for JavaScript libraries and does not directly support libraries written in C or C++.transcrypt.org · 3 Oct 2026
- Support
- The FAQ recommends Stack Overflow for help and says commercial support is available on demand.transcrypt.org · 3 Oct 2026
- License and cost
- Transcrypt is free and open source under the Apache 2.0 license, and the FAQ says donations are optional.transcrypt.org · 3 Oct 2026
Best Transcrypt alternatives
See all 12Where it ranks on Everything Xiaomi
- Best Code Transpilers in 2026#2 of 28
Is Transcrypt yours?
Claim it for free: prove the domain, then correct facts, plans and screenshots. An editor reviews every change.
Sources
- transcrypt.org· checked 3 Oct 2026
- transcrypt.org/download· checked 3 Oct 2026
- transcrypt.org/docs/html/installation_use.html· checked 3 Oct 2026
- transcrypt.org/docs/html/integration_javascript.html· checked 3 Oct 2026
- transcrypt.org/examples· checked 3 Oct 2026
- transcrypt.org/docs/html/special_facilities.html· checked 3 Oct 2026
- transcrypt.org/docs/html/differences_cpython.html· checked 3 Oct 2026
- transcrypt.org/docs/html/what_why.html· checked 3 Oct 2026
- transcrypt.org/documentation· checked 3 Oct 2026


