To translate a VTT file, change only the caption text of each cue and leave the WEBVTT header, the timestamps and any cue settings exactly as they are. You can do that by hand in a text editor, with a subtitle translator that reads WebVTT, or with a script. The method matters less than the check at the end: the translated file must have the same number of cues, with the same times, as the original.
Aivently is our product, and we mention it where it fits. The manual method below works with any tool.
What a VTT file contains
A VTT file (WebVTT) is a plain-text caption format used by web video players, online course platforms and meeting tools. It is UTF-8 text with a .vtt extension. A short file looks like this:
WEBVTT
NOTE Episode 4, final cut
1
00:00:01.000 --> 00:00:04.200
Welcome back to the channel.
2
00:00:04.600 --> 00:00:08.900 align:start line:85%
Today we are fixing a leaking tap
in under ten minutes.Each part has a job, and only one of them should change when you translate:
| Part | Example | Translate it? |
|---|---|---|
| Header | WEBVTT | No, keep it as the first line |
| NOTE block | NOTE Episode 4, final cut | Optional, it is never shown to viewers |
| Cue identifier | 1, 2 | No |
| Timing line | 00:00:01.000 --> 00:00:04.200 | No |
| Cue settings | align:start line:85% | No |
| STYLE block | CSS rules for the captions | No |
| Cue text | Welcome back to the channel. | Yes |
The W3C gives the same three rules to volunteers who translate its own video captions: translate all text segments, keep the first WEBVTT line, and do not edit the time intervals. If you want the full structure, MDN has a clear reference for the WebVTT format, and the W3C specification is the formal source.
Where your VTT file probably came from
The source of the file tells you what to watch for.
- Microsoft Teams and Stream. Meeting and webinar transcripts download as
.vtt(Teams webinars give both.docxand.vtt). These files often wrap each line in a voice tag with the speaker's name. Keep those tags intact and translate only the spoken words. - Other meeting tools. Some transcripts write the speaker name at the start of each line instead, such as "Maria: Let's start." Translate the words after the colon, and leave names as they are.
- YouTube and course platforms. Caption downloads are often VTT. Auto-generated files can have very short cues and repeated lines, which makes the translation choppy. Clean the source first if you can.
- Video editors and transcription tools. These usually produce clean VTT with no voice tags.
Method 1: Translate a VTT file by hand
For a file under about 50 cues, a careful manual pass is fine.
- Make a copy of the file and name it with the target language, for example
lecture.es.vtt. Never translate the only copy. - Open the copy in a plain-text editor such as Notepad, TextEdit in plain-text mode or VS Code. Word processors can add smart quotes and hidden formatting that break the file.
- Go cue by cue. Replace only the text lines under each timing line. Keep blank lines between cues exactly where they are, because a blank line ends a cue.
- Keep line breaks inside a cue when you can. If the translation is longer, split it into two lines of similar length rather than one long line.
- Save as UTF-8. Accented letters and non-Latin scripts turn into question marks or boxes in any other encoding.
This works when you know both languages well. It gets slow and error-prone past a few minutes of video, and a single deleted blank line can merge two cues.
Method 2: Use a subtitle translator that reads VTT
A dedicated subtitle translator parses the file, sends only the cue text to the translation model, and writes the result back into the same structure. This is the safest route for long files and for several target languages.
On Aivently's translate subtitles page, the workflow is:
- Drop your
.vttfile on the page (SRT, VTT, ASS and several other formats are accepted, up to 5 MB). - Pick one or more target languages from the list.
- Run the free preview to see the first 20 lines translated, with no account.
- Sign in, confirm the credit quote, and run the full file. Translation costs 1 credit per media minute for each target language, and nothing is reserved until you approve the quote. Your first 10 minutes are free once your email is verified.
- Review each translated line beside the source, then export as VTT or SRT.
The AI translates the cue text and keeps every timestamp and the cue order. Two honest limits: the editor changes text only, not cue times, so if your source timing is off, fix it before you translate. And a translation that runs longer than the source can produce long lines, so read the result before you publish it.
Other tools also translate VTT files, including document translators and browser extensions. Whatever you use, run the check in the last section on the output.
Method 3: Convert to SRT, translate, convert back
Some translators accept SRT but not VTT. In that case:
- Convert the VTT to SRT with the free subtitle converter. It runs in your browser and needs no account.
- Translate the SRT in the tool you prefer.
- Convert the translated SRT back to VTT with the same converter.
The catch is that SRT has no place for VTT cue settings, STYLE blocks or NOTE blocks, so positioning such as align:start or line:85% is lost in the round trip. If your captions rely on position, for example to move text away from on-screen graphics, use a translator that reads VTT directly instead. For the full list of differences between the two formats, see our SRT vs VTT comparison.
Method 4: Script it
Developers who translate many files can parse the VTT, send the cue text to a translation API, and write the result into a copy of the original structure. The safe pattern is:
for each block in the file:
if block is a cue:
keep identifier, timing line and settings
translate the text lines
else:
copy the block unchanged (header, NOTE, STYLE, REGION)
write the file as UTF-8Send cue text in batches with a few neighbouring cues for context, because a sentence often runs across two or three cues. Translating each cue alone gives literal, disconnected lines. Never send the timing lines to a general text model: a chat model may rewrite them, round them or drop a cue without warning.
Which method fits your file
| Situation | Best method | Why |
|---|---|---|
| Short file, you know both languages | By hand | Full control, no tools needed |
| Long file or several languages | VTT subtitle translator | Structure is handled for you |
| Your translator only takes SRT | Convert, translate, convert back | Works, but cue positions are lost |
| Hundreds of files a month | Script with an API | Cheapest at scale, needs code |
| Meeting transcript with speaker names | VTT translator, then review names | Voice tags and names need a human check |
Check the translated VTT before you use it
Do these checks every time, whatever method you used:
- Header. The first line is still
WEBVTT. - Cue count. The translated file has exactly as many cues as the source.
- Timestamps. The first and last few timing lines match the source exactly. A quick side-by-side in a diff tool shows any change.
- Line length. Translations into German, French or Spanish often run longer than English. Keep lines to about 42 characters and two lines per cue, as most subtitle guidelines advise. Our subtitle guidelines cover reading speed and line length in detail.
- Encoding. The file is saved as UTF-8.
- Playback. Load the file in your player or platform and watch a few minutes in the middle and at the end.
The free subtitle checker flags overlapping cues, long lines and fast reading speeds in VTT files, right in your browser. It checks layout and timing, not translation quality, so a native reader is still the best final check.
Frequently asked questions
Can I translate a VTT file for free?
Yes. You can translate it by hand in a text editor, use a free tier of a translation tool, or try Aivently's free 20-line preview with no account. A full AI translation of a long file usually needs credits or a paid plan.
How do I translate a VTT file to English?
Use any of the four methods above with English as the target. If the source is a meeting transcript, check speaker names and technical terms after translation, since models sometimes translate names that should stay as they are.
Can Google Translate translate a VTT file?
Pasting a whole VTT file into a general translator is risky. It can change timestamps, merge lines or translate the WEBVTT header. Copy only the cue text, or use a tool built for subtitle files.
Will translating a VTT file change the timing?
It should not. A correct translation keeps every timing line as it was. If a cue now holds much more text, viewers may struggle to read it in time, so shorten the wording rather than editing the timestamps.
Should I translate VTT or convert it to SRT first?
Translate the VTT directly if your tool supports it, because conversion to SRT drops cue positions and styles. Convert only when your translator cannot read VTT. To translate captions on platforms such as YouTube or in an editor, see our guide on how to translate captions.
