# Emscripten

> A complete compiler toolchain to WebAssembly, using LLVM

Source: https://talira.ai/catalog/emscripten-9sghs9xg
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / compilers](https://talira.ai/categories/developer-tools/compilers)
- Platforms: linux, macos, windows, cli[^2]
- Licence: MIT OR NCSA[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Self-hostable: no[^2]
- Backed by: [Emscripten Contributors](https://talira.ai/orgs/emscripten.md)

Emscripten compiles C and C++, or any language that uses LLVM, to WebAssembly that runs in browsers, Node.js or other Wasm runtimes. Its compiler frontend, emcc, is a drop-in replacement for gcc or clang: it uses Clang and [LLVM](https://talira.ai/catalog/llvm-6zghekva.md) to compile and emits JavaScript that gives the compiled code its APIs, converting OpenGL to WebGL and supporting SDL, pthreads, POSIX, the C and C++ standard libraries and exceptions, plus WebGPU and other Web APIs. It optimizes output with Binaryen and Closure Compiler for small, near-native-speed code. Projects from games to Qt, Unreal Engine 4 and Unity have been ported with it. The Emscripten SDK (emsdk) installs the whole toolchain on Linux, macOS or Windows.

## Links

- Website: https://emscripten.org/
- GitHub: https://github.com/emscripten-core/emscripten
- Docs: https://emscripten.org/docs/

## Problems it solves

- compile my C++ library to WebAssembly so it runs in the browser
- port a C or C++ game to the web
- run existing native code in Node.js without rewriting it in JavaScript
- call C++ functions from JavaScript in a web app

## Features

- compiles C, C++ and other LLVM languages to WebAssembly
- emcc, a drop-in replacement for gcc or clang
- runs output in browsers, Node.js and other Wasm runtimes
- OpenGL to WebGL, plus WebGPU and EGL
- SDL, pthreads and POSIX APIs
- C and C++ standard libraries and C++ exceptions
- Embind and WebIDL Binder to connect C++ and JavaScript
- virtual file systems
- SIMD and Wasm Workers
- Binaryen and Closure Compiler optimization
- emsdk installer for Linux, macOS and Windows

## Trust

Overall: 0.74 out of 1.
Signals: maintenance 1.00, adoption 0.89, momentum 0.66, community 1.00, backing 0.30, extensibility 0.00.

- last commit today
- 549 commits in the last 90 days
- latest release 7.0.1 2 days ago
- 27.8k GitHub stars
- 1068 contributors
- backed by Emscripten Contributors

## Related

- Based on [LLVM](https://talira.ai/catalog/llvm-6zghekva.md)

## Sources

[^1]: https://github.com/emscripten-core/emscripten/blob/main/LICENSE (checked 24 Nov 2026)
[^2]: https://emscripten.org/docs/introducing_emscripten/about_emscripten.html (checked 24 Nov 2026)
