How to Read and Fix SRT Subtitle Files
An SRT file is one of the simplest formats around. You can open it in any text editor and fix it by hand.
Structure of an SRT file
Each subtitle is a block of three parts:
- A number:
1 - A time range:
00:00:05,000 --> 00:00:08,500 - One or two lines of text, followed by a blank line.
Common problems and fixes
- Strange characters. The file is probably not UTF-8. Open it in an editor and save as UTF-8.
- Subtitles are late or early. Use your player's subtitle delay or shift all timestamps with a subtitle tool.
- Subtitles do not load. Give the file the same name as the video and put it in the same folder.
- Wrong frame rate. Subtitles drift over time. Re-time them to match the video.
SRT versus VTT
WebVTT (.vtt) is the web standard used by HTML5 video. It starts with a WEBVTT line and uses a full stop in times instead of a comma. Tools can convert between the two.
Editing tips
- Keep lines short, with a maximum of two lines per subtitle.
- Do not leave blank lines inside a subtitle.
- Check that numbers run in order.