Home › Audio & Video › SRT to VTT

SRT to VTT

Turn SubRip (.srt) subtitles into WebVTT (.vtt) files for HTML5 video players, Video.js, JW Player, Vimeo and online course platforms. Paste text or drop several files, preview every cue on a mock video frame, and download the VTT files one by one or as a ZIP.

Last updated:

VTT options
#StartEndText

Advertisement
Advertisement

How to use the SRT to VTT

  1. Drop your .srt files on the box, click choose files, or paste SRT text into the left box. An example is loaded so you can see the result first.
  2. Check the encoding shown next to each file. Accents look wrong? Pick the correct code page in File encoding.
  3. Choose cue settings if you want every subtitle at the top, left-aligned or positioned; leave them on Player default otherwise.
  4. Drag the preview slider or click a row in the cue table to see how each subtitle will appear.
  5. Press Download .vtt or Copy VTT. For several files, press Download all as ZIP.

What changes when SRT becomes VTT

SRT and WebVTT look almost identical, which is why many SRT files fail on websites for tiny reasons. These are the exact changes the converter makes:

PartSRTWebVTT
First lineCue number 1WEBVTT header, then a blank line
Timestamp00:01:02,500 --> 00:01:04,00000:01:02.500 --> 00:01:04.000
Cue numberRequiredOptional cue identifier (kept if you tick the option)
Position{\an8} tag (unofficial)Cue settings after the time: line:0 align:start position:10%
Formatting<i> <b> <u> <font color><i> <b> <u> <c.class> <v Speaker>
Special characters& and < written as-isMust be escaped as &amp; and &lt;
Text encodingAny (often Windows-1252)UTF-8 only

Using the VTT file on a web page

Upload the .vtt file next to your video and reference it with a <track> element:

<video controls src="lesson.mp4"><track kind="subtitles" src="lesson.vtt" srclang="en" label="English" default></video>

Serve the file with the text/vtt content type. If the video and the VTT are on different domains, the server must send CORS headers and the video needs crossorigin="anonymous", otherwise the browser silently ignores the track. Use kind="captions" instead of subtitles when the file includes sound descriptions such as [door slams] for deaf and hard-of-hearing viewers.

Cue settings in short

  • line:0 puts the cue on the top line; line:-1 is the bottom line (the default), line:-2 one line higher. Percentages such as line:50% place it vertically.
  • align:start | center | end aligns the text inside the cue box; start is left for left-to-right languages.
  • position:10% moves the cue box horizontally. Players apply settings slightly differently, so check the preview in your own player.

Frequently asked questions

What is the difference between SRT and VTT?

Both are plain-text subtitle formats with numbered or named cues and start and end times. VTT (WebVTT) must start with a WEBVTT line, uses a dot instead of a comma before the milliseconds (00:00:01.000), allows cue settings such as line and align after the timestamp, and supports NOTE comments, STYLE blocks and <c> and <v> tags. SRT has none of these extras.

Why do I need VTT instead of SRT for my website?

The HTML5 <track> element used by web browsers only accepts WebVTT. If you add an SRT file to a <video> tag, Chrome, Safari, Firefox and Edge will ignore it. Converting to VTT is required for native browser captions and for most web players.

Does the converter keep italics and other formatting?

Yes. <i>, <b> and <u> tags are valid in both formats and are kept. <font color> tags are not part of WebVTT, so they are removed by default or can be converted into <c.colour> classes that you style with CSS. Other unknown tags are escaped so they show as text instead of breaking the file.

What does {\an8} mean in an SRT file and what happens to it?

{\an8} is a positioning tag borrowed from the ASS format: it puts the subtitle at the top centre, often used so text doesn't cover on-screen captions. WebVTT does not understand it, so the tool removes it and adds the equivalent cue setting line:0 (top). {\an7} and {\an9} also get align:start or align:end.

My accented letters turn into strange symbols. How do I fix it?

