# QuickJS

> Small, embeddable JavaScript engine with almost complete ES2025 support

Source: https://talira.ai/catalog/quickjs-1b6jpwx3
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Command-line tool
- Categories: [developer tools / runtimes / javascript engines](https://talira.ai/categories/developer-tools/runtimes/javascript-engines), [languages / javascript](https://talira.ai/categories/languages/javascript)
- Platforms: linux, macos, windows, cli[^1]
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Self-hostable: yes[^1]
- Implements: [JavaScript](https://talira.ai/catalog/javascript-jwpzc8t6.md)
- Backed by: [Fabrice Bellard](https://talira.ai/orgs/fabrice-bellard.md)
- Creator: Fabrice Bellard, creator of QEMU and TCC

QuickJS is a small JavaScript engine for embedding in C programs, written by Fabrice Bellard and Charlie Gordon. It's a few C files with no external dependencies, and a hello world program takes 367 KiB of x86 code. Its interpreter starts very quickly: a runtime instance's whole life cycle takes under 300 microseconds. It supports almost all of ES2025, including modules, async generators and Annex B, and passes nearly all of the ECMAScript test suite for those features. It uses reference counting with cycle removal for garbage collection, which keeps memory use low and behaviour deterministic. It can compile JavaScript to standalone executables, ships a command-line interpreter (qjs) and a small standard library with C library wrappers, and includes reusable libraries for regular expressions (libregexp), Unicode (libunicode) and float printing (dtoa). Cosmopolitan binaries run on Linux, macOS, Windows and the BSDs. It's MIT licensed.

## Links

- Website: https://bellard.org/quickjs/
- GitHub: https://github.com/bellard/quickjs
- Docs: https://bellard.org/quickjs/quickjs.html

## Problems it solves

- embed a JavaScript engine in my C or C++ application
- a lightweight JavaScript interpreter with fast startup
- run user scripts in JavaScript inside my app without bundling V8
- compile a JavaScript program into a standalone executable
- a small JavaScript runtime for constrained or embedded systems
- a JavaScript engine with modern ES2025 support and no dependencies

## Features

- a few C files with no external dependencies
- 367 KiB of x86 code for hello world
- runtime life cycle under 300 microseconds
- almost complete ES2025: modules, async generators, Annex B
- nearly 100% of the ECMAScript test suite for ES2025 features
- compile JavaScript to standalone executables
- reference-counting GC with cycle removal
- qjs command-line interpreter with contextual colorization
- small standard library with C library wrappers
- libregexp, libunicode and dtoa sub-libraries
- Cosmopolitan binaries for Linux, macOS, Windows and BSDs on ARM64 and x86_64

## Capabilities

- Has a command line tool: plan not known
- Has official SDKs: plan not known

## Trust

Overall: 0.40 out of 1.
Signals: backing 0.50, extensibility 0.20.

- backed by Fabrice Bellard
- created by Fabrice Bellard, creator of QEMU and TCC

Warnings:

- GitHub activity not fetched yet

## Related

- Implements [JavaScript](https://talira.ai/catalog/javascript-jwpzc8t6.md)

## Alternatives

- [V8](https://talira.ai/catalog/v8-yth24qvy.md): Google's open source high-performance JavaScript and WebAssembly engine
- [JavaScriptCore](https://talira.ai/catalog/javascriptcore-m7b1hmdq.md): WebKit's built-in JavaScript engine

## Sources

[^1]: https://bellard.org/quickjs/ (checked 22 Nov 2026)
