Sample subtitle files: correct and broken SRT, VTT and ASS
Here are three correct sample files, one each in SRT, WebVTT and ASS, with the same four lines (the ASS file adds a sign), and nine broken files that each have one problem people really meet, such as overlapping times or a missing WEBVTT header. We wrote every line ourselves, and you may use the files for anything, such as testing a player, a parser or your own workflow.
Correct sample files
Each file holds the same four lines: three of dialogue and one sound description in italics. The ASS file has a fifth row, a sign placed on screen, to show what only ASS can do. They pass our subtitle checker with no problem at all, so you can use them as a known good starting point.
Sample SRT file
Download sample.srt (UTF-8, Windows line endings)
1
00:00:01,000 --> 00:00:03,500
Good morning. Is the shop open yet?
2
00:00:04,000 --> 00:00:07,200
Not until nine, but you can wait inside.
3
00:00:07,800 --> 00:00:10,400
Thank you. I will take a seat
by the window.
4
00:00:11,000 --> 00:00:13,000
<i>The kettle starts to whistle.</i>
Every block is a number, a timing line, one or two rows of text, then an empty line. SRT has no official specification; the rules players follow are the conventions SubRip's files set and VLC and FFmpeg read: a comma before the milliseconds, two digits for hours, --> with a space on each side, and UTF-8 text. What is an SRT file? explains each part.
Sample VTT file
Download sample.vtt (UTF-8)
WEBVTT
NOTE A short sample file written for Subtitlio. Free to use.
1
00:00:01.000 --> 00:00:03.500
Good morning. Is the shop open yet?
2
00:00:04.000 --> 00:00:07.200
Not until nine, but you can wait inside.
3
00:00:07.800 --> 00:00:10.400
Thank you. I will take a seat
by the window.
4
00:00:11.000 --> 00:00:13.000 line:10%
<i>The kettle starts to whistle.</i>
The same lines in WebVTT, the format browsers read. It differs from SRT in four places you can see here: the file starts with WEBVTT, times use a full stop before the milliseconds, a NOTE block holds a comment that players never show, and line:10% after a time is a cue setting that puts the sound description near the top of the picture. The numbers are cue names, which WebVTT allows but does not need.
Sample ASS file
Download sample.ass (UTF-8)
[Script Info]
; A short sample file written for Subtitlio. Free to use.
Title: Sample
ScriptType: v4.00+
PlayResX: 1920
PlayResY: 1080
WrapStyle: 0
ScaledBorderAndShadow: yes
[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Default,Arial,64,&H00FFFFFF,&H000000FF,&H00000000,&H80000000,0,0,0,0,100,100,0,0,1,3,1,2,60,60,50,1
Style: Sign,Arial,48,&H0000FFFF,&H000000FF,&H00000000,&H80000000,-1,0,0,0,100,100,0,0,1,2,0,8,60,60,50,1
[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:00:01.00,0:00:03.50,Default,,0,0,0,,Good morning. Is the shop open yet?
Dialogue: 1,0:00:01.00,0:00:07.20,Sign,,0,0,0,,{\pos(960,120)}OPEN 9 TO 5
Dialogue: 0,0:00:04.00,0:00:07.20,Default,,0,0,0,,Not until nine, but you can wait inside.
Dialogue: 0,0:00:07.80,0:00:10.40,Default,,0,0,0,,Thank you. I will take a seat\Nby the window.
Dialogue: 0,0:00:11.00,0:00:13.00,Default,,0,0,0,,{\i1}The kettle starts to whistle.{\i0}
An ASS file is a small script in three sections. [Script Info] says it is ASS (ScriptType: v4.00+) and the picture size the positions refer to. [V4+ Styles] names each style once, with its font, size, colors, outline and alignment. [Events] has one Dialogue row per line, where times have one digit for hours and two for hundredths of a second, and everything after the ninth comma is the text. The extra line is a yellow sign, OPEN 9 TO 5, placed at an exact point near the top with {\pos(960,120)} while the dialogue runs below it; \N breaks a row and {\i1} turns italics on. SRT has no standard way to place a line. WebVTT can place one with cue settings, such as line:10% for a share of the picture's height, but its styling is CSS that each player applies in its own way, so converting to WebVTT keeps only an approximate position and loses the fonts and outline. Converted to SRT, the sign becomes an ordinary line.
Broken sample files
Each file below has exactly one problem, so you can see what it does to a player and what a checker should say. All but the last two are SRT. The last column is what our subtitle checker shows when you open the file, and the group it puts it in.
| File | The problem | What the checker shows |
|---|---|---|
| overlapping-times.srt | Line 1 ends at 4.5 s, half a second after line 2 starts | Will it play?: "2 lines overlap others, and some players show only one of them" |
| missing-blank-line.srt | No empty line between subtitles 1 and 2 | Fixed for you: "Missing empty lines between subtitles restored" |
| dot-in-timecode.srt | Subtitle 2 writes its times with a full stop, as WebVTT does | Fixed for you: "Timecodes written the standard way" |
| empty-line.srt | Subtitle 2 has a time but no text | Quick fixes: "1 line is empty", removed with one button |
| numbers-out-of-order.srt | The numbers run 1, 3, 2 | Fixed for you: "Subtitle numbers put in order" |
| bom-shown-as-text.srt | The file starts with , a byte order mark saved as three letters |
Fixed for you: "A stray mark at the start of the file was removed" |
| windows-1251.ru.srt | Russian text saved in Windows-1251, an old regional encoding, not UTF-8 | Fixed for you: "Saved as UTF-8; the file was Windows-1251" |
| comma-in-timecode.vtt | Every time is written with a comma, as SRT does | Fixed for you: "WebVTT layout repaired (a missing blank line or WEBVTT heading, or commas in times), so browsers read every line" |
| missing-header.vtt | The WEBVTT line at the top is missing |
Fixed for you: "WebVTT layout repaired (a missing blank line or WEBVTT heading, or commas in times), so browsers read every line" |
To try one, download it, then open it in the subtitle checker. Nothing is uploaded: the file is read in your browser. Fixed for you means the downloaded copy is already repaired; your original file is not changed, and Download original gives it back exactly as it was.
What each problem does
Overlapping times
1
00:00:01,000 --> 00:00:04,500
Good morning. Is the shop open yet?
2
00:00:04,000 --> 00:00:07,200
Not until nine, but you can wait inside.
For half a second both lines are due on screen. Desktop players such as VLC stack them, but some players show only one, so a line can vanish. An overlap of 100 ms or less is usually a slip, and the checker offers to shorten the first line under Quick fixes; this one is longer, so it is listed under Will it play? for you to decide, since only you know which time is right.
A missing empty line
1
00:00:01,000 --> 00:00:03,500
Good morning. Is the shop open yet?
2
00:00:04,000 --> 00:00:07,200
Not until nine, but you can wait inside.
The empty line is what ends a subtitle. Without it, a player can read 2 and the next timing line as more text of subtitle 1; in VLC the second subtitle is swallowed into the first, since VLC's SubRip reader runs a subtitle's text on to the next empty line. This usually happens when someone edits a file by hand.
A full stop or a comma in the timecode
SRT puts a comma before the milliseconds, 00:00:04,000, and WebVTT a full stop, 00:00:04.000. Files copied between the two formats often keep the wrong one. VLC and FFmpeg accept a full stop in SRT, but other programs may skip the line. Browsers are stricter: the W3C WebVTT specification allows only a full stop there, so a browser drops every cue of comma-in-timecode.vtt and shows no captions at all.
An empty subtitle
2
00:00:04,000 --> 00:00:07,200
A timing line with nothing under it shows nothing for about three seconds. It is usually what is left after a line was deleted in an editor. The checker lists it under Quick fixes, where one button removes it, with Undo.
Numbers out of order
Players go by the times, so numbers-out-of-order.srt usually plays, but some programs that edit or convert SRT expect numbers that count up from 1. Renumbering changes nothing you see, so the checker renumbers it for you.
A byte order mark shown as text, and a wrong encoding
Both files look fine in some editors and broken on a TV. A byte order mark is an invisible character some editors put at the start of a UTF-8 file. When a program reads that file in the wrong encoding and saves it again, the mark becomes three visible letters, , stuck to the first number, so 1 is no longer a number a strict reader recognizes.
windows-1251.ru.srt is Russian, saved the way older Windows programs saved Cyrillic. A player that expects UTF-8 or the Western default shows the first line as Äîáðîå óòðî. Ìàãàçèí óæå îòêðûò? instead of Доброе утро. Магазин уже открыт?. The checker reads it in the right encoding and saves UTF-8. Subtitle encoding explained covers the other encodings and how they are told apart.
A missing WEBVTT header
A WebVTT file must start with WEBVTT, after an optional byte order mark. After it may come nothing, or a space or a tab followed by any text on the same line, then an empty line before the first cue. Without it a browser rejects the whole file, not one line. Desktop players are more forgiving, which is why the file can seem fine until it goes on a web page. The checker adds the header when the file has something only WebVTT has, such as the cue setting line:10% in this sample or a NOTE block. A file with no header and nothing of the kind looks just like SRT written with full stops, and the checker opens it as SRT.
Where the rules come from
- WebVTT: the W3C's WebVTT specification, Candidate Recommendation Draft of May 20, 2026: the
WEBVTTsignature, times with a full stop and exactly three digits after it, hours optional,NOTEblocks, cue settings, and an end time later than the start. - SRT: no specification exists. The rules above are the conventions players follow; the parts of VLC's and FFmpeg's source code that read SRT are linked in the sections above.
- ASS: the Aegisub manual on styles and on override tags such as
\posand\i, and libass, the library most players draw ASS with, for the sections and the time format.
We checked each source on October 31, 2026. Our tests open every sample file with the checker's own engine and compare the messages it shows with the table above, so the table changes if the checker does.
Frequently asked questions
Can I use these sample files in my own project?
Yes. We wrote every line, so they contain no copyrighted film or show. Use them in tests, tutorials or bug reports, with or without a link back.
What is the smallest valid SRT file?
One block: a 1, a timing line such as 00:00:01,000 --> 00:00:03,500, one row of text, and an empty line after it. Players read it as a file with one subtitle.
Why does my file play in VLC but not on my TV?
VLC forgives most of the problems above. TVs, browsers and media servers often do not: an overlap, a missing empty line or a full stop in an SRT timecode can make them skip or drop lines. Open your file in the subtitle checker to see which of these it has.
Should I use SRT, VTT or ASS?
SRT for players, TVs and most video sites, WebVTT for a video on a web page, and ASS when you need fonts, signs placed on screen or karaoke. SRT vs VTT vs ASS compares them in detail, and SRT to VTT converts the sample, or your own file, in your browser.