Text to Speech
Account

How to create SRT and VTT subtitles from text

Short answer: paste your script into Text to Speech, pick a voice and press Generate Audio. Every generation comes with two subtitle files, SRT and VTT, timed to the generated speech word by word. Download them next to the audio.

Step by step

  1. Choose the Voice Language that matches your script, then a voice.
  2. Paste or import your text (up to 5,000 characters). End sentences with punctuation: each sentence becomes its own caption.
  3. Optionally add pauses with [break:500ms] or [break:2s]. Pauses show up as gaps between captions.
  4. Press Generate Audio.
  5. In the result, download the audio and the ⬇ SRT or ⬇ VTT file.

What the files look like

This is the real output for the script Welcome to the course. In this lesson, you will learn how subtitles are timed. Each cue follows the speech, word by word. with the voice Aria (US):

SRT

1
00:00:00,100 --> 00:00:01,300
Welcome to the course.

2
00:00:02,162 --> 00:00:05,125
In this lesson, you will learn how subtitles are timed.

3
00:00:05,988 --> 00:00:08,662
Each cue follows the speech, word by word.

VTT

WEBVTT

00:00:00.100 --> 00:00:01.300
Welcome to the course.

00:00:02.162 --> 00:00:05.125
In this lesson, you will learn how subtitles are timed.

00:00:05.988 --> 00:00:08.662
Each cue follows the speech, word by word.

How the captions are built

Captions are built from the word timings the speech engine reports, so each one starts with its first spoken word and ends with its last.

Should you use SRT or VTT?

SRT and VTT contain the same captions and timings; they differ only in layout and in where they are used.

Use SRT for video editors and upload sites, and VTT for captions in a web page's video player (the HTML <track> element).

SRT (.srt)VTT (.vtt)
First lineCaption numberWEBVTT header
Time format00:00:01,300 (comma)00:00:01.300 (full stop)
Typical useVideo editors, media players, video platformsHTML5 video on web pages (<track>)

Using the files

Troubleshooting

More fixes are in the help centre; the voiceover guide covers the whole script-to-video workflow.

Last updated: