How to Translate an SRT File Without Breaking Timestamps
Learn how to translate an SRT or WebVTT file with AI, why pasting raw SRT into ChatGPT or Claude breaks timestamps, and how to keep timecodes 100% locked.
Quick answer: The safest way to translate an .srt or .vtt file is to strip timestamps and cue numbers before sending text to AI, translate only the numbered dialogue lines with surrounding context, and re-attach the original timecodes on export. Pasting a raw SRT file directly into ChatGPT, Claude, or Google Translate often alters timecodes, merges lines, or truncates long videos.
If you want to translate a file right now without manual splitting or broken timing, drop your .srt or .vtt file into the TubeKit AI Subtitle Translator to preview the first 30 lines free with no sign-in.
4 ways to translate an SRT file (compared)
Creators and video editors usually reach for one of four options when they need translated subtitles. Here is how they compare on timing safety, dialogue quality, and long files:
| Method | Timestamp safety | Dialogue context & idioms | Long files (45–120 min) | Bilingual export | Best for |
|---|---|---|---|---|---|
| AI Subtitle Translator (Gemini) | Physically locked in browser | Scene-level context + glossary | Automatic batching + ZIP | Yes (top or bottom) | Creators, courses, movies, batch tracks |
| ChatGPT / Claude (manual paste) | Frequently drifts or merges | Very good | Truncates; requires manual chunking | Manual prompting | Very short clips (under ~50 cues) |
| Google Translate | Often breaks formatting | Literal, line-by-line | Works, but loses tone | No | Quick rough drafts only |
| DeepL | No native .srt support | Strong on prose, weak on cues | Requires workaround/scripts | No | Translating plain text scripts, not SRT |
Why ChatGPT and Claude break SRT timestamps
Searching how to translate an SRT file with ChatGPT or Claude is common because general-purpose LLMs understand slang, tone, and idioms far better than old machine translators. The catch is that LLMs predict text token by token — they do not treat subtitle timecodes as immutable metadata.
Four failures show up constantly when you paste a raw .srt file into a chat window:
- Timestamp format corruption and drift. Standard SubRip (
.srt) requires a comma for milliseconds (00:01:04,200 --> 00:01:07,850). ChatGPT frequently switches commas to periods (00:01:04.200), drops leading zeros, or subtly shifts end times by a few hundred milliseconds. Some players silently reject malformed cues; others desync the rest of the track. - Merged or skipped cues. If two consecutive cues form one sentence, an LLM often merges them into a single block so the translation reads smoothly. That reduces your total cue count and throws off sequential numbering from that point onward.
- Output length truncation. A 15-minute video usually contains 180–250 cues; a 2-hour movie has 1,400–1,800 cues. Chat interfaces hit output token limits halfway through, forcing you to slice the SRT file into 10–30 chunks, paste them one by one, and stitch the output back together without losing context at chunk boundaries.
- Lost WebVTT headers and positioning. If you work with
.vttfiles, pasting raw content into chat often strips theWEBVTTheader, cue identifiers, or positioning cues likealign:start line:85%.
If you still want to translate a short SRT file with ChatGPT
For a short clip under 50 cues (about 2–3 minutes), ChatGPT or Claude can still work if you constrain the output format tightly and verify the cue count afterward.
Use a prompt like this instead of a vague "translate this SRT":
Translate the following SubRip (.srt) subtitles into [TARGET LANGUAGE].
Strict rules:
1. Keep every cue number and every timestamp (HH:MM:SS,mmm --> HH:MM:SS,mmm) byte-for-byte identical.
2. Never merge, split, skip, or reorder cues. The output must contain the exact same number of cues as the input.
3. Keep natural spoken pacing suitable for on-screen reading.
4. Keep these terms untranslated: [BRAND OR CHARACTER NAMES].
5. Output only the translated SRT inside a single code block with no commentary.
[PASTE 30–50 CUES HERE]
Before you upload the result: check the last cue number against your original file, search for . inside timestamps (.srt uses ,), and spot-check the final minute of your video to make sure timing did not drift.
Once a video passes ~100 lines — or when you need to translate one video into Spanish, Portuguese, Japanese, and German at the same time — manual chunking in chat becomes slower and more error-prone than using a dedicated subtitle translator.
How to translate an SRT or VTT file online with locked timestamps
A purpose-built online SRT translator fixes ChatGPT's failure modes architecturally rather than hoping a prompt prevents mistakes.
In TubeKit's AI Subtitle Translator, the workflow separates structure from language:
- Upload or paste your
.srtor.vttfile. Your browser parses the file locally. Cue numbers, start/end timestamps, and WebVTT positioning settings stay in your browser and never enter the AI prompt. - Choose target languages, tone, and glossary. Pick one or multiple languages from 69 supported options (including English, Spanish, Chinese, Japanese, Korean, French, German, Portuguese, Turkish, Indonesian, Arabic, and Hindi). Set a dialogue style (Natural, Concise, Formal, or Casual) and optionally lock up to 50 character or brand names in a custom glossary.
- Preview free, review side-by-side, and export. Run a free 30-line preview with no sign-in to check translation quality. Every batch is sent to Google Gemini AI with surrounding read-only context and strict per-line ID validation (missing lines are retried automatically). Edit any line inline, then export as
.srt,.vtt, bilingual dual-line subtitles, or a multi-language.zip.
Because timestamps never touch the model, the exported file is guaranteed to have the exact same cue count and timing as your original file — ready to upload directly into YouTube Studio, Premiere Pro, DaVinci Resolve, VLC, or any HTML5 video player.
Can Google Translate or DeepL translate SRT files directly?
Many users try uploading an .srt file straight into traditional machine translators first, and run into two different walls:
- Google Translate: Pasting an
.srtinto Google Translate often adds spaces inside timestamp arrows (-->becomes- ->), alters comma decimals, or translates line by line with zero awareness of the previous sentence. Pronouns, sarcasm, and split sentences break frequently. - DeepL: DeepL's document translator accepts
.docx,.pdf,.txt, and.html, not.srtor.vtt. Renaming.srtto.txtlets you upload it, but DeepL treats timestamps as regular text and frequently corrupts cue formatting or line spacing — while still lacking multi-cue scene context.
Both tools are built for written documents rather than timed spoken dialogue. Context-aware AI models designed around locked subtitle cues produce more natural lines while keeping your file structurally valid.
Frequently asked questions
How do I translate an SRT file to English or another language for free?
Upload your .srt or .vtt file to the TubeKit AI Subtitle Translator, select English (or any of the 69 supported languages), and click Preview First 30 Lines Free — no account required. Signing in adds 20 free bonus credits, which covers a full typical 15-minute video (~200 cues).
How do I make bilingual subtitles (two languages on screen)?
After translating your file, change the Subtitle Track export setting to Bilingual (Translation Top) or Bilingual (Original Top). Each cue keeps its original timestamp and stacks both languages cleanly inside the same subtitle block — useful for language learning videos and international channels.
Will the translated file work in YouTube Studio, Premiere Pro, and VLC?
Yes. Exported .srt files preserve standard HH:MM:SS,mmm timecodes, sequential cue numbering, and clean UTF-8 encoding without stray BOM issues. Exported .vtt files preserve the WEBVTT header, cue identifiers, and alignment settings. You can also cross-convert .srt to .vtt or .vtt to .srt on download.
How do I fix an SRT file if ChatGPT already broke the timestamps?
If only punctuation changed, find-and-replace . with , inside timestamp lines (00:00:00.000 → 00:00:00,000). If ChatGPT merged cues or dropped lines halfway through, manual repair usually takes longer than re-translating the original file with a tool that locks timecodes locally.