Clone this repo:
  1. 6dc4ac5 1.37.0 by Alon Zakai · 11 months ago master 1.37.0
  2. 485a49b Fix bug after PR #4665 that rebuilding SDL2 with -s USE_SDL2=1 after emcc --clear-ports would fail. by Jukka Jylänki · 11 months ago
  3. 051ef31 Merge pull request #4665 from juj/emscripten_strict by juj · 11 months ago
  4. 9b727e8 Apply code review to Emscripten strict mode. by Jukka Jylänki · 11 months ago
  5. 6665be6 Merge pull request #4801 from juj/llvm_ar_no_preserve_timestamps by juj · 11 months ago

emscripten logo

Emscripten is an LLVM-to-JavaScript compiler. It takes LLVM bitcode - which can be generated from C/C++, using llvm-gcc (DragonEgg) or clang, or any other language that can be converted into LLVM - and compiles that into JavaScript, which can be run on the web (or anywhere else JavaScript can run).

Links to demos, tutorial, FAQ, etc:

Main project page:


Emscripten is available under 2 licenses, the MIT license and the University of Illinois/NCSA Open Source License.

Both are permissive open source licenses, with little if any practical difference between them.

The reason for offering both is that (1) the MIT license is well-known, while (2) the University of Illinois/NCSA Open Source License allows Emscripten's code to be integrated upstream into LLVM, which uses that license, should the opportunity arise.

See LICENSE for the full content of the licenses.