Subtitle formats explained: SRT, VTT and ASS

How the common subtitle formats differ, why timing drifts and how to fix broken characters.

Subtitles are plain text files with timing information, but several formats exist and a player that works with one may refuse another. Knowing the differences makes fixing problems much easier.

SRT

SubRip (.srt) is the simplest and most widely supported format. Each entry has a number, a time range such as 00:01:02,500 --> 00:01:05,000 and one or two lines of text. It carries almost no styling, which is exactly why every player, TV and editor understands it. If you are unsure which format to choose, choose SRT.

VTT

WebVTT (.vtt) is the format used by HTML5 video on the web. It looks like SRT but starts with a WEBVTT header, uses a dot instead of a comma for milliseconds and supports positioning and basic styling. Use it when you add captions to a video on your own website.

ASS / SSA

Advanced SubStation Alpha (.ass) supports fonts, colours, outlines, on-screen positioning and effects, which is why it is popular for anime and karaoke. The price is compatibility: simple players may ignore the styling or fail to load the file, and converting to SRT removes the formatting.

Why timing drifts

If dialogue slowly gets out of sync, the subtitle was probably made for a version of the video with a different frame rate, for example 23.976 versus 25 frames per second. A constant offset, where every line is early or late by the same amount, is fixed by shifting all times. A drift that grows over time is fixed by changing the frame rate or stretching the timing.

Broken characters

Letters such as ç, ğ, ı, ö, ş and ü turning into strange symbols usually mean the file was saved in an old encoding like Windows-1254 but is read as UTF-8, or the other way round. Re-saving the file as UTF-8 solves it for nearly every player.

Tidy-up tips

  • Keep lines to about 42 characters and at most two lines per entry.
  • Show each entry for at least one second, and no longer than seven.
  • Remove hearing-impaired tags or advertising lines if you do not need them.

Reading an SRT file

An SRT file is plain text, and knowing its structure makes most repairs simple. Each cue has a number, a time line and one or more lines of text, followed by a blank line:

  • The number is a running counter that starts at 1.
  • The time line looks like 00:01:15,250 --> 00:01:18,900, with a comma before the milliseconds.
  • The text can span more than one line.
  • A blank line ends the cue.

VTT files look similar, but they begin with the word WEBVTT and use a full stop before the milliseconds. That small difference is why simply renaming a file from .srt to .vtt may not work.

How much text fits on screen?

Good subtitles are comfortable to read while people also watch the picture. Broadcasters and streaming services publish their own rules, and the numbers differ, but common guidelines are:

  • At most two lines on screen at once.
  • About 37 to 42 characters per line.
  • A reading speed of around 15 to 20 characters per second, lower for children's programmes.
  • A minimum on-screen duration of about one second, so that short lines do not flash by.
  • A small gap between consecutive cues, so the viewer's eye notices that the text has changed.

Long lines are easier to read when they break at natural points: after a comma, before a conjunction or between phrases. Avoid separating a name from its surname, or an adjective from the noun it describes.

Delay or wrong speed: telling them apart

Subtitle timing problems come in two kinds, and each has a different fix. Watch the first and last few minutes of the video:

  • If the text is early or late by the same amount everywhere, the problem is a constant offset. Shift all the cues by that amount.
  • If it is nearly right at the start but increasingly wrong towards the end, the problem is a frame rate difference, often 23.976 against 25 frames per second. Converting between those frame rates fixes it, and shifting alone never will.

A file made for a different cut of the film may be correct until a certain scene and then jump. In that case neither fix is enough, and you need to shift the part after the jump separately or look for a subtitle made for your version.

Turkish characters and encodings

If you see strange symbols in place of ş, ğ, ı or İ, the file was probably saved in an older encoding such as Windows-1254 and the player is reading it in a different one. Converting the file to UTF-8 solves this for almost all modern players. Some older television sets and media boxes still expect a particular encoding, so if UTF-8 fails on such a device, check its subtitle language or encoding setting as well.

Soft subtitles and burned-in subtitles

Soft subtitles are a separate track or file that viewers can switch on and off. They can be corrected at any time and translated into other languages. Burned-in subtitles are drawn into the video picture, which guarantees that they display everywhere, including on social networks that autoplay without sound, but they cannot be removed or edited later. A sensible workflow keeps a clean subtitle file as the master version and burns in a copy only when a platform requires it.

Respect the original work

Subtitles for films and series are often creative works with their own rights, and so are the videos they accompany. Use and share them only where you have permission, and credit translators when you redistribute their work.

Tools mentioned in this guide