Home › Audio & Video › Subtitle Extractor

Subtitle Extractor

Pull the subtitle tracks that are embedded inside an MKV, WebM, MP4 or MOV video and save them as separate SRT, VTT or ASS files. Every track is listed with its language, format and line count, and you can preview, search and shift the timing before downloading.

Last updated:

Advertisement
Advertisement

How to use the Subtitle Extractor

  1. Choose your video: drop an MKV, MP4, WebM or MOV file on the box. Only the parts of the file that hold subtitles are read.
  2. Check the track list: each embedded subtitle track shows its language, name, format and number of lines.
  3. Pick the output format (SRT, VTT, ASS or original) and, if needed, shift the timing or turn off formatting tags.
  4. Press Preview to read and search the lines of a track before saving it.
  5. Press Download next to a track, or Download all tracks as a ZIP.

Subtitle formats you will find inside videos

FormatCodec IDUsual containerText or imageExtracted as
SubRip (SRT)S_TEXT/UTF8MKVTextSRT, VTT or ASS
Advanced SubStation (ASS / SSA)S_TEXT/ASS, S_TEXT/SSAMKV (anime and fansubs)Styled textASS with all styling, or SRT / VTT
WebVTTS_TEXT/WEBVTT, D_WEBVTT, wvttWebM, MKV, MP4TextVTT, SRT or ASS
MPEG-4 timed text (mov_text)tx3gMP4, M4V, MOV, phone videosTextSRT, VTT or ASS
QuickTime texttextMOVTextSRT, VTT or ASS
TTML / IMSCstppMP4 (broadcast)Text (XML)SRT, VTT or ASS
PGSS_HDMV/PGSMKV, M2TS (Blu-ray)ImagesNeeds OCR, not supported
VobSubS_VOBSUBMKV, MP4 (DVD)ImagesNeeds OCR, not supported

How the extraction works

MKV and WebM. A Matroska file is a tree of EBML elements. The tool reads the Tracks element to find subtitle tracks (track type 17), then walks every Cluster, looking only at the track number of each block. Blocks that belong to a subtitle track are kept: the block time plus the cluster time gives the start, and the BlockDuration gives the end. Video and audio frames are skipped by their size, so a 10 GB movie is scanned without being loaded into memory. Tracks compressed with zlib or header stripping are unpacked, and ASS tracks keep the script header stored in CodecPrivate so the styles survive.

MP4 and MOV. The tool reads the moov index, finds tracks with a subtitle or text handler, and rebuilds every sample's position and time from the sample tables (stsz, stsc, stco/co64 and stts). Each tx3g sample is a 2-byte length followed by the UTF-8 text; empty samples are gaps between lines and are skipped.

Timestamp formats compared

FormatExamplePrecision
SRT00:01:02,345 --> 00:01:04,800Milliseconds, comma before the milliseconds
VTT00:01:02.345 --> 00:01:04.800Milliseconds, full stop before the milliseconds, file starts with WEBVTT
ASSDialogue: 0,0:01:02.35,0:01:04.80,Default,,0,0,0,,TextCentiseconds (1/100 s)

Tip: name the extracted file like the video with a language code before the extension, for example movie.eng.srt or movie.spa.forced.srt. Players such as VLC, mpv, Plex and Jellyfin then pick it up automatically and show the right language in the subtitle menu. The tool uses this naming scheme for every download.

Frequently asked questions

How do I extract subtitles from an MKV file?

Drop the MKV file on the tool. It reads the Matroska track list and every subtitle block, then shows each track with its language. Press Download next to the track you want and it is saved as an .srt file (or VTT or ASS if you choose). Nothing is re-encoded, so the text and timing are exactly what is stored in the video.

Can it extract subtitles from MP4 files?

Yes. MP4, M4V and MOV files store subtitles as timed text tracks (mov_text / tx3g, the format most converters and phones use), WebVTT tracks or TTML tracks. The tool reads the MP4 sample tables and converts the cues to SRT, VTT or ASS.

Why can't my PGS or VobSub subtitles be saved as SRT?

PGS (from Blu-ray discs) and VobSub (from DVDs) subtitles are images of text, not text. Turning them into SRT needs optical character recognition (OCR), which this tool does not do, so those tracks are listed but marked as image-based.

