How the Subtitle Translator Works
AnyTool Subtitle Translator parses an SRT or WebVTT file entirely in the browser. Each cue is decomposed into its index, start and end times (stored as milliseconds) and its multi-line text. Only the text is passed to the translator; the millisecond timings are written straight back into the output, so the translated file stays frame-accurate. Re-assembly serialises cues to SRT (comma decimal) or VTT (dot decimal with a WEBVTT header).
- Supports SubRip (.srt) and WebVTT (.vtt), including multi-line cues
- Timestamps are kept as milliseconds and never translated
- Format is auto-detected from the WEBVTT header or timing separator
- Output re-assembles to SRT or VTT, or a bilingual stacked file
- All parsing, editing and serialising is client-side JavaScript
