JerryScript logo

JerryScript

Free

A JavaScript engine intended to run on a very constrained devices such as microcontrollers. Designed for the Internet of Things.

FreeFree tier
Type
Open Source
Company
JS Foundation

About JerryScript

JerryScript is an ultra-lightweight JavaScript engine designed for resource-constrained devices such as microcontrollers. It can run on devices with less than 64 KB of RAM and less than 200 KB of flash memory. The engine is fully compliant with ECMAScript 5.1 and achieves 70% compliance with ECMAScript 2025 (Kangax table). It is written in C99 for maximum portability, has a binary size of 258 KB when compiled for ARM Thumb-2, and provides snapshot support for precompiling JavaScript source code to bytecode. A mature C API makes it easy to embed into applications. JerryScript is open source under the Apache License 2.0, maintained by the JS Foundation.

Key Features

Full ECMAScript 5.1 standard compliance
70% ECMAScript 2025 compliance (Kangax Compatibilty Table)
258 KB binary size when compiled for ARM Thumb-2
Heavily optimized for low memory consumption
Written in C99 for maximum portability
Snapshot support for precompiling JavaScript source code to bytecode
Mature C API, easy to embed in applications

Pros & Cons

Pros
  • Extremely low memory and storage footprint (can run on devices with <64KB RAM and <200KB flash)
  • Full ECMAScript 5.1 compliance and partial ES2025 support
  • Written in C99, easy to port to different platforms
  • Open source under Apache License 2.0
Cons
  • Only 70% ECMAScript 2025 compliance, not fully up-to-date with latest JavaScript features
  • Designed specifically for constrained devices; may lack performance optimizations for general-purpose systems

Best For

Running JavaScript on microcontrollers and IoT devicesEmbedded systems with strict memory and flash constraintsResource-constrained hardware requiring a lightweight scripting engine

FAQ

What ECMAScript versions does JerryScript support?
JerryScript fully complies with ECMAScript 5.1 and has 70% compliance with ECMAScript 2025 based on the Kangax Compatibilty Table.