browser-whisper

Transcribe audio and video entirely in the browser with WebGPU Whisper - zero server, fully local.

Working when we checked on .

Visit browser-whisper

What is browser-whisper?

Browser-whisper is an npm library that transcribes audio and video entirely in the browser using WebGPU Whisper, with zero server and fully local processing powered by Transformers.js and WebCodecs. It is aimed at web developers who want to add speech-to-text to their apps without sending audio to a backend. It offers an async iterable API yielding timestamped text segments, supports multiple models including whisper-tiny/base/small (99 languages), moonshine, distil-whisper, and NVIDIA Parakeet models. A BCP-47 language parameter can skip auto-detection for faster, more accurate results. Live demos cover OPFS caching, manual model download, and live microphone transcription with VAD.

browser-whisper pricing

Pricing model: Freemium

browser-whisper pros

  • Runs entirely in the browser with zero server; audio stays fully local
  • Supports 8 models including whisper-tiny/base/small, moonshine, distil-whisper, and NVIDIA Parakeet
  • Multilingual whisper models support 99 languages with auto-detection
  • Streaming async iterable API yields timestamped text segments
  • Provides a live demo plus examples for OPFS cache, manual model download, and live mic with VAD

browser-whisper cons

  • Moonshine, distil-whisper, and parakeet-ctc models are English only
  • Parakeet-tdt-0.6b-v3 requires WebGPU support
  • No pricing or commercial licensing terms are documented on the page

Frequently asked questions about browser-whisper

What does browser-whisper do?

It transcribes audio and video entirely in the browser using WebGPU Whisper, with zero server and fully local processing powered by Transformers.js and WebCodecs.

How do you transcribe a file in code?

Create a BrowserWhisper instance with a model option, then iterate over whisper.transcribe(file) with a for-await loop. Each iteration yields objects containing text, start, and end timestamps.

Which languages are supported?

The whisper-tiny, whisper-base, and whisper-small models are multilingual and support 99 languages. Moonshine, distil-whisper, and parakeet-ctc models are English only, while parakeet-tdt-0.6b-v3 supports 25 European languages with auto-detection.

Can you set the language manually?

Yes. Pass any BCP-47 code as the language option to skip auto-detection, which is slightly faster and more accurate when the language is known.

Is any audio sent to a server?

No. Transcription runs entirely in the browser with zero server involvement, and all processing is fully local.

Who is browser-whisper for?

It is aimed at web developers who want to add browser-based speech-to-text to their applications using an npm package installable via bun, npm, pnpm, or yarn.

What models are available?

Available models include whisper-tiny, whisper-base, whisper-small, moonshine-tiny, moonshine-base, distil-whisper-small, parakeet-ctc-0.6b, and parakeet-tdt-0.6b-v3.

Are there demos available?

Yes. A live demo lets you upload audio or video and transcribe in one step, and additional examples cover OPFS cache, manual model download, and live mic transcription with VAD.

Does any model have special requirements?

Yes. The parakeet-tdt-0.6b-v3 model, which supports 25 European languages with auto-detection, runs only with WebGPU.

How is the software licensed?

It uses third-party models under their own licenses: Whisper by OpenAI (MIT), Moonshine by Useful Sensors (MIT), Distil-Whisper by Hugging Face (MIT), and Parakeet models by NVIDIA under CC BY 4.0.

Categories

Use cases

Alternatives to browser-whisper

Similar AI tools

Search AI tools on NeedAnAI · All AI tools A–Z