How to translate an SRT file without breaking the timing: 4 ways
To translate an SRT file, change only the text lines and keep every number and timecode exactly as they are. You can do it by hand in a text editor, with an online tool, with an AI chat or with an app. Then save the file as UTF-8 and upload it to YouTube Studio “with timing”.
Your video has English subtitles. Now you want them in Spanish, German and Japanese. You open the .srt file and see numbers, arrows and commas. Don't worry: to translate an SRT file, you only touch one kind of line. 🙂
Here are 4 ways to do it, and a quick check so YouTube accepts the file on the first try.
What's inside an SRT file?
An SRT file is plain text: a list of short blocks. Each block has three parts:
12
00:01:04,200 --> 00:01:07,000
Add the eggs and stir for one minute.
- 12 — the block number;
- 00:01:04,200 --> 00:01:07,000 — when the line appears and disappears (hours:minutes:seconds,milliseconds);
- the text — what the viewer reads.
An empty line separates the blocks. YouTube's help lists SubRip (.srt) as a basic subtitle format and asks for a plain UTF-8 file.
The one rule: translate only the text
- Translate the text lines
- Keep each line short enough to read
- don't change the block numbers
- don't touch the timecodes or the arrow -->
- don't delete the empty lines between blocks
- don't merge two blocks into one
Change a time, and the line shows up at the wrong moment. Delete an empty line, and two blocks stick together, so the file may not upload at all.
How to translate an SRT file: 4 ways
| Good for | Watch out for | |
|---|---|---|
| By hand | Short videos, a language you know | Slow for long videos |
| Online tool | A quick one-off file | Check the result before uploading |
| AI chat | Natural wording in many languages | Long files get cut; times may change |
| App with your API key | Many videos and many languages | Needs your own OpenAI or Claude API key |
1. By hand in a text editor
Open the file in Notepad or any plain text editor. Type the translation over the original text, line by line. When you save, choose UTF-8. Word processors can add hidden formatting, so a plain editor is safer.
Tip: save a copy with the language in the name, for example video.es.srt. Your original stays untouched.
2. An online subtitle translator
Many websites take an .srt file and give it back translated. That's fine for one quick file. Before uploading, open the result and look at a few blocks in the middle and at the end: that's where problems hide.
3. An AI chat (ChatGPT, Claude, Gemini)
AI writes more natural sentences than word-for-word tools. Paste a part of the file and give a clear instruction:
Translate this SRT file into Spanish (Latin America).
Translate only the text lines.
Keep every number, timecode and empty line exactly as it is.
Do not merge or split blocks.- The answer stops halfway through a long file
- Two short blocks become one
- The AI “fixes” a timecode
- A line like “Here is your translation” ends up in the file
- Send the file in parts, for example 100 blocks
- Ask to keep the same number of blocks
- Compare the first and last timecodes
- Delete anything that is not a subtitle block
4. An app that keeps the timing for you
Syava Studio Translator (Windows) translates subtitles from an SRT file with your own OpenAI or Claude API key. You pick a file with Choose SRT from computer, or let the app take it from your channel with Download SRT from Studio. Then you choose Claude API — translate SRT or OpenAI — translate SRT.
Only the subtitle text goes to the AI. Block numbers and timecodes stay unchanged on your computer. After that, the app adds the subtitles for each chosen language in your own YouTube Studio. It translates text only; it doesn't dub the audio.
No key yet? Here's how to get a Claude API key.
Example: one block, four languages
- ENEnglishAdd the eggs and stir for one minute.
- ESEspañolAgrega los huevos y revuelve un minuto.
- DEDeutschEier dazugeben und eine Minute rühren.
- JA日本語卵を入れて1分間混ぜます。
Block 12 and its time 00:01:04,200 --> 00:01:07,000 are the same in all four files. Only the text changes.
Timing rules that keep subtitles readable
- Same time, longer text. German or Spanish lines often come out longer than English. Shorten the wording; don't stretch the time.
- Two lines at most. If a line is too long, split it into two lines inside the same block. Don't create a new block.
- Meaning over word count. A short natural sentence beats a complete one that nobody can read in time.
Check the file, then upload it
- Same number of blocksthe last block number matches the original
- Same last timecodecompare it with the original file
- Saved as UTF-8otherwise letters like ñ, ü or 日本 can break
- YouTube Studio → Subtitles → your video → Add language
- Under Subtitles: Add → Upload file → With timing → Continuechoose the file and click Save
The full Studio walkthrough is here: how to add subtitles in another language. And before you publish, skim the most common YouTube translation mistakes.
One file is easy. Ten videos in five languages means fifty files to translate, check and upload one by one — and that repetitive part is exactly what's worth handing to a tool.
Questions and answers
Can I translate an SRT file for free?
Yes. Translating by hand in a text editor costs nothing, and many online tools have a free option. AI through an API key is paid per use on your AI account.
Why does YouTube reject my translated SRT file?
Usually one block is broken: a changed timecode, a missing empty line, or a file not saved as UTF-8. Compare it with the original and save it again as UTF-8.
Do I need to translate the timecodes?
No. The times stay the same, because the speech in the video doesn't move. Only the text lines change.
Can ChatGPT or Claude translate a whole SRT file?
They can, but long files often get cut off or slightly changed. Send the file in parts and check the block count and the last timecode.
Does translating subtitles translate the audio?
No. Subtitles are text on top of the video. The voice stays in the original language.
SyavaTech is an independent company. This article is not affiliated with, endorsed by or sponsored by YouTube or Google.