huggingface/transformers.js
State-of-the-art Machine Learning for the web. Run ๐ค Transformers directly in your browser, with no need for a server!
- Stars
- 16k
- Forks
- 1.2k
- Open issues
- 194
- Last push
- today
About transformers.js
transformers.js is a free, open-source computer vision tool by huggingface, written mainly in JavaScript. State-of-the-art Machine Learning for the web. Run ๐ค Transformers directly in your browser, with no need for a server!. It has 16k GitHub stars and 1.2k forks, and was last updated today. It's released under the Apache-2.0 license, a standard open-source license.
- License
- Apache-2.0
- Language
- JavaScript
- Stars
- 16,363
- Last update
- today
- Runs on Mac
- Not stated
- GPU
- Not stated
- Paid API key
- Not required
- Self-hostable
- Not stated
Similar free tools
tesseract.js39k stars ยท Pure Javascript OCR for more than 100 Languages ๐๐๐ฅ
MambaVision2.2k stars ยท [CVPR 2025] Official PyTorch Implementation of MambaVision: A Hybrid Mamba-Transformer Vision Backbone
vit-pytorch26k stars ยท Implementation of Vision Transformer, a simple way to achieve SOTA in vision classification with only a single transformer encoder, in Pytorch
scribe.js322 stars ยท JavaScript OCR and text extraction for images and PDFs.
eomt633 stars ยท [CVPR 2025 Highlight] Official code and models for Encoder-only Mask Transformer (EoMT).
spacy-transformers1.4k stars ยท ๐ธ Use pretrained transformers like BERT, XLNet and GPT-2 in spaCy
transformers.js FAQ
Is transformers.js free?
Yes. transformers.js is open source and free to use. It's released under the Apache-2.0 license, a standard open-source license.
Does transformers.js run on a Mac?
Its README doesn't say. Check the installation guide on GitHub before you start.
Does transformers.js need a GPU?
Its README doesn't state hardware needs. AI models generally run much faster with a GPU.
Is transformers.js still maintained?
Yes. It was last updated today and has 194 open issues on GitHub.
What are alternatives to transformers.js?
Similar free, open-source tools include tesseract.js, MambaVision, vit-pytorch, scribe.js.