Available utilities
JavaScript engine (js)
A standalone JavaScript interpreter with REPL support. Enables interactive JavaScript execution and script testing outside the browser environment. Learn more about the JS utility →WebAssembly runtime (wasm)
A WebAssembly module parser, validator, and executor. Supports both standalone WASM execution and WASI (WebAssembly System Interface) for system interactions. Learn more about the WASM utility →XML parser (xml)
Parses and displays XML documents with syntax highlighting. Includes XML validation and test suite support. Learn more about the XML utility →DNS resolver (dns)
A DNS query tool supporting multiple record types, DoT (DNS over TLS), and DNSSEC validation. Learn more about the DNS utility →Image converter (image)
Converts and manipulates images between formats (PNG, JPEG, BMP, WebP). Supports color profile management, cropping, and alpha channel operations. Learn more about the Image utility →Building utilities
The utilities are built using CMake as part of the Ladybird build system:On Windows, the
js and wasm utilities have limited functionality. LibLine (for REPL features) is not available on Windows.Installation
Utilities can be installed individually using CPack:Common use cases
Testing JavaScript implementations
Use thejs utility to test ECMAScript compliance and run Test262 test suites.
WebAssembly module validation
Use thewasm utility to validate WASM modules before deployment.
Image format conversion
Use theimage utility for batch image conversions and optimizations.
DNS debugging
Use thedns utility to troubleshoot DNS resolution issues and validate DNSSEC.
Source code
All utility source code is located in theUtilities/ directory:
js.cpp- JavaScript interpreterwasm.cpp- WebAssembly runtimexml.cpp- XML parserdns.cpp- DNS resolverimage.cpp- Image convertertest262-runner.cpp- Test262 test runner