Burn Subtitles into Video
Published Updated
Add an SRT or VTT file, set the font size, color and top or bottom position, and download a copy of the video with the captions drawn into the picture.
What the burned-in text looks like
Burning means re-recording the whole video with each caption drawn into its frames, at normal playback speed. Captions are plain text: system sans-serif, weight 600, centered, with a black box at 60% opacity behind the lines. Lines wrap at 90% of the frame width, the block sits 6% of the frame height away from the top or bottom edge, and only one caption shows at a time. If two cues overlap in the file, you will see just one.
Once they are in the picture, the captions cannot be switched off. Keep your SRT or VTT file next to the result if you may need captions that viewers can toggle. Platforms that accept a separate caption file, YouTube for example, are better served by the file itself than by burned-in text.
Font size is in video pixels
The slider counts pixels of the video frame, not of your screen, so the same 32 px default looks small on a large video. The right column is the size that gives the default look of 32 px on a 720p frame (4.4% of the height).
| Video height | 32 px is this share of the height | Size with the same look |
|---|---|---|
| 480 px | 6.7% | 21 px |
| 720 px | 4.4% | 32 px |
| 1080 px | 3.0% | 48 px |
| 1440 px | 2.2% | 64 px |
| 2160 px (4K) | 1.5% | 96 px, above the 80 px maximum |
On a 4K video the slider stops at 80 px, which is 3.7% of the height. That is readable, but it will look lighter than on a 1080p clip.
Which subtitle files read correctly
The reader accepts SRT and VTT. Several details catch people out, and the WebVTT specification explains the first one.
- Timestamps. Both
00:01:04,000and00:01:04.000are fine. The shorter WebVTT form without hours, such as01:04.000, is read as well. A block whose timing line cannot be read is left out, and the page shows a note with how many blocks were skipped. That the short form is read comes from a parser test, not from burning a video with such a file. - Tags are text.
<i>,<b>and ASS codes appear on screen as typed. - Limits. At most 20,000 cues are used, sorted by start time. A file that is not valid UTF-8 triggers a warning, because accented or non-Latin letters can come out garbled. Re-save it as UTF-8.
- Converting first. To turn one format into the other, use SRT to VTT or VTT to SRT.
Burning subtitles into a video
Step 1
Add the video and the subtitle file
Pick an MP4, MOV or WebM video, then an SRT or VTT file. The page shows how many captions it found.
Step 2
Set size, color and position
Move the size slider (16 to 80 px), choose a text color and put the captions at the bottom or the top.
Step 3
Burn and save
Press Burn In Captions. The clip plays through once while it is recorded, then a preview and a download button appear.
Time, sound and the tab
The video is replayed once at normal speed while the page records the canvas. There is no cancel button, so close or reload the tab to stop, and keep the tab visible because background tabs pause animation callbacks. Output is MP4 (H.264) when the browser can record it and WebM when it cannot, saved with -captioned added to the file name.
For sound, the video's audio is routed through Web Audio into the recording. To cut the clip first, use Trim Video.
Sound in the burned file, engine by engine
We ran the site's own Burn Subtitles component in Google Chrome 156, Chromium 153 (Playwright build, not Google Chrome), Firefox 155 and Playwright's WebKit build (not the Safari app) with a generated two-cue SRT file and pressed Burn In Captions with a real mouse click. The sources were one short test clip as MP4 (H.264 video, AAC sound) and as WebM (VP8 video, Opus sound), both carrying a 440 Hz test tone, the MP4 with a digitally silent AAC track instead, and the clip with no sound track at all, as MP4 and as WebM. The outputs were checked without playing them: tracks from the file structure, sound decoded with the Web Audio API's decodeAudioData. To keep the test machine quiet, Chrome, Chromium and Firefox ran muted, and the WebKit build, which cannot be muted, only got the silent and soundless clips. One run per file (two in Chromium 153):
| Engine | File written | Sound track in the file | 440 Hz test tone | Length, picture / sound (source 4.14 s MP4, 3.97 s WebM) |
|---|---|---|---|---|
| Chrome 156 | MP4, H.264 (video/mp4;codecs=avc1) | Opus, 2 channels, 48 kHz before the 1 December 2026 change; AAC in Google Chrome 158 after it | Kept at 440 Hz, RMS level 0.138 from the MP4 and 0.133 from the WebM (sources 0.141 and 0.142) | 4.16 / 4.12 s from the MP4, 3.97 / 3.88 s from the WebM |
| Chromium 153 | MP4, H.264 | AAC-LC, 2 channels, 48 kHz | Kept, RMS 0.137 from a 4.14 s MOV (source 0.141) and 0.270 from a 3.12 s WebM clip (source 0.277) | 4.15 to 4.17 / 4.14 s from the MOV, 3.17 / 3.16 s from the WebM clip |
| Firefox 155 | WebM, VP8 (video/webm;codecs=vp8,opus) | Opus, 48 kHz, 2 channels (1 when the source had no sound) | Kept, RMS 0.137 and 0.132 (pitch estimate 440 and 449 Hz) | 4.19 / 4.17 s and 4.07 / 4.05 s |
| WebKit build | MP4, H.264 | AAC, 2 channels, 48 kHz | Not tested: only digitally silent or soundless sources were used, and the sound came out as all-zero samples | 4.59 / 4.59 s from the silent-track MP4, 4.01 / 4.01 s from the soundless MP4 |
Every engine also wrote a sound track for a source that had none, holding silence: Opus in Firefox, AAC in Chromium and the WebKit build (Chrome 156 wrote Opus before the 1 December 2026 change, and Chrome 158 wrote AAC after it). Firefox 155 reported no MP4 recording support, which is why its file is WebM. Burning these clips of about 4 seconds took 4.0 to 5.1 seconds from the click to the download link. macOS's afinfo listed the sound of the Chromium MP4 files as AAC, and macOS's afconvert converted that track as it did the AAC track of the WebKit files. It did not convert the Opus track of the Chrome 156 MP4 files, written before the 1 December 2026 change. Video players were not compared.
So in this test the sound came through in Chrome 156, Chromium 153 and Firefox 155. Whether a real soundtrack survives in the WebKit build is not known from this test. Playing the result once shows whether your own file kept its sound.
Questions about burning captions
Why does the page say some subtitle cues could not be read?
A cue is left out when its timestamp line cannot be read, and the page then shows a note with how many blocks were skipped. Both 00:01:04.000 and the shorter WebVTT form 01:04.000, without hours, are read, as a parser test showed (we did not burn a video with such a file). Check that each timing line has --> between two times and uses a comma or a period before the milliseconds.
Why do tags like <i> appear in my captions?
Formatting tags are not interpreted. Text is drawn exactly as it sits in the file, so remove tags such as <i>, <b> and {\an8} in a text editor first. Cue settings after the end time, like position or line, are ignored.
How long does burning take?
As long as the video plays. The clip runs at normal speed while every frame and caption is recorded, so a 3-minute video needs about 3 minutes and the page shows a percentage. Keep the tab in front, because browsers pause animation callbacks in background tabs.
Does the sound survive?
In our test it did in Chrome 156, Chromium 153 and Firefox 155: a 440 Hz test tone came out at the same pitch and close to its level, from an MP4 with AAC sound and from a WebM with Opus sound. WebKit wrote an AAC sound track, but it was given only silent clips, so we cannot say whether real sound comes through there. The page routes the audio through the Web Audio API into the recording.
Can I use another font, a middle position or several colors?
No. The font is the system sans-serif at weight 600, the color is one value for the whole video, and the only positions are top and bottom. Each caption sits on a black box at 60% opacity so it stays readable on any background.
What resolution and frame rate does the new file have?
The picture is redrawn at the video's own width and height and captured at 30 fps at most, so 60 fps footage keeps only every second frame. The bitrate is chosen by the browser, so the file size will not match the original.
Does a video without sound get a sound track?
Yes, in our test. A clip with no sound track came out with one in all four engines we ran, holding silence: Opus in Firefox 155, AAC in Chromium 153 and the WebKit build (Chrome 156 wrote Opus before the 1 December 2026 change, and Chrome 158 wrote AAC after it). A player shows it as a video with sound that stays quiet.
Why is my captioned file WebM in Firefox?
Firefox 155 reported that it cannot record MP4, so the page fell back to WebM with VP8 video and Opus sound, and the file name ended in .webm. Chrome 156, Chromium 153 and the WebKit build wrote MP4 with H.264 video.
Which sound format does the MP4 use?
It depends on the browser. The MP4 files from Chromium 153 and the WebKit build carried AAC sound, and macOS's afconvert tool converted the AAC track of the Chromium 153 files. Chrome 156 wrote Opus sound before the 1 December 2026 change, and afconvert did not convert that Opus track; video players were not compared.
Related guide
Trim, crop and caption a video in the browser. The guide counts caption frames in two engines (165 of 238 and 334 of 482 frames for cues that cover about 70% of a clip) and explains font size in video pixels.