earcut
Fast and small JavaScript polygon triangulation library that converts GeoJSON or polygon rings into triangle indices, with hole support, robust ear clipping and coordinate indexing for rendering filled polygons in maps, charts and 3D geometry.
earcut on GitHub mapbox/earcut is a free ISC fast and small JavaScript polygon triangulation library, npm earcut 3.2.4 no declared Node engines, converts GeoJSON or polygon rings into triangle indices with hole support robust ear clipping and coordinate indexing for rendering filled polygons in maps charts and 3D geometry, zero dependencies zero peer, no sold commercial tier (data as of Nov 23, 2026).
*This is an affiliate link, we may earn a commission at no extra cost to you.
Is earcut free?
earcut: earcut is free open-source software released under the ISC License; the earcut package latest 3.2.4 on npm has no declared Node engines, published Sep 28, 2026. No paid commercial edition or per-seat license is sold by the project (data as of Nov 23, 2026). Check the official page for current status before relying on it.
Frequently Asked Questions
Is earcut free?
It depends on the licence. ISC licensed polygon triangulation library; free to use, modify and redistribute, with no paid tier sold by the project.
How much does earcut cost?
earcut is free open-source software released under the ISC License; the earcut package latest 3.2.4 on npm has no declared Node engines, published Sep 28, 2026. No paid commercial edition or per-seat license is sold by the project (data as of Nov 23, 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 earcut's current pricing?
On earcut'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 earcut?
GPU meshes are built from triangles, so an arbitrary filled polygon must first be split into a triangle fan or strip. earcut takes outer and hole rings, applies ear clipping to the contour, and returns index triples that reference the input vertices, so maps, shape charts and geometry builders can draw complex polygons without carrying a full geometry kernel.
How does pricing work?
The package installs free under its ISC 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 earcut compare with other tools in Dev Workflow & Productivity?
earcut 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 |
|---|---|---|---|
| earcut | Open source | earcut is free open-source software released under the ISC License; the earcut package latest 3.2.4 on npm has no declared Node engines, published Sep 28, 2026. No paid commercial edition or per-seat license is sold by the project (data as of Nov 23, 2026). | Nov 23, 2026 |
| Three.js | Open source | Three.js is free open-source software released under the MIT License; the three package latest 0.187.0 on npm has no declared Node engines, published Oct 30, 2026. It renders WebGL scenes with cameras, meshes, materials, lights, textures and shaders in the browser, with no paid commercial edition sold by the project (data as of Nov 22, 2026). | Nov 22, 2026 |
| gl-matrix | Open source | gl-matrix is free open-source software released under the MIT license; the gl-matrix package latest 3.4.4 on npm has no declared Node engines, published Aug 8, 2025. No paid commercial edition or per-seat license is sold by the project (data as of Nov 23, 2026). | Nov 23, 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
earcut: ISC licensed polygon triangulation library; free to use, modify and redistribute, with no paid tier sold by the project. Check the official site for any hosted plan.
Open source does not always mean every hosted version is free.
Key pricing: earcut is free open-source software released under the ISC License; the earcut package latest 3.2.4 on npm has no declared Node engines, published Sep 28, 2026. No paid commercial edition or per-seat license is sold by the project (data as of Nov 23, 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
Three.js
A general-purpose JavaScript 3D library that renders WebGL scenes in the browser, providing cameras, meshes, materials, lights, textures, shaders, geometry loaders, animation loops and post-processing, the foundation for most web 3D demos, product viewers and interactive scenes.
gl-matrix
High-performance JavaScript matrix and vector math library for WebGL and 3D graphics, with 2D and 3D vectors, 4x4 matrices, quaternions, mat4 and vec3 operations, identity, multiply, translate, rotate, scale, perspective, lookAt and normalization functions, designed to allocate minimal garbage per frame.
Tool Information
- Official Websitegithub.com
- CategoryDev Workflow & Productivity
- PricingOpen Source
- Price checkedNov 23, 2026
