TensorFlow.js
Lets web developers build, train and run AI models directly in a web browser or in Node.js.
- Your data
- Stays on your device
- Coding needed
- Developers only
- Cost
- Free
- Runs on
- Web browser
- Computer
- An ordinary computer is fine
Lets web developers build, train and run AI models directly in a web browser or in Node.js.
TensorFlow.js is a JavaScript library, part of Google's TensorFlow family, for machine learning in web pages and in Node.js (JavaScript running on servers). Because models can run inside the browser, data can stay on the user's device.
Developers can build new models from scratch, convert existing TensorFlow and Keras models to run on the web, or retrain models with data gathered in the browser, such as sensor input. It uses the computer's graphics hardware through WebGL or WebGPU for speed, and a collection of ready-made models is available.
Web developers who want to add AI features to websites and apps.
Developers only. A JavaScript library for programmers. New to this? Start here.
Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?