Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

Transcrypt

transcrypt.org

  • Free plan
  • Windows
  • macOS
  • Linux
  • Web
  • Self-hosted
8.3 Club score Visit transcrypt.org

What Transcrypt is

Transcrypt compiles Python source code into JavaScript for browser applications. It converts a broad subset of Python into JavaScript 6, can minify the output, and includes multilevel source maps for tracing generated code back to its Python source. Developers can call JavaScript functions from Python and use browser DOM functions and JavaScript libraries. The project includes examples involving jQuery, React, Fabric.js, D3.js, Plotly.js, and Riot. Its distribution also provides optional static type validation and consistency checks. Transcrypt can compile Python server code for Node.js and use Node libraries with require(). Installation is recommended through pip as a Python package, and the documentation says it is tested on Windows, Linux, and OSX. The project focuses on 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 supported for browser use without special measures such as compiling them to asm.js. Transcrypt is free and open source under the Apache 2.0 license.

Who it suits

Transcrypt is for Python developers building browser applications who want to work with JavaScript libraries and browser APIs. It may not suit projects dependent on desktop Python libraries, Python exec or eval, or C and C++ libraries for browser use.

Good to know, and what to watch

  • Compiles Python source into JavaScript 6.
  • Provides source maps for debugging generated JavaScript.
  • Supports JavaScript libraries and browser DOM functions.
  • Free under the Apache 2.0 license.
  • Python exec and eval are unsupported.
  • C and C++ libraries need special measures for browser use.
  • Focuses on browser development rather than desktop Python libraries.

Transcrypt

Free

Free plan

Getting started

  1. Open the Transcrypt website
  2. Install Transcrypt as a Python package with pip
  3. Write Python source for a browser application
  4. Compile the source to JavaScript 6
  5. Use JavaScript libraries or browser DOM functions from the Python code
  6. Debug generated code with the available source maps

Limits to check

Python exec and eval do not work because Transcrypt precompiles code. C and C++ libraries are not directly supported for browser use without special measures such as compiling them to asm.js.

The verdict

Transcrypt offers a Python-to-JavaScript path for browser development, with source maps and JavaScript interoperability. Its language and library limits matter for projects that depend on unsupported Python features or native libraries.

Questions people ask

What does Transcrypt cost?

Transcrypt is free and open source under the Apache 2.0 license. Donations are optional.

How is it installed?

The project recommends installing Transcrypt with pip as a Python package.

Which output does it generate?

It compiles Python source into JavaScript 6 and can minify the result.

Can Python code use JavaScript libraries?

Yes. Python code can call JavaScript functions directly, use browser DOM functions, and work with JavaScript libraries.

Does it support Node.js?

Yes. Transcrypt can compile Python server code for Node.js and use Node libraries with require().

Which systems are supported?

Documentation says it is tested under Windows, Linux, and OSX, and the listed platforms include Linux, macOS, Windows, web, and self-hosted use.

What the maker publishes

Browser development
The project focuses on writing web client applications in Python that compile to JavaScript. source
Compatibility limit
The documentation says Python exec and eval are unsupported because Transcrypt precompiles code; JavaScript eval is supported. source
Debugging
Multilevel sourcemaps let developers debug generated JavaScript from the original Python source. source
Debugging
Transcrypt provides multi-level source maps so developers can debug generated JavaScript from Python source code. source
Installation
The site recommends installing Transcrypt with pip as a Python package. source
Integrations
The examples page includes integrations or demos involving jQuery, React, Fabric.js, D3.js, Plotly.js, and Riot. source
Intended use
The documentation says Transcrypt focuses on browser development and JavaScript libraries rather than desktop Python libraries. source
JavaScript access
Transcrypt says JavaScript libraries can be used without restrictions or complications, and Python code can call JavaScript functions directly. source
JavaScript interoperability
Transcrypt applications can use JavaScript libraries and browser DOM functions. source
JavaScript output
Transcrypt generates JavaScript 6 and can minify the output. source
Language features
Listed features include multiple inheritance, async/await, comprehensions, modules, optional static type checking, source maps, and built-in minification. source
Language tools
The distribution includes optional static type validation, consistency checks, and minification tools. source
Library limit
Transcrypt is designed for JavaScript libraries and does not directly support libraries written in C or C++. source
License and cost
Transcrypt is free and open source under the Apache 2.0 license, and the FAQ says donations are optional. source
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. source
Node.js
Transcrypt can compile Python server code targeting Node.js and use Node libraries with require(). source
Node.js
Transcrypt can compile Python to JavaScript for use on both the client and server with Node.js, subject to facilities available on each platform. source
Open source
Transcrypt is licensed under the Apache 2.0 open source license. source
Operating systems
The getting started documentation says Transcrypt is tested under Windows, Linux, and OSX. source
Purpose
Transcrypt compiles Python source code into JavaScript for browser applications. source
Support
The FAQ recommends Stack Overflow for help and says commercial support is available on demand. source
Supported systems
The documentation says Transcrypt is tested under Windows, Linux, and OSX. source
What it does
Transcrypt compiles a fairly extensive subset of Python into compact, readable JavaScript. source

Checked against the maker's pages on 3 Oct 2026.