⚡ BreezyTools Pro — Ad-free experience across all 200+ tools. Less than a coffee a month → Learn More

SRT to VTT Converter

Convert SubRip subtitle files to clean WebVTT format entirely in your browser.

Ready. Paste an SRT file or upload one to convert it.

Convert SRT Subtitles to WebVTT

SRT (SubRip) is the most common subtitle format for downloaded subtitles, video editors, and transcription exports. Web browsers, however, only accept WebVTT (.vtt) captions through the HTML <track> element, and many web video players and online course platforms ask for VTT too. This converter rewrites an SRT file as valid WebVTT, keeping the text and timing exactly as they were.

How to Convert SRT to VTT

  1. Paste your subtitles into SRT Input, or click Upload .srt to open a file. Load Sample shows an example.
  2. Click Convert to VTT. Uploaded files and the sample convert automatically.
  3. Check the WebVTT Output. The status line tells you how many cues were converted.
  4. Click Copy, or Download to save subtitles.vtt.
  5. Use Clear to start over with another file.

What the Converter Changes

Both formats list cues with a start time, an end time, and text. The differences are mostly in the syntax:

SRT input:
1
00:00:01,000 --> 00:00:03,500
Welcome to BreezyTools.

WebVTT output:
WEBVTT

00:00:01.000 --> 00:00:03.500
Welcome to BreezyTools.
  • Adds the header: every WebVTT file must begin with a WEBVTT line followed by a blank line.
  • Changes the millisecond separator: SRT's comma (00:00:01,000) becomes a dot (00:00:01.000). Browsers skip VTT cues whose timestamps use commas.
  • Drops sequence numbers: SRT requires a number above each cue, but cue identifiers are optional in WebVTT, so the numbers are left out.
  • Keeps text unchanged: caption text and line breaks are copied as-is. The basic <i>, <b>, and <u> tags work in both formats.
  • Fixes impossible timings: a cue whose end time is earlier than its start time is given an end time equal to its start.

Using the VTT File on a Web Page

Add a <track> element inside your video tag and point it at the converted file:

<video controls src="video.mp4">
  <track kind="subtitles" src="subtitles.vtt" srclang="en" label="English" default>
</video>
  • Serve the file with the text/vtt content type. Most web servers do this automatically for .vtt files.
  • If the .vtt file is hosted on a different domain than the page, the server must allow cross-origin requests (CORS), and the video element needs a crossorigin attribute, or the browser won't load the captions.
  • WebVTT files must be UTF-8. This tool reads and saves UTF-8, so if accented characters look garbled after upload, re-save the original SRT as UTF-8 and convert again.
  • SRT extras that aren't part of WebVTT, such as <font color> tags or position codes like {\an8}, are copied as text. Browsers ignore unknown tags, but brace codes will show on screen, so delete them.

Subtitles out of sync with your video? Adjust them with the Subtitle Time Shift Tool. Everything here runs in your browser, so your subtitle file is never uploaded.

Frequently Asked Questions

Why do I need VTT instead of SRT for web video?

The HTML <track> element that browsers use for captions only supports WebVTT. An SRT file linked directly from a track element won't display, so it has to be converted first.

What is the difference between SRT and VTT?

SRT numbers every cue, uses a comma before milliseconds, and has no header. WebVTT starts with a WEBVTT line, uses a dot before milliseconds, makes cue numbers optional, and adds features such as positioning, styling, and comments.

Does the converter keep italics and line breaks?

Yes. Caption text is copied exactly, including line breaks and <i>, <b>, and <u> tags, which WebVTT supports. Timing is kept to the millisecond.

Why does the converter say "Invalid timestamp"?

Each time needs two-digit minutes and seconds plus exactly three millisecond digits, as in 00:00:01,000. A value like 00:00:01,00 isn't accepted. The error message shows the timestamp that doesn't match, so you can fix it in the input box and convert again.

Can I convert VTT back to SRT?

Yes. Use the VTT to SRT Converter, which adds sequence numbers back and switches the timestamps to the SRT comma format.

Is my subtitle file uploaded to a server?

No. The conversion runs with JavaScript in your browser, and the file never leaves your device. There's no server-side processing at any step.

Love using BreezyTools?

Go Pro for an ad-free experience, priority features, and support independent development — for less than a coffee a month.

Upgrade to Pro →