Free · Private · In-Browser
SRT to VTT Converter — Subtitles for HTML5 Video
Open the converterThis SRT to VTT converter turns SubRip subtitle files into WebVTT files compatible with HTML5 video, fully in your browser. Useful when you have caption files from a transcription service or video editor and need to drop them straight into a `<track>` element on a webpage.
SubRip (.srt) is the de facto format for subtitle files — almost every transcription tool, video editor, and download service produces it. But HTML5 video does not accept SRT directly; the `<track>` element requires WebVTT (.vtt). The two formats are almost identical, with three small differences: VTT requires a "WEBVTT" header, uses a period instead of a comma as the millisecond separator, and treats cue indices as optional.
The conversion runs as pure text transformation in your browser — no upload, no decoding, no encoding overhead. Even multi-megabyte caption files convert in milliseconds. Cue text, line breaks, and HTML-style formatting tags (e.g. <i>, <b>) pass through unchanged.
After conversion the VTT file is ready to drop into a `<track src="captions.vtt" kind="subtitles">` element. Browsers will pick it up automatically and overlay it on the video.
Frequently asked questions
What is different between SRT and VTT?
VTT requires a "WEBVTT" header, uses periods instead of commas as millisecond separators in timestamps, and treats cue index numbers as optional rather than required.
Is my subtitle file uploaded?
No. Conversion happens in your browser using a small regex-based transform. Nothing is sent to a server.
Does it preserve formatting like <i> and <b> tags?
Yes. Both SRT and VTT support the same HTML-style inline tags, so they pass through unchanged.
What about multi-line cues?
Line breaks inside a cue are preserved. The output VTT keeps the exact same line structure as the input SRT.
Will the cue indices be removed?
Yes. VTT does not require numeric cue indices, so they are stripped for a cleaner file. Optional VTT cue identifiers can be added separately if needed.
Related tools
Files stay on your device. No login. Installs as a PWA on iPhone, Android, and desktop.
← Back to Free File Converter