Matter.js
2D rigid body physics engine for the web, with static and dynamic bodies, rectangles circles and polygons, compound bodies, gravity, friction, restitution, collision pairs, constraints, composite stacking, events and a renderer agnostic core for 2D physics simulations and games.
Matter.js at brm.io is a free MIT 2D rigid body physics engine for the web, npm matter-js 0.20.0 no declared Node engines, static and dynamic bodies rectangles circles and polygons compound bodies gravity friction restitution collision pairs constraints composite stacking events and a renderer agnostic core for 2D physics simulations and games, zero dependencies zero peer, no sold commercial tier (data as of Nov 24, 2026).
*This is an affiliate link, we may earn a commission at no extra cost to you.
Is Matter.js free?
Matter.js: Matter.js is free open-source software released under the MIT license; the matter-js package latest 0.20.0 on npm has no declared Node engines, published Jun 23, 2024. No paid commercial edition or per-seat license is sold by the project (data as of Nov 24, 2026). Check the official page for current status before relying on it.
Frequently Asked Questions
Is Matter.js free?
The code is free to self-host, but a hosted plan from the vendor may not be. Matter.js publishes its source, so cost depends on where you run it.
How much does Matter.js cost?
Matter.js is free open-source software released under the MIT license; the matter-js package latest 0.20.0 on npm has no declared Node engines, published Jun 23, 2024. No paid commercial edition or per-seat license is sold by the project (data as of Nov 24, 2026). Usage volume, plan limits and add-ons can push the bill above the figures shown, so confirm the current numbers on the vendor page before committing.
Where can I check Matter.js's current pricing?
On Matter.js's official site, linked from this page. We only publish a price after reading the vendor's own pricing page, so if this page shows no number, it means no traceable public price is on file — not that the tool is free.
What is Matter.js?
Matter.js keeps a world of bodies with mass, shape, position and velocity, and its physics solver steps the simulation forward by applying gravity, integrating motion, detecting overlap between collision pairs and resolving contacts with friction and restitution. Constraints link bodies together, composites group connected shapes, and events report collisions and changes, so a separate renderer or game engine draws the resulting bodies.
How does pricing work?
The package installs free under its MIT license with no seat license; it bundles into the frontend app or runs in-process, and any commercial support or managed service would be outside the open-source project.
How does Matter.js compare with other tools in Dev Workflow & Productivity?
Matter.js is listed in the Dev Workflow & Productivity category, alongside 2 other tools we track here. 2 of those 2 peers have a dated price we read from the vendor's own pricing page, and the table below shows each tool's pricing model next to the exact rate on file — so the comparison is between published numbers, not between marketing pages.
| Tool | Pricing model | Key pricing on file | Price checked |
|---|---|---|---|
| Matter.js | Open source | Matter.js is free open-source software released under the MIT license; the matter-js package latest 0.20.0 on npm has no declared Node engines, published Jun 23, 2024. No paid commercial edition or per-seat license is sold by the project (data as of Nov 24, 2026). | Nov 24, 2026 |
| Planck.js | Open source | Planck.js is free open-source software released under the MIT license; the planck package latest 1.5.1 on npm has Node engines at least 24.0, published Oct 12, 2026. No paid commercial edition or per-seat license is sold by the project (data as of Nov 24, 2026). | Nov 24, 2026 |
| Rapier 2D | Open source | Rapier 2D is free open-source software released under the Apache 2.0 license; the @dimforge/rapier2d-compat package latest 0.21.0 on npm has no declared Node engines, published Sep 25, 2026. No paid commercial edition or per-seat license is sold by the project (data as of Nov 24, 2026). | Nov 24, 2026 |
3 of these 3 entries carry a specific price we read from the vendor's site. Where the column says there is no dated price on file, we have not verified a rate — treat that as unknown rather than free, and check the vendor's page before you budget for it.
Full pricing breakdown
Matter.js's source code is publicly available, so you can run or build it yourself. The project may also sell a paid hosted or cloud plan — check the official site for current pricing.
Open source does not always mean every hosted version is free.
Key pricing: Matter.js is free open-source software released under the MIT license; the matter-js package latest 0.20.0 on npm has no declared Node engines, published Jun 23, 2024. No paid commercial edition or per-seat license is sold by the project (data as of Nov 24, 2026).
Estimate your monthly bill with our calculator →Or build a full stack around your budget →Pricing Guides & Comparisons
Plan prices in these guides are read from each vendor's own pricing page, with the date we checked them.
⭐ Rate this tool
How would you rate this tool?
🚀 Never Miss a New AI Coding Tool
Join 1,000+ developers getting our weekly roundup: new AI tools, student free tiers, exclusive discounts, and side project deals. No spam, unsubscribe anytime.
Current Alternatives
Planck.js
2D physics engine for JavaScript and TypeScript, a TypeScript port of Box2D, with dynamic and static bodies, shapes, fixtures, joints, contacts, gravity, friction, restitution, sensors, world stepping and collision events for 2D games and physics simulations.
Rapier 2D
WASM based 2D and 3D physics engine compiled from the Rapier Rust project, with rigid bodies, colliders, joints, gravity, CCD, collision events, ray casts, spatial queries and deterministic stepping for web games and interactive simulations that need a fast native grade physics core.
Tool Information
- Official Websitebrm.io
- CategoryDev Workflow & Productivity
- PricingOpen Source
- Price checkedNov 24, 2026