Old SRT files are often saved in a Windows code page instead of UTF-8. The tool tries UTF-8 first and falls back to Windows-1252, which covers Western European languages. For Polish, Czech, Russian, Greek, Turkish or Arabic subtitles, choose the matching code page in File encoding; the output is always UTF-8 as WebVTT requires.

Are the subtitle timings changed?

No. Each timestamp is copied exactly, only reformatted from HH:MM:SS,mmm to HH:MM:SS.mmm. A cue whose end time is before its start time, which players would drop, is given a 2-second duration and reported in the notes. To shift or resync timings, use the SRT Time Calculator.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

VTT to SRTConvert WebVTT subtitles to SRT: strips styles and notes, renumbers cues, batch ZIP.SRT Time CalculatorShift subtitle timing, convert SRT frame rates, sync by two points and fix broken SRT files.Subtitle EditorEdit, shift and convert SRT and VTT subtitles.SRT to TextTurn SRT or VTT subtitles into a clean transcript with paragraphs, with or without timestamps.Remove Line NumbersStrip leading numbers like 1., 1), [1] or code line numbers from every line and keep the text.Remove Text in BracketsDelete everything inside ( ), [ ], { }, < > or custom markers, with nested bracket support.MP4 to GIFConvert an MP4, MOV or WebM clip to a sharp GIF: trim, set fps and width, optimized palette.Video to MP3Extract the audio from a video as MP3.MKV to MP4Convert MKV to MP4 in seconds by copying H.264/AAC streams, or re-encode with ffmpeg.Webcam Video RecorderRecord video from your webcam and mic, then download it.Video CompressorCompress videos in your browser: pick a quality and resolution to shrink the file size.Video TrimmerCut the start and end off a video on a visual timeline and save the clip as WebM.Video to Frames ExtractorExtract still frames from a video every few seconds or every Nth frame, as JPG or ZIP.Video Speed ChangerSpeed up a video or make slow motion from 0.25× to 4×, with audio, and save it as WebM.Mute VideoRemove the sound from a video and save a silent copy as WebM, right in your browser.Rotate VideoRotate a video 90° or 180°, or mirror it, with sound, and save the fixed copy as WebM.Video Resolution CheckerCheck a video's resolution, length, frame rate, bitrate and codecs without uploading it.Video File Size CalculatorEstimate video file size from resolution, fps, bitrate and length, or the bitrate for a size limit.Vocal RemoverRemove vocals from a song to make a karaoke instrumental, or pull out an acapella, in your browser.Video CropperCrop a video to 1:1, 9:16, 16:9 or any area by dragging a box, with sound. Saves MP4 or WebM.Video ConverterConvert videos to MP4 or WebM with your choice of resolution, frame rate and bitrate.Video MergerJoin several video clips into one MP4 or WebM in any order, with trimming and fades.MOV to MP4Convert MOV to MP4 instantly with no quality loss, or re-encode to H.264. No upload.WebM to MP4Convert WebM videos to MP4 (H.264) with your choice of resolution and quality. No upload.WebM to MP3Extract the audio from WebM video or audio files and save it as MP3. Free, no upload.Add Audio to VideoAdd music or a voice-over to a video: replace or mix the sound, set offset, volume and fades.Video ReverserPlay a video backwards: reverse a clip with or without reversed sound, or make a boomerang loop.Silence RemoverFind and cut long pauses and dead air in recordings, podcasts and voice memos automatically.Add Subtitles to VideoBurn SRT or VTT subtitles into a video with your own font, color, outline and position.Add Watermark to VideoPut a text or logo watermark on any video, set position, size and opacity, then save it.Video Thumbnail GeneratorGrab thumbnails from a video at any time or make a contact sheet grid. JPG, PNG or ZIP.Slideshow MakerTurn photos into a video slideshow with transitions, captions and music. Saves MP4 or WebM.Add Text to VideoPut titles and captions on a video with your font, colour, position, timing and fade. No upload.Audio Visualizer Video MakerMake an audiogram: cover image plus animated bars or waveform synced to your audio, as MP4/WebM.AVI to MP4Convert AVI videos (Xvid, DivX, MJPEG) to H.264 MP4 in your browser, several files at once.Flip VideoMirror a video horizontally or vertically, fix selfie videos and save MP4 or WebM with sound.Frame by Frame Video PlayerStep through a video one frame at a time with frame number, timecode, slow motion and PNG export.Landscape to Vertical VideoTurn a 16:9 video into 9:16 for Shorts, Reels and TikTok with a blurred background fill.Video Transition MakerJoin clips with crossfade, fade to black, wipe, slide, zoom or dissolve transitions. Save MP4.Video Voiceover RecorderRecord narration over a video with your mic, retake parts, mix with ducking and export the video.Webcam Virtual BackgroundBlur or replace your webcam background live with AI, then record clips or take snapshots.Zoom VideoZoom into part of a video with a static crop zoom or animated punch-in keyframes.Hum RemoverRemove 50/60 Hz electrical hum and its harmonics from recordings, with auto detection.Subtitle CleanerRemove [sound] tags, speaker names, HTML tags and ads from SRT/VTT; fix overlaps and long lines.Dual Subtitle MergerMerge two subtitle files (e.g. English + Spanish) into one dual-language SRT or ASS file.Ken Burns Effect MakerTurn a photo into a smooth pan-and-zoom MP4 clip by drawing start and end frames.Lower Third GeneratorDesign animated name titles for videos and streams; export transparent WebM, PNG frames or an OBS URL.Video LooperLoop a video N times or to a set length, or make a boomerang, and save it as MP4 or WebM.MP4 to WAVExtract the audio from MP4 videos as WAV: 16/24/32-bit, any sample rate, mono or stereo, batch.Online Video PlayerPlay local videos with 0.25-4x speed, A-B loop, zoom, SRT/VTT subtitles and keyboard shortcuts.Side by Side Video MakerPut two videos side by side, stacked or picture-in-picture with sync offset and save as MP4.Video FiltersApply B&W, sepia, vintage and cinematic color filters to a video and save it as MP4 or WebM.Video ResizerResize a video for Reels, TikTok, Shorts or YouTube with fit, fill or blurred bars. No upload.Video SplitterSplit a video into equal parts, 15/30/60-second clips for Stories, or at your own cut points.Video Volume BoosterMake a quiet video louder (up to 400%) or quieter, with a limiter that stops clipping.Webcam Photo BoothSnap webcam photos with a countdown, filters and frames, then download a photo strip.Auto Subtitle GeneratorGenerate SRT and VTT subtitles from any video with in-browser Whisper, then edit timing and text.Blur VideoBlur or pixelate faces, plates and text in a video, with moving areas and automatic face blur.Compress Video to 25MBShrink any video to fit under 25 MB: target bitrate computed from its length, encoded in your browser.Green Screen Video EditorRemove a green or blue screen from a video and put in a new image, color or video background.MOV to MP3Extract the audio from MOV videos to MP3 at 128-320 kbps, with optional trim. Batch + ZIP, no upload.MP3 to MP4Turn an MP3 or WAV into an MP4 video with a cover image, title and waveform for YouTube.MP4 to WebMConvert MP4 video to WebM (VP9 or VP8 with Opus audio) with a quality slider. Runs locally, no upload.Online Video EditorEdit videos in your browser: trim, split, arrange clips, add text, music and transitions, export MP4.Remove Background Noise from VideoClean hiss, hum and room noise from a video's sound and keep the picture untouched.Video Background RemoverRemove the background behind a person in a video with AI; make it transparent or swap in a color, image or blur.WMV to MP4Convert Windows Media WMV videos to H.264 MP4 in your browser, with quality and size control.360 Video ViewerWatch local 360° and VR videos or photos: drag, tilt or zoom to look around, 3D and fullscreen.
See all 94 Video Converters & Editors →