How to use the Add subtitles to video tool
- Choose the clip under Video file. It can be up to 100 MiB and up to 120 seconds long.
- Pick a .srt file under SRT file (optional), or paste the cues into SRT text if no file is selected.
- Select Burn subtitles and keep the tab visible. The export takes about as long as the clip plays.
- Watch the result in the preview player, then select Download to save the WebM file.
How this tool adds subtitles to a video
Burned-in subtitles, also called open captions or hardsubs, are part of the picture. Players cannot switch them off, and they show on platforms that ignore separate caption tracks. Adding them means encoding the video again.
This tool re-encodes the clip with standard browser APIs. It plays your clip in an off-screen video element, copies each frame to a canvas, draws the active cue on top and records the canvas at 30 frames per second with MediaRecorder. Recording follows playback, so a 90-second clip needs about 90 seconds.
SRT input the parser accepts
SubRip (SRT) is plain text. Cues are blocks separated by a blank line: an optional counter, a time line, then the caption text. The parser reads the sample below as one cue from 1.0 to 3.5 seconds and one from 4.0 to 6.25 seconds.
- Times are written HH:MM:SS,mmm. A period before the milliseconds also works.
- The arrow needs whitespace on both sides, as in 00:00:01,000 --> 00:00:03,500.
- The counter line is optional. Cues are sorted by start time.
- Markup in angle brackets, such as italic or font tags, is stripped.
- Only the first four text lines of a cue are kept.
- The file is read as UTF-8. Captions saved in a legacy code page show wrong characters.
1
00:00:01,000 --> 00:00:03,500
Welcome to the demo.
2
00:00:04,000 --> 00:00:06,250
<i>Second line</i>
wraps here.Limits and output settings
In a test run in Chrome, a 4-second 1920 × 1080 MP4 came out as a 1280 × 720 WebM with VP8 video and Opus audio after about 6 seconds.
- Video: up to 100 MiB and 120 seconds, in any format your browser can play.
- Subtitles: up to 200,000 characters, and an SRT file no larger than 300 KB.
- Frame size: the longer side is scaled down to 1280 pixels. Smaller clips keep their size.
- Output: WebM recorded at about 2.5 Mbit/s, named after the source with -subtitled.webm added.
- Captions: bold white system font on a translucent black box, centered near the bottom, wrapped at 92% of the frame width and limited to six lines.
Why a subtitle export fails
Each failure shows its own message under the Result box. These are the usual causes.
- Enter valid SRT subtitle blocks: a cue lacks a valid time line or text, both subtitle inputs are empty, or the file is WebVTT.
- Each subtitle must end after it starts: an end time is not later than its start time.
- A clip can be at most 120 seconds long. For a WebM recording without a stored duration, the tool seeks through the file to check its length before adding subtitles.
- Use a browser with WebM recording support: MediaRecorder cannot record video/webm.
- Video export timed out: playback stalled, or the tab was hidden and the browser paused frame callbacks.
- A caption is missing: of two overlapping cues, only the earlier one is drawn.
Frequently asked questions
Can I add subtitles to an MP4 video?
Yes, if your browser can play that MP4. The result is always a WebM file, not an MP4, because the export uses the browser's WebM recorder.
Is my video uploaded when I burn subtitles?
No. The clip is opened from a local object URL, painted to a canvas and recorded with MediaRecorder inside the page. The video, its audio and the SRT text stay on your device.
Does it support WebVTT or ASS subtitle files?
No. Only SubRip blocks are parsed. A WebVTT file fails on its header line, and ASS styling is not understood. Convert the captions to SRT first.
Does the subtitled video keep the original audio?
Yes. The soundtrack is routed through the Web Audio API into the recording instead of your speakers, so the export runs silently while the finished WebM contains the audio.