Skip to main content

SRT file: what it is and how to open, create and edit one

The Videas teamOctober 3, 2026Updated 9 min read

An SRT file is a text file that holds a video’s subtitles: each subtitle carries a number, a time range and the text to display. It holds no picture and no sound, which is why nearly every video player, editor and platform can read it.

The format comes from SubRip, a subtitle extraction program; the .srt extension stuck. This guide shows what is inside the file, how to open, create and edit it, and how to avoid the errors that make it unreadable. The glossary gives the short definition.

On video (3 min 15 s): exporting subtitles as SRT, VTT or ASS from Videas Scribe, or burning them into the video.

Read the video transcript

Generic subtitles look like no one. With Scribe, customize everything — font, colors, position — and that style becomes yours, applied automatically to all your future videos.

Three types of presets, sorted by use: Social, for what needs to catch the eye in a feed; Business, clean and readable; Retro, if you want a strong look. You click, you see. A useful detail: this style is the one of the subtitles burned into the video you export. The Mediasbox player and the embeddable player display subtitles their own way.

If no preset fits, take over with Customize. Important: here, you're only styling this one video. You can push the style as far as you like for a particular case — a campaign video, a video on a light background — without changing any of your other projects. Font, size, weight, italic, uppercase, text color, background color and its opacity; the outline, essential whenever the image behind is light; the vertical position, so the subtitles don't sit under your logo.

Now, if that style is your style, the one for all your videos, don't redo it for every project. Leave the editor and go to the settings: Default Style. You'll find the same settings there, sorted into tabs — text, background, outline, position — with a preview true to the exported video. And if you'd rather not start from scratch, pick one of the 27 themes, then adjust. Once saved, this style applies to the whole organization; only the videos you styled in the editor keep their own.

That's the one thing to remember from this part: Customize in the editor means this video; Default Style in the settings means the whole organization. And to bring a video back to the shared style, the editor's Default Style button does it in one click.

On to the export. Does the text stay separate from the image, or merge with it? Separate means a subtitle file: tick the languages you want and choose the format. SRT, the all-rounder; VTT for the web; ASS to keep the formatting; JSON if a developer needs to work with it; TXT if you only want the text. The advantage: viewers can turn subtitles on and off, and switch languages.

Merging means burning in: a single language, burned into the image with the style you just set. It can't be turned off, which is exactly what you need on social media, where videos start without sound. Choose the language and the codec — H.264 for maximum compatibility, H.265 for a lighter file — and start. Encoding takes a while on long videos, but you don't have to wait in front of it: you'll find the video in your transfers, bottom right, and by email if it takes long.

Transcribed, corrected, reviewed, translated, styled, exported: your video now speaks to everyone. This series took you from automatic generation all the way to the final export. You now know how to subtitle, make your videos accessible and translate them on your own, from start to finish.

What an SRT file contains

Here are three subtitles, as you see them when you open an SRT file:

1
00:00:01,000 --> 00:00:04,000
Hello everyone,
and welcome to this tutorial.

2
00:00:04,500 --> 00:00:07,200
Today we learn how to read an SRT file.

3
00:00:07,800 --> 00:00:10,000
It is simpler than it looks.

Every block always has four parts, in this order:

  1. The number of the subtitle, starting at 1, in display order.
  2. The time range: the start and the end, separated by -->. The format is hours:minutes:seconds,milliseconds, with a comma before the milliseconds.
  3. The text, on one or two lines. Beyond that, the subtitle gets hard to read.
  4. A blank line, which closes the block. Without it, the player glues two subtitles together.

Many players also accept a few tags in the text, such as <i> for italics or <b> for bold. The rest of the formatting (font, colour, position) does not exist in SRT: the player decides.

How to open an SRT file

An SRT file opens in two ways, depending on what you want to do with it:

  • To read or fix the text: any text editor, such as Notepad on Windows or TextEdit on macOS (in plain text mode). You see the blocks as they are written.
  • To see the subtitles on the video: a video player such as VLC. Put the SRT file in the same folder as the video, with the same name (interview.mp4 and interview.srt): most players load it on their own. Otherwise, add it from the subtitles menu.

Double-clicking an .srt sometimes opens an unexpected program, because the system does not always know what it is for. Right-click, then “Open with” to pick the text editor.

How to create an SRT file

By hand

You can write an SRT in a text editor, block by block, noting the times while replaying the video. It is doable for a one-minute video. For a one-hour interview, count several hours of typing and timing.

Automatically, from the video

An automatic subtitling tool listens to the sound track, writes the text and splits it into subtitles already timed. With Videas Scribe, you drop in the video, the spoken language is detected, and the subtitles arrive within minutes, in more than 100 languages. You review them in the editor, then export them as SRT, VTT, ASS, JSON or TXT. Generation costs €0.10 per minute of video and per language, with no subscription, and €5 in credits is free every month.

If you need the full text rather than subtitles, the guide convert an MP4 video to text shows the Word and TXT export.

How to edit an SRT file

