Skip to main content

Overview

Whisper can translate speech from any supported language directly to English. This is different from transcription, which converts speech to text in the same language.
Translation is a speech-to-English task. Whisper translates the spoken audio directly to English text, not the transcribed text.

Model Requirements

The turbo model does NOT support translation. Only multilingual models can perform translation tasks.

Supported Models for Translation

  • tiny - Fastest, lower accuracy
  • base - Good balance for simple translation
  • small - Better accuracy
  • medium - Recommended for translation tasks
  • large - Highest accuracy

Models That Do NOT Support Translation

  • turbo - Returns original language even with --task translate
  • tiny.en, base.en, small.en, medium.en - English-only models
For best translation results, use the medium or large model.

CLI Usage

Basic Translation

Translate Japanese speech to English:

Translation vs Transcription

Returns text in the original language:
Output: “こんにちは、世界!”

Automatic Language Detection

You can omit the language parameter for automatic detection:
Whisper will detect the language and translate to English.

Processing Multiple Files

Python API

Basic Translation

Specify Source Language

Get Segment-Level Translations

Advanced Translation Techniques

With Initial Prompt for Context

Provide context to improve translation quality:

Compare Original and Translation

Batch Translation

Lower-Level Translation API

Use DecodingOptions for fine-grained control:

Translation with Word Timestamps

Word-level timestamps on translations may not be reliable, as the timing is based on the source language but the text is in English.
While the timestamps correspond to when words were spoken in the original language, the text is the English translation. Use with caution for subtitle generation.

Common Use Cases

Subtitle Generation for Foreign Films

Real-Time Translation API

Multilingual Meeting Transcription

Supported Languages

Whisper can translate from any of its 99 supported languages to English. Some examples:
  • Spanish (es) → English
  • French (fr) → English
  • Japanese (ja) → English
  • German (de) → English
  • Chinese (zh) → English
  • Russian (ru) → English
  • Korean (ko) → English
  • Arabic (ar) → English
For a complete list of supported languages, see the language documentation.