Header

Three.js

The most widely used JavaScript library for rendering 3D graphics in the browser with WebGL and WebGPU.

3DFreeOpen source
Visit Site

At a glance

Checked

Pricing
  • Free: the whole library, the browser editor and the examples
From threejs.org, checked 21 Nov 2026
Licence
MIT, open source
GitHub
github.com/mrdoob/three.js119.1k stars · 37k forks · written in JavaScriptLatest release r187, 30 Oct 2026From GitHub, updated at every build
Platforms
In the browser, as a JavaScript library rendering with WebGL or WebGPU

What it’s good for

Three.js is a JavaScript library for 3D in the browser. You build a scene from cameras, lights, meshes and materials, load glTF models and textures, and render it with WebGL or WebGPU, with SVG and CSS3D renderers available as addons. Product viewers, interactive hero sections, data visualisations and browser games are typical uses.

It suits front-end developers and creative coders who are comfortable writing JavaScript and want full control over a scene. It is free and MIT licensed, with a large set of examples, documentation, a manual and an editor on threejs.org. New releases come out as numbered revisions; r187 is the current one.

Beside the documentation and manual, threejs.org links a TSL guide, a DevTools extension for Chrome, a forum and a Discord server where you can ask questions.

Alternatives to Three.js

All 3D tools

Questions

Is Three.js free for commercial projects?
Yes. Three.js is open source under the MIT licence, which allows commercial use.
Does Three.js support WebGPU?
Yes. The current builds include both a WebGL renderer and a WebGPU renderer.