To fix a typo or a proper noun, a text editor is enough: change the text, leave the numbers and times alone, and save as UTF-8.

As soon as you need to move times, split a subtitle that is too long or merge two, the text editor becomes tedious: every change shifts the numbering and means recalculating milliseconds. A subtitle editor does that work for you. In Videas, you can import an existing SRT or VTT file onto a video, correct it in the editor while replaying each line, translate it, then export it again. The import takes files up to 10 MB.

SRT or VTT: what is the difference

VTT (WebVTT) is SRT’s cousin designed for the web. The VTT glossary entry defines it; here is what sets them apart in practice:

SRT VTT
Millisecond separator Comma: 00:00:01,000 Dot: 00:00:01.000
Header None The first line is WEBVTT
Subtitle numbers Required Optional
Position and style No (italics and bold depending on the player) Yes: on-screen position, alignment, styles
Where it is used YouTube, editing software, players such as VLC, most platforms Video players on web pages (HTML5), which expect it

In practice: keep SRT to send to a platform or an editor, and VTT for a player embedded on a website. Videas exports both from the same track, without running the generation again.

Convert VTT to SRT, or SRT to VTT

Both formats carry the same content: converting only changes the form. By hand, in a text editor:

  • VTT to SRT: delete the WEBVTT line and anything after it up to the first subtitle, number each subtitle if it is not numbered, replace the dot before the milliseconds with a comma (00:00:01.000 becomes 00:00:01,000) and remove any position settings placed after the timecodes.
  • SRT to VTT: add WEBVTT as the first line, followed by a blank line, then replace the comma before the milliseconds with a dot. The numbers can stay.

On a long file, replacing by hand gets risky: one forgotten comma and the player skips that subtitle. In Videas, import the VTT or SRT file onto the video, then export it in the other format: the conversion is done for you, and you can correct the text along the way.

Turn a TXT file into an SRT

A TXT file has no timecodes: turning it into an SRT mostly means timing every sentence, and that is where all the work lies. The fastest way is to go back to the video: generate the subtitles automatically, they arrive already split and timed, then rework in the editor the passages where your original text differs.

The errors that make an SRT unreadable

Most SRT files a platform rejects fail for one of these reasons:

  • Accented letters show up garbled (“é” instead of “é”): the file is not UTF-8. Open it in a text editor and save it again, choosing UTF-8 encoding.
  • A time is written wrong: a dot instead of the comma, or milliseconds on two digits. The expected format is exactly 00:00:01,000.
  • Two subtitles overlap: the end of one runs past the start of the next. Some players show both at once, others skip the second. Shorten the first.
  • The numbering skips or repeats after an edit by hand. Renumber from 1 to the last block.
  • The blank line is missing between two blocks: the subtitles stick together. Add it.
  • The file kept a word processor’s extension (.srt.txt, .docx): save it as plain text, with the .srt extension alone.

An SRT generated and then exported by a subtitle editor avoids these errors from the start, since nobody retypes the times.

How to add an SRT file to a video

There are two ways, and they do not serve the same places:

  • Attach the file to the video: the video and the SRT stay separate, and the player displays the subtitles. Viewers can turn them on, off or switch language. This is what YouTube does when you upload an SRT file to it (the tutorial on adding SRT subtitles to YouTube walks through the upload), and what the Videas player does with its subtitle tracks.
  • Burn the subtitles into the picture: the text becomes part of the video and shows everywhere, but it can no longer be turned off or corrected without exporting again. It is the choice for social networks where video starts muted. The help article export subtitles, or burn them into the video shows both outputs in Videas.

FAQ

What is an SRT file?

A plain text subtitle file in the SubRip format. Each subtitle takes up a block of four parts: a number, a time range in the format 00:00:01,000 --> 00:00:04,000, the text, then a blank line.

What program opens an SRT file?

A text editor to read or fix the text, such as Notepad or TextEdit. A video player such as VLC to see the subtitles on the video: just give the SRT file the same name as the video.

How do I create an SRT file for free?

By hand in a text editor, or automatically with a subtitling tool. With Videas, you create a free account, €5 in credits is free every month, and generation then costs €0.10 per minute of video: a 10-minute video comes to €1.

What is the difference between an SRT and a VTT file?

VTT starts with the line WEBVTT, separates milliseconds with a dot instead of a comma, and lets you position and style the text. Players on web pages expect VTT; YouTube and most software take SRT.

Why do the accents in my SRT file show up wrong?

Because the file is not encoded in UTF-8. Open it in a text editor, choose “Save as”, then UTF-8 encoding: the “é” turn back into “é”.

Can an SRT file be translated?

Yes. In Videas, you import the SRT onto the video, then translate it into one or more of the 100+ available languages, keeping the same times. Each language then exports to its own SRT file.

Does an SRT file contain the video?

No. It holds only text and times, and usually weighs a few kilobytes. The video and the SRT file live separately, unless the subtitles are burned into the picture.


An SRT file is a simple format; what matters is the text inside it and how well its times are set. The fastest way is to have AI write it, then review it.

Generate an SRT file for free