The video has subtitles but none are found. Why?

The subtitles are probably hardcoded (burned into the picture), in which case they are part of the video frames and cannot be extracted as text. Some downloads also ship subtitles as a separate .srt file next to the video instead of inside it. Streaming captions in fragmented MP4 files can be tried with the Extract with ffmpeg button.

What happens to ASS styling when I save as SRT?

SRT only supports simple formatting, so italic, bold and underline are converted to <i>, <b> and <u> tags (or removed if you untick the option), line breaks are kept, and fonts, colours, positions and animations are dropped. Vector drawings are always left out, and you can also skip positioned signs such as on-screen text translations. Choose ASS or Original format to keep all styling.

How do I fix subtitles that are out of sync?

Enter a value in Shift times before downloading: a positive number such as 1.5 makes every subtitle appear 1.5 seconds later, a negative number makes them appear earlier. Lines that would end before 0:00 are dropped.

Is my video uploaded anywhere?

No. The file is read in small pieces by JavaScript in your browser and only the subtitle data is decoded. The optional ffmpeg fallback downloads the open-source converter once and also runs locally.

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

Subtitle EditorEdit, shift and convert SRT and VTT subtitles.SRT to VTTConvert SRT subtitles to WebVTT for HTML5 video, with cue settings, preview and batch ZIP.Add Subtitles to VideoBurn SRT or VTT subtitles into a video with your own font, color, outline and position.MKV to MP4Convert MKV to MP4 in seconds by copying H.264/AAC streams, or re-encode with ffmpeg.Bleep Censor ToolBleep out words in audio or video: mark them on the waveform or from a transcript, then export.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.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.SRT Time CalculatorShift subtitle timing, convert SRT frame rates, sync by two points and fix broken SRT files.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 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 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.Picture in Picture Video MakerOverlay a small video on top of another, drag and resize it, round or circle it, and save MP4.Playlist Duration CalculatorAdd up track or video lengths to get the total playlist or album length and average track.Screen to GIF RecorderRecord your screen, a window or a tab and turn it straight into an optimized GIF.Slow Motion Video MakerMake smooth slow motion (0.1x-0.75x) with frame interpolation or blending on any part of a video.Square Video MakerFit any video into a 1:1 square without cropping, with blurred, color or image fill.Stop Motion MakerMake stop-motion animation with your webcam: onion skin, reorder frames, add music, save MP4 or GIF.Streaming Data Usage CalculatorEstimate GB used by video, music and video calls per day and month, and check it against a data cap.Teleprompter Video RecorderRecord yourself on webcam while your script scrolls on screen near the camera.Text to Video MakerTurn lines of text into an animated video with backgrounds, transitions and music; export MP4.Time-Lapse Video MakerTurn a long video into a time-lapse (2x to 200x) by keeping every Nth frame.Timecode CalculatorAdd, subtract and convert SMPTE timecode, frames and seconds at 23.976 to 60 fps, incl. drop-frame.Fix Audio Sync in VideoFix out-of-sync audio: shift the sound earlier or later in ms, preview, save without re-encoding.Video Collage MakerCombine 2 to 9 videos into one split-screen grid with trims, mute and gap colour, then save MP4.Video Fade In and OutAdd a fade from or to black or white at the start and end of a video, with matching audio fade.Video Frame Rate ConverterChange a video's FPS (60 to 30, 24 to 30 and more) with drop, blend or motion interpolation.Video Intro MakerMake a 5-10 second animated intro or outro with your logo, text, colors and sound; export MP4.Video Meme GeneratorAdd a white caption bar or classic top and bottom meme text to a video or GIF.Video Recording Time CalculatorHow many hours of video fit on an SD card or drive, or how much storage a recording needs.Video StabilizerReduce camera shake in handheld videos with ffmpeg deshake or a fast built-in stabilizer.Video to Animated WebPTurn a video clip into an animated WebP that is far smaller than a GIF, with a size comparison.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.Online Video PlayerPlay local videos with 0.25-4x speed, A-B loop, zoom, SRT/VTT subtitles and keyboard shortcuts.
See all 94 Video Converters & Editors →