On this page
- Closed captions vs subtitles: what's the difference?
- Open captions vs closed captions
- What is an SRT file?
- How to create an SRT file
- SRT vs VTT: what's the difference?
- How to add subtitles to a YouTube video
- How to make captions easy to read
- Make captioned tutorials of a web app with AI
- Caption mistakes to avoid
- Questions
The short version
- 1Decide: captions burned into the picture, or a separate file viewers turn on and off.
- 2Write an SRT file: a number, a start and end time, one or two lines of text, then a blank line.
- 3For a web player, make it WebVTT: a WEBVTT first line and periods in the times.
- 4On YouTube, upload it in YouTube Studio under Subtitles, choosing With timing.
- 5Keep each caption to two lines at most, on screen as its words are spoken.
Closed captions vs subtitles: what's the difference?
Both put a video's words on screen. The difference is who they're for:
- Captions are for people who can't hear the audio, or have the sound off. They include the speech, who is speaking when that isn't clear, and sounds that matter, such as [alert chimes] or [music].
- Subtitles are for people who can hear but don't speak the language. They translate the speech and leave out the sounds.
Closed captions are captions viewers can turn on and off. Many apps use the words for each other, and the same files carry both: nothing in an SRT or VTT file says which it holds. In a narrated software tutorial, where the voice is nearly all the sound, the two come out much the same.
Open captions vs closed captions
Open captions are burned into the picture, so they always show. Closed captions sit in a separate file that the player draws on top, and viewers choose whether to see them.
| Open (burned in) | Closed (a separate file) | |
|---|---|---|
| Viewers can turn them off | ||
| Viewers can turn them off | No | Yes |
| How they look | ||
| How they look | Your font and size, the same everywhere | The player's style |
| Languages | ||
| Languages | One per copy of the video | One file per language, on the same video |
| Fixing a typo | ||
| Fixing a typo | Export the video again | Edit the file and upload it again |
| Best for | ||
| Best for | Social feeds, where videos often start muted | YouTube, your website and your help center |
To burn captions in, add them in your video editor, typed as titles or imported from an SRT file if your editor can, then export. For closed captions, upload the file next to the video on YouTube or your video host, or add it to your website's player as a .vtt file. You can do both: burned in for social posts, a file everywhere else.
What is an SRT file?
An SRT file (.srt, the SubRip format) is the most widely used caption file, and the one YouTube suggests if you're new to making them. It's plain text: a list of numbered captions, each with the moment it appears and the moment it goes. This is a complete one:
1 00:00:00,500 --> 00:00:04,000 To export your invoices, open Billing in the sidebar. 2 00:00:04,400 --> 00:00:07,000 Filter the list by last month. 3 00:00:07,400 --> 00:00:10,000 Then click Export and choose CSV.
Each caption has four parts:
- A number, counting up from 1.
- A timing line: the start time, an arrow (
-->) and the end time. Times are hours:minutes:seconds,milliseconds, with a comma before the milliseconds. - The text, on one or two lines.
- A blank line before the next caption.
How to create an SRT file
Any plain text editor will do. If you wrote a script for a voiceover, the words are done already: you only add the times.
- Open a plain text editor, not a word processor, or set your editor to plain text.
- Play the video and note when each line is spoken, to a tenth of a second. Your video editor's timeline is the easiest place to read the times.
- Type the first caption: 1, then a timing line such as 00:00:00,500 --> 00:00:04,000, then the text.
- Leave a blank line and type the next one, numbered 2, and so on to the end.
- Save it as plain text in UTF-8, with a name ending in .srt, such as export-invoices.srt. YouTube asks for plain UTF-8, and it keeps accented letters intact.
- Check it: load the file with the video in a player and watch it through.
Writing captions before there's a voice? The free script timer shows how long a line takes to read aloud, a fair first guess at how long its caption stays up. If speech recognition made your captions instead, read them through: product names are what it gets wrong.
SRT vs VTT: what's the difference?
WebVTT (.vtt) is the caption format web browsers use for their video players. It looks almost the same as SRT. Here are the same captions as a VTT file:
WEBVTT 00:00:00.500 --> 00:00:04.000 To export your invoices, open Billing in the sidebar. 00:00:04.400 --> 00:00:07.000 Filter the list by last month. 00:00:07.400 --> 00:00:10.000 Then click Export and choose CSV.
| SRT | WebVTT | |
|---|---|---|
| First line | ||
| First line | The first caption's number | WEBVTT, then a blank line |
| Times | ||
| Times | 00:00:04,000, with a comma | 00:00:04.000 or 00:04.000, with a period |
| Caption numbers | ||
| Caption numbers | Yes, from 1 | Optional |
| Position on screen | ||
| Position on screen | No standard way | Settings such as align and position |
| Used by | ||
| Used by | Most video hosts and editors | Web players |
On your own website, add the .vtt file to the video with a track element. The free subtitle converter converts SRT and VTT files both ways, or turns them into plain text. YouTube accepts both formats.
How to add subtitles to a YouTube video
YouTube takes an SRT or VTT file as it is. In YouTube Studio:
- Sign in to YouTube Studio.
- From the left menu, select Subtitles.
- Select the video you want to caption.
- Click ADD LANGUAGE and select the language of your captions.
- Under Subtitles, click ADD, then select Upload file.
- Choose With timing, since your file has its own times, and select Continue.
- Choose your file and select Save.
You can also add captions while you upload the video. An SRT file must be plain UTF-8, and YouTube ignores any styling in it.
No caption file? Choose Auto-sync instead of Upload file and paste your script: YouTube synchronizes the text with the video for you. The text must be in the language spoken in the video, and YouTube doesn't recommend it for videos over an hour long or with poor audio. YouTube can also make automatic captions with speech recognition, in the video's default language, but read them before you rely on them.
Uploading the video too? The YouTube video size guide lists the resolution and aspect ratio YouTube expects.
How to make captions easy to read
The Captioning Key from the Described and Captioned Media Program (DCMP), a standard for captioning educational video, suits tutorials well. Its main rules:
- No more than two lines per caption.
- Break lines where you would pause in speech, keep names and words that belong together on one line, and don't end a line on a word such as and or but.
- Keep each caption on screen for at least about 1.3 seconds (40 frames at 30 frames a second) and no more than 6 seconds.
- Keep the pace at or under 160 words a minute, its limit for upper-level educational media (140 for middle-level, 130 for lower-level).
- Show each caption at about the same time as its words are spoken.
- Place captions at the bottom, but move them to the top when they would cover a face, a name or text that matters on screen.
On a screen recording, watch what the captions cover
Make captioned tutorials of a web app with AI
For tutorials of a web app, AI can make the captions along with the video. In SayScreen, you give it the page where the lesson starts and describe the lesson. Its AI drives a real Chrome browser through your app, writes and narrates the script, and edits the recording. Every video comes with an .srt caption file, and you can have its captions burned into the picture too. Choose one of 94 languages, and the narration and captions come out in it.
Get the captions with the video
$1 for your first 7 days, then $49 a month for 60 minutes of video, up to 8 minutes each. Cancel anytime.
Caption mistakes to avoid
- Publishing captions from speech recognition without reading them
- Captions that come in late, or stay up after the voice has moved on
- Three or more lines at once
- Covering the button or field the voice is talking about
- Saving the file from a word processor, or in an encoding other than UTF-8
- A comma in a VTT file's times, or a period in an SRT file's
- Leaving out a sound the viewer needs to know about, such as an alert
Questions
Either burn them into the picture in your video editor, so they always show, or make a caption file, usually an SRT, and upload it with the video so viewers can turn captions on and off. To make the file, type each line with its start and end time, or correct the captions a speech recognition tool made.
An SRT file is a plain text file of captions or subtitles. Each caption has a number, a timing line with its start and end, such as 00:00:01,000 --> 00:00:04,000, one or two lines of text and a blank line after it. Most video hosts, players and editors read it, and you can write one in any plain text editor.
Closed captions are for viewers who can't hear the audio, and can be turned on and off: they include the speech, who is speaking and sounds that matter, such as [alarm beeping]. Subtitles are for viewers who can hear but don't speak the language, so they translate only the speech. Many apps use the two words for the same thing.
Both are plain text caption files with times and text. A WebVTT (.vtt) file starts with a line that reads WEBVTT, puts a period before the milliseconds (00:00:01.000) where SRT uses a comma, makes caption numbers optional and can set where a caption sits on screen. Web players use VTT, and YouTube accepts both.
Open a plain text editor and, for each caption, type its number, a timing line in the form 00:00:01,000 --> 00:00:04,000, the text on one or two lines and a blank line. Save the file as plain text in UTF-8 with the .srt extension, then load it with the video in a player and watch it through to check the timing.
In YouTube Studio, select Subtitles in the left menu and select the video. Click ADD LANGUAGE and select the language, then click ADD under Subtitles and select Upload file. Choose With timing for a file such as an SRT, select Continue, choose the file and select Save. You can also add captions while you upload the video.
Sources
Checked against these official pages on .