Exports and subtitle files
How do I convert an SRT file to VTT, or VTT to SRT?
Short answer
Change three things: VTT files start with a WEBVTT line, use a period before the milliseconds instead of a comma, and can carry cue settings and notes that SRT doesn't support. A converter does this in seconds without touching the text or timing. Renaming the file isn't enough. Use VTT for web players and HTML5 video; use SRT for LinkedIn, Facebook and most editing apps.
3 min read
What's the difference between SRT and VTT?
The same caption in each format:
1
00:00:01,000 --> 00:00:03,500
Welcome back to the channel.
WEBVTT
00:00:01.000 --> 00:00:03.500
Welcome back to the channel.
| SRT | VTT (WebVTT) | |
|---|---|---|
| First line | The first cue | WEBVTT |
| Milliseconds | After a comma: 00:00:01,000 | After a period: 00:00:01.000 |
| Hours | Always written | Optional when zero |
| Cue numbers | Expected | Optional |
| Positioning and styling | Not part of the format | Cue settings such as position and alignment |
| Typical use | Platforms and editing apps | Web players and HTML5 video |
VTT is a W3C format, and its header, timestamps and cue settings are defined in the WebVTT specification. SRT has no formal specification, which is why apps differ in which SRT details they accept.
How do I convert SRT to VTT?
- Add
WEBVTTand a blank line at the top. - Replace the comma before the milliseconds with a period in every timing line, and only there.
- Keep the cue numbers or remove them; both are valid VTT.
- Save the file as UTF-8 with a .vtt extension.
How do I convert VTT to SRT?
- Remove the
WEBVTTline and anyNOTEorSTYLEblocks. - Remove cue settings after the end time, such as
align:start. - Write hours in full (
00:01.000becomes00:00:01,000) and use a comma before the milliseconds. - Number the cues from 1 and save the file as UTF-8 with an .srt extension.
Meeting recordings and web players often give you VTT files, while LinkedIn and many editing apps expect SRT.
Can I just rename the file?
No. The header and the timestamp format differ, so a renamed file usually fails to import or shows no captions.
How do I turn either file into plain text?
Remove the numbers and timing lines and keep only the text, for a transcript or blog draft. A converter that exports TXT does this for you.
How to do it in CaptionBolt
For a quick conversion, CaptionBolt's free Subtitle Converter turns SRT into VTT, VTT into SRT, either into TXT, and SRT into a simple ASS file, in your browser without uploading the file anywhere.
- Paste the subtitles or upload the file.
- Choose the conversion, for example SRT to VTT.
- Download the file or copy the result.
The converter keeps the text and timing and drops VTT cue settings and notes, which SRT can't hold. If you're making captions from a video, CaptionBolt exports the formats directly: Pro includes MP4, SRT, ASS, TXT, and Max adds VTT (MP4, SRT, ASS, VTT, TXT). For more detail, see how to convert SRT to VTT for web video, how to convert VTT to SRT and SRT vs VTT.
When another approach is better
- Your VTT file relies on positioning or styling. SRT can't keep it; stay with VTT, or check the result carefully after converting.
- You have hundreds of files. A small script or a command-line tool converts a folder at once.
Related questions
Can I upload an SRT file to TikTok, Instagram, YouTube or LinkedIn?
YouTube, LinkedIn and Facebook accept SRT files; TikTok and Instagram don't take a subtitle file and generate their own captions instead. For TikTok, Reels and Shorts you also post elsewhere, burn the captions into the video so they look the same everywhere, and keep the SRT for YouTube and LinkedIn, where viewers can turn captions on and off.
How do I add an SRT file to my video?
Decide whether viewers should be able to turn the captions off. To keep them optional, upload the SRT next to the video on YouTube, LinkedIn or Facebook, or add it as a subtitle track in a player or video file. To make them permanent, burn the SRT into the picture with HandBrake, FFmpeg or an editing app. TikTok and Instagram don't accept subtitle files, so burn the captions in for those.
How do I burn styled ASS subtitles into a video with FFmpeg?
Use FFmpeg's ass or subtitles video filter, which draws the subtitles onto every frame with libass: ffmpeg -i input.mp4 -vf ass=captions.ass -c:a copy output.mp4. The ASS file keeps its fonts, colors, position and animation, but the fonts must be installed or passed with the fontsdir option. Burning re-encodes the video, so keep a copy of the original.
How do I create an SRT subtitle file from my video?
Let speech recognition write a first draft, then correct it and export SRT. If the video is on your YouTube channel, YouTube Studio can download its captions as a file for free. Otherwise use a caption or transcription tool that exports SRT, such as CaptionBolt on the Pro plan, or type the captions yourself in a subtitle editor. Always check names, numbers and timing before you use the file.