This is an archived page. It's not actively maintained.


Emscripten is an LLVM to JavaScript compiler. It takes LLVM bytecode (e.g. generated from C/C++ using Clang, or from another language) and compiles that into JavaScript, which can be run on the Web.

The resources here provide you with all you need to know to get up and running with Emscripten at a basic level, allowing you to take your first steps with Emscripten, and discover how Emscripten can be leveraged to produce more powerful web apps. For a more detailed set of documentation, you should consult the official Emscripten Wiki.

Using Emscripten, you can

  • Compile C and C++ code into JavaScript and run that on the web
  • Run code in languages like Python as well, by compiling CPython from C to JavaScript and interpreting code in that on the web

If you are new to Emscripten you start off by installing Emscripten on your system, and working through our Introducing Emscripten section.

Note: the current release version of Emscripten is 1.7.8.

  1. Introducing Emscripten
    1. Emscripten beginner's tutorial
    2. What is Emscripten and how does it work?
    3. The nature of Emscripten-compiled JavaScript
    4. Putting Emscripten in your toolchain
  2. Web abilities and limitations
  3. Download and install
  4. Workflow and tools
  5. Emscripten Techniques