SUB to SRT Subtitle Converter
Convert MicroDVD .sub subtitle files to .srt format online. Auto-detects FPS, handles pipe splits, drag & drop support. Free client-side converter.
About
MicroDVD (.sub) subtitles encode timing as frame numbers, not timestamps. Converting to SubRip (.srt) requires dividing each frame index by the video's framerate to produce HH:MM:SS,mmm timecodes. An incorrect FPS value shifts every cue in the file. At 23.976 fps, a single-frame error equals 41.7 ms. At 29.97 fps it drops to 33.4 ms. Accumulated drift over a two-hour film can exceed 2 seconds, making dialogue visibly out of sync. This converter auto-detects the FPS header that most MicroDVD files embed in their first line ({1}{1}23.976), and falls back to a user-specified rate when the header is absent.
The tool handles pipe-delimited line breaks (| โ newline), strips byte-order marks, and normalises mixed line endings. All processing runs in your browser. No file is uploaded to any server. Note: this tool assumes constant framerate video. Variable framerate sources (screen recordings, some webcam footage) will produce drift that no frame-based converter can fully correct.
Formulas
Each MicroDVD line stores a start frame and end frame. The conversion to SRT timecodes uses the video framerate as the divisor.
Where t is time in seconds and f is the frame number. The millisecond component is extracted as:
Hours, minutes, and seconds decompose from total seconds:
The final SRT timecode format is HH:MM:SS,mmm. The MicroDVD pipe character | is replaced with a line break in the SRT text block. If the first line matches the pattern {1}{1} followed by a decimal number, it is treated as the FPS declaration and excluded from subtitle output.
Reference Data
| Standard | FPS Value | Frame Duration | Usage |
|---|---|---|---|
| NTSC Film | 23.976 fps | 41.708 ms | Blu-ray film, streaming (US/JP) |
| Cinema | 24.000 fps | 41.667 ms | Theatrical projection (DCI) |
| PAL / SECAM | 25.000 fps | 40.000 ms | European broadcast, DVD Region 2 |
| NTSC Video | 29.970 fps | 33.367 ms | US broadcast (drop-frame TC) |
| NTSC Non-Drop | 30.000 fps | 33.333 ms | Non-drop-frame NTSC, some web |
| PAL High | 50.000 fps | 20.000 ms | PAL interlaced fields, sports |
| NTSC High | 59.940 fps | 16.683 ms | NTSC interlaced fields, gaming capture |
| Web Standard | 60.000 fps | 16.667 ms | YouTube, Twitch, gaming |
| MicroDVD Header | First line {1}{1}fps_value - parsed automatically if present | ||
| SRT Index | Sequential integer starting at 1, incremented per cue | ||
| SRT Timecode | HH:MM:SS,mmm โ comma separator (not dot) | ||
| SRT Separator | --> with spaces on both sides | ||
| MicroDVD Pipe | | character maps to a newline in SRT text block | ||
| BOM | UTF-8 BOM (0xEF 0xBB 0xBF) stripped during parsing | ||
| Max Drift (23.976) | ยฑ41.7 ms per frame error | ||
| Max Drift (29.97) | ยฑ33.4 ms per frame error | ||
| Encoding | UTF-8 recommended. ANSI/Latin-1 files may lose diacritics. | ||