Burn Subtitles into Video Offline: Hardcode SRT, VTT & ASS Captions in Seconds via WebCodecs
Why we built a dedicated 1-screen Burn Subtitles tool (/burn-subtitles) — select a video and any .SRT, .VTT, .ASS, .SSA, .SBV, or .LRC file, preview styles & sync offsets live, and hardcode captions locally on your GPU with zero uploads.

Back when we launched six new tools in September, we ended our release note with an honest limitation: *burning subtitles into video was not yet possible in the browser* because standard WebAssembly `FFmpeg.wasm` builds omit `libass`, `freetype`, `harfbuzz`, and access to operating-system fonts.
While building our Offline Creator Video Editor 2.0, we solved that bottleneck from first principles by pairing a deterministic HTML5 Canvas 2D subtitle renderer directly with W3C WebCodecs (`mediabunny`). Still, when you already have a finished video and an `.srt` or `.vtt` file on your desktop, you should not have to open a multi-track timeline editor just to burn captions in.
So today we are shipping tool #39: a dedicated, single-screen **Burn Subtitles into Video** studio built for the fastest possible two-file workflow.
Two Files In, Hardcoded MP4 or WebM Out — Zero Bytes Uploaded
Open muxtools.com/burn-subtitles, choose your video and your subtitle file (or click Load Sample Video + .SRT in the header), preview your styling live on the video, and click Burn Subtitles & Export MP4. Neither your footage nor your transcript ever leaves your browser tab.
1. Dead-Simple Two-Step Input (Supporting 6 Subtitle Formats)
Different transcription tools, YouTube downloads, anime/localization workflows, and podcast apps export different subtitle formats. Instead of forcing you to convert your subtitle file first, the parser in Burn Subtitles reads six formats natively in JavaScript:

- SubRip (`.srt`) — the universal standard exported by Whisper, Descript, Riverside, Premiere, DaVinci Resolve, and captioning services
- WebVTT (`.vtt`) — HTML5 `<track>` subtitles from web players, Vimeo, Loom, and Zoom recordings (automatically stripping VTT cue settings and inline tags)
- SubStation Alpha (`.ass` / `.ssa`) — extracts timed `Dialogue:` events while cleanly stripping `{\an8\b1}` override blocks and converting `\N` line breaks
- YouTube SubViewer (`.sbv`) — direct caption downloads from YouTube Studio (`0:00:01.000,0:00:03.500` blocks)
- Synced Lyrics (`.lrc`) — `[mm:ss.xx]` timestamped lyric files for music videos, lyric visualizers, and karaoke clips
2. Why Hardcoded (Burned-In) Captions Beat Soft Subtitle Tracks on Social
A common surprise when muxing a soft subtitle stream (`mov_text` in MP4 or `subrip` in MKV) is discovering that Instagram Reels, TikTok, LinkedIn, X, WhatsApp, and Slack strip soft subtitle tracks completely when re-encoding your upload. Even on players that keep soft subtitles, the viewer's device overrides your font, size, and placement with ugly system defaults — or leaves captions turned off for muted scrollers.
Hardcoding (burning in) renders your exact typography, pill background, outline stroke, and active-word highlights directly into the video pixels so your captions look identical on every screen.
| Dimension | muxTools Burn Subtitles | Soft Subtitles (MKV/MP4) | Cloud Subtitle Burners |
|---|---|---|---|
| Instagram, TikTok, X & WhatsApp | Always visible (baked into video frames) | Stripped during platform upload | Visible, but often watermarked on free tiers |
| Typography, Emojis & Karaoke Pills | Exact font, stroke, box & active-word highlight | Plain OS player text only | Limited server fonts; emoji tofu bugs |
| Privacy & Upload Time | 0 bytes uploaded · Instant local start | Local if using CLI FFmpeg | Uploads full raw video + transcript to cloud |
| Browser Rendering Speed | Hardware GPU WebCodecs (avc1 / vp09) | Blocked in FFmpeg.wasm (no libass) | Queued behind remote server workers |
3. Real-Time Preview, Inline Typo Fixes & +/- 5s Sync Offset
Anyone who has burned subtitles with command-line FFmpeg knows the pain of waiting through a full video encode only to spot a typo on line 4, captions colliding with a lower-third, or subtitles running `400ms` behind the speaker.
In Burn Subtitles, a synchronized Canvas 2D layer sits directly over the native `<video>` preview at `60 fps` — every adjustment updates on screen immediately before you render a single frame:
- Four curated visual presets — switch live between Classic Cinema Box (clean dark translucent bar), Karaoke Active Word (highlights each spoken word in real time with an emerald pill), Bold Outlined Reels (punchy social typography with heavy stroke), and Warm Editorial Pill
- Sync Offset slider (`-5.0s` to `+5.0s` in `100ms` steps) — instantly advance or delay every cue if your `.srt` file came from a slightly trimmed cut
- Clickable & editable cue list — click any timestamp badge (`00:01.1`) to jump the video preview straight to that line, and fix spelling or capitalization inline without re-uploading the subtitle file
- Full color, size & vertical safe-zone control — tune font size (`24–84px`), vertical Y position (`10%–93%`), text/highlight/box colors, and Force UPPERCASE
4. Hardware WebCodecs Export Preserving Native Aspect Ratio & Audio
Unlike multi-clip editors that force your footage into a fixed template canvas, Burn Subtitles inspects your source video's exact display width, height, and frame rate (`16:9`, `9:16`, `4:3`, `1:1`, ultrawide, or custom screen-capture dimensions) and preserves that exact aspect ratio automatically.

When you click Burn Subtitles & Export, `mediabunny` streams decoded frames through your device's hardware `VideoDecoder`, composites the crisp Canvas 2D subtitle layer, mixes your original audio stream, and encodes `MP4 (H.264 + AAC)` or `WebM (VP9 + Opus)` directly on your GPU (`Original Max 1080p`, `720p HD`, or `480p Fast`). Legacy containers like `.avi` automatically normalize through `FFmpeg.wasm` first so every video format works reliably.
Need to generate subtitles from scratch with Local Whisper AI, trim multiple clips, or add background music with automatic voice ducking? Jump straight into the full Offline Creator Video Editor. Otherwise, open muxtools.com/burn-subtitles for the fastest private subtitle burn-in on the web.
Need to burn an .SRT, .VTT, or .ASS file into a video right now?
Select your video and subtitle file — or click Load Sample Video + .SRT to test live presets and hardware WebCodecs export in one second.