SRT vs VTT vs ASS: subtitle formats compared
Use SRT for players, TVs, media servers and video editors, VTT for video on a web page, and ASS when the look of the subtitles matters, as in anime. All three are plain text, and you can convert between them, but styling lost on the way to a simpler format does not come back.
The quick answer
| You want to | Use |
|---|---|
| Watch a downloaded film in VLC, on a TV, in Plex or Jellyfin | SRT |
| Show captions in a video on your own web page | VTT |
| Add captions to a YouTube video | SRT or VTT |
| Import subtitles into Premiere Pro or DaVinci Resolve | SRT |
| Keep fonts, colors, exact positions or karaoke effects | ASS |
When in doubt, SRT is the safest choice: almost everything reads it. The rest of this guide explains where each format comes from and what it can and cannot store.
The same line in SRT, VTT and ASS
Here is one subtitle, placed at the top of the screen with its first line in italics, written in each format. In ASS, it is a line in the events part of the file; a full ASS file also has a header and a list of styles above it:
[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:00:04.20,0:00:06.80,Default,,0,0,0,,{\an8}{\i1}Out.{\i0}\NDon't wait up.
The same subtitle in SRT, as the converter writes it from the ASS line:
1
00:00:04,200 --> 00:00:06,800
{\an8}<i>Out.</i>
Don't wait up.
And in WebVTT, as the converter writes it from that SRT:
WEBVTT
00:00:04.200 --> 00:00:06.800 line:0
<i>Out.</i>
Don't wait up.
The differences are small but strict:
- Times. SRT writes
00:00:04,200with a comma, VTT00:00:04.200with a full stop, and ASS0:00:04.20, in hundredths of a second. - Italics. SRT and VTT use HTML-like tags,
<i>and</i>. ASS uses codes in curly braces,{\i1}and{\i0}. - Line breaks. SRT and VTT start a new row on a new line of the file. ASS writes
\Ninside one long line. - The top of the screen. VTT has a real setting for it,
line:0. ASS has\an8, a position code from 1 to 9 laid out like the numeric keypad of a computer keyboard, with 7, 8 and 9 on the top row. SRT has nothing of its own, so it borrows the ASS code; VLC and players built on FFmpeg, such as mpv, understand it, but YouTube and some TVs do not.
Side by side
| SRT | VTT (WebVTT) | ASS | |
|---|---|---|---|
| Full name | SubRip subtitle | Web Video Text Tracks | Advanced SubStation Alpha |
| First line of the file | Usually the number 1 | WEBVTT |
[Script Info] |
| Time precision | Milliseconds | Milliseconds | Hundredths of a second |
| Italic, bold, underline | Yes, with tags | Yes, with tags | Yes |
| Colors | <font color>, read by many players |
8 named colors, or CSS on a web page | Any color, plus outline and shadow colors |
| Fonts and sizes | Rarely shown | Only through CSS on a web page | Yes, per style or per line |
| Position on screen | Only through borrowed {\an} codes |
Line, position, alignment and width settings | Exact pixel positions, rotation, movement |
| Karaoke, fades, drawings | No | No | Yes |
| Notes and speaker names | No | NOTE blocks and <v> voice tags |
Comment lines and a Name field |
Web page video (<track>) |
No | Yes, the only format browsers read | No |
| YouTube | Yes, without styling | Yes, with position, italic, bold and underline | No |
| Desktop players (VLC, mpv) | Yes | Yes | Yes, with full styling |
| Easy to write by hand | Yes | Yes | Hard |
Where each format comes from
SRT was the output of SubRip, a Windows program that copied subtitles from DVDs into text. It has no official specification, so every player decides what it accepts, but its rules are so simple that nearly every player, TV, phone, media server and video editor reads it. What is an SRT file? shows the format line by line, with the rules players enforce.
VTT, or WebVTT, was written for the web. Browsers show captions through the HTML <track> element, and that element only reads WebVTT. Unlike SRT, it has a real standard, from the W3C, and browsers follow it strictly: a file without WEBVTT on its first line shows no captions at all. Video sites and meeting tools often deliver captions as VTT for this reason.
ASS comes from fan subtitling. It is a newer version of SSA (SubStation Alpha), and a file is really a small script: a header, a list of named styles with fonts, colors and outlines, then the events, one subtitle per line, with override codes in curly braces. Anime releases use it to translate signs in the picture where they appear, to time karaoke lyrics syllable by syllable and to match the fonts of the show. Desktop players draw it all; many TVs and streaming apps draw only part of it, or none.
What you lose when you convert
Text and timing survive every conversion between the three, except that ASS rounds times to hundredths of a second. What can be lost is the styling, because each format stores different things, and ASS by far the most.
| Conversion | What changes |
|---|---|
| SRT to VTT | Almost nothing. Colors become the nearest of WebVTT's 8 named colors; strikeout, font names and sizes, and codes in curly braces such as {\i1} are dropped |
| VTT to SRT | Exact positions, line widths, notes, styles and speaker tags are dropped. Lines at the top or middle keep their place through {\an8} or {\an5} |
| ASS to SRT | Outlines, exact positions, movement, karaoke and fades go, and fonts become tags few players read. Italic, bold, underline, colors and a basic position stay; drawings are removed |
| SRT or VTT to ASS, in the subtitle converter | Text, italics, bold, underline, colors and placement are kept; times are rounded to hundredths of a second |
Going the other way does not bring anything back. An SRT file converted to ASS gets a default style, not the fonts the original ASS release had, so keep the original file if you may need it again. Before you download, each converter here lists what your own file loses, with the number of lines affected.
Signs you have the wrong format
| What you see | What it means | Fix |
|---|---|---|
| A web page video shows no captions | The track is SRT, or the VTT file does not start with exactly WEBVTT |
SRT to VTT, which checks the result the way browsers read it |
{\an8} shows as text at the start of some lines |
The player does not read the borrowed ASS code in SRT | Convert again with top placement turned off, in VTT to SRT or ASS to SRT |
Codes such as {\pos(640,80)} or lines like m 0 0 l 100 0 |
An ASS file was converted by a tool that copied its codes and drawings as text | Convert the original ASS file with ASS to SRT |
| Styled subtitles show plain, or not at all, on a TV | The TV cannot draw ASS | ASS to SRT |
Other formats you may meet
- SBV is YouTube's own simple format: times and text, no styling. The subtitle converter opens and saves it.
- MicroDVD
.subcounts frames instead of time, as in{100}{250}Hello, so it only matches a video with the same frame rate. The converter recognizes it but does not convert it yet. - VobSub (
.idxwith.sub) and PGS (.sup) come from DVDs and Blu-ray discs and hold pictures of text, not text. They need text recognition before they can become SRT, which this site does not do yet. - TTML and DFXP are XML formats used by broadcasters and streaming services. TTML to SRT converts them, keeping italics, colors and lines at the top.
- SAMI (
.smi) is an older Microsoft format that Korea used for years. SMI to SRT converts it to SRT and back.
A .sub file can be either MicroDVD text or the picture half of VobSub, so open it in a text editor first: text means MicroDVD, unreadable symbols mean VobSub.
Frequently asked questions
Is VTT better than SRT?
Not in general. VTT can do more, such as placing a line anywhere and naming speakers, and it is the only format a web page can use. SRT is understood by more players, TVs and editors. Pick the one your player or platform needs.
Which format does YouTube use?
YouTube accepts both, along with SBV and several others. It ignores styling in SRT files, while in VTT files it keeps positions, italics, bold and underline. It does not take ASS.
Can I convert ASS to SRT without losing the styling?
No. SRT has no outlines, exact positions or effects, and few players read its font tags. Italics, bold, colors and a basic top or bottom position can be kept, and ASS to SRT lists everything your file loses before you download.
Why do anime releases use ASS?
Because they translate more than dialogue: signs, letters and on-screen text are typeset in place, songs get karaoke timing, and the subtitles match the show's look. Of the three formats here, only ASS can store all of that. Hardsub vs softsub explains why fans keep it as a track rather than burned into the picture.
Can a file have the wrong extension?
Yes, and it happens often: a VTT file saved as .srt, or an SRT file saved as .txt. The subtitle converter reads the content, not the name, and tells you which format it found.