SRT Subtitle Converter
Convert between SRT and WebVTT, shift timings, and repair messy subtitle files. Everything runs locally in your browser β no upload, no storage, your files never leave your computer. This tool processes subtitle files you already own; it does not host, search or download subtitles.
What each operation does
| Operation | What it does | Typical use |
|---|---|---|
| β WebVTT | SRT to WebVTT: adds the WEBVTT header and changes the millisecond separator from a comma to a dot | HTML5 <track> players require VTT |
| β SRT | WebVTT back to SRT (comma separator, numeric index, no header) | Legacy players and editors |
| Clean & fix | Strips HTML tags, drops empty blocks, removes duplicates, sorts by start time, renumbers | Files exported from messy tools or OCR |
| Shift | Moves every timestamp earlier or later by N seconds (negative = earlier); timestamps clamp at 0 | Fixed offset between video and subtitles |
SRT vs WebVTT: the differences that matter
- Header: VTT files must start with
WEBVTT; SRT has no header. - Millisecond separator: SRT uses a comma (
00:00:01,000), VTT uses a dot (00:00:01.000) β the #1 conversion bug. - Numbering: SRT blocks are numbered; VTT numbering is optional.
- Styling: VTT supports CSS-based positioning and styling; SRT only has crude inline tags like
<i>and<b>.
FAQ
My subtitles are consistently early/late by a fixed amount
Use Shift. If subtitles appear 3 seconds too early, shift by +3; too late, shift by β3. A fixed offset is by far the most common sync problem β the whole file drifts equally.
The drift gets worse over time (starts fine, ends off by minutes)
That is a frame-rate mismatch (23.976 vs 25 fps), and a constant shift cannot fix it. Re-time the file in a subtitle editor with two anchor points, or convert the file between frame-rate bases with a dedicated tool.
The player says βinvalid subtitle fileβ
Usually a separator or encoding issue. Run Clean & fix to normalize blocks and timecodes, and save the file as UTF-8. Non-UTF-8 encodings (GBK, Big5) will garble Chinese characters β convert the file to UTF-8 first.
Is my subtitle file uploaded to a server?
No. The file is read locally by your browser and processed in JavaScript memory. You can disconnect from the network after loading the page and it will still work.