Back to the blog
Subtitle guides

SRT or WebVTT? Choose by where the video will play

SRT and WebVTT both store subtitle text and timing. Choose the format based on where you will use it: a local player, editing software, or a web video.

SRTWebVTT字幕格式

An SRT file might play fine on your computer but be rejected when you upload it to a website. Convert it to VTT and the website accepts it, even though the dialogue barely changes. Why do two formats exist for the same subtitles?

Neither is inherently better. SRT is common for local playback and editing handoffs; WebVTT is common for HTML video tracks. Both store dialogue and timing in a text file. Changing the extension won't improve the translation.

What changes inside the file?

An SRT cue usually has a sequence number, start and end timestamps, subtitle text, and a blank line. Its timestamps use a comma before milliseconds, as in 00:01:12,500. The Library of Congress SRT format description describes those four parts and notes that styling depends on the software reading the file.

A WebVTT file starts with WEBVTT and uses a period before milliseconds, as in 00:01:12.500. Cues don't need sequential numbers, and cue timings can be followed by settings for position, alignment, and size. The W3C WebVTT specification also covers voice and language annotations, chapters, comments, and styles. A straightforward subtitle track may use few of these features.

An SRT cue might start with the number 18, followed by its timing and dialogue. When you convert it, the number can be kept or dropped, the timestamp punctuation changes, and a WEBVTT header is added. The dialogue and start and end times should stay the same. If the conversion rewrites the dialogue, something beyond format conversion has happened.

For local video, check what the player accepts

Check the formats listed by the player, editing software, or delivery platform. If it asks for SRT, send SRT. If it only accepts VTT, convert to VTT. There is no reason to replace working SRT files just because VTT supports more settings.

If an SRT file fails, open it in a text editor. Check the cue numbers, the --> arrows, the commas in timestamps, and the blank line between cues. SRT doesn't prescribe a single character encoding. If Chinese text is garbled, first check that the file was saved as UTF-8. Renaming it to .vtt won't fix the text.

Don't count on styling being portable. Italics or colors that work in one player may not work on another TV. WebVTT positioning and styling can also vary by browser or player. For delivery, spot-check the beginning, middle, and end in the actual player instead of relying on style settings alone.

For HTML video tracks, WebVTT is the usual choice

An HTML video element can load subtitle tracks through track. The MDN track element reference uses .vtt and shows how kind distinguishes subtitles, captions, chapters, and metadata. Use srclang and label to identify tracks such as Chinese and Japanese in the player's language menu.

Captions often include useful non-dialogue sounds or speaker information. Subtitles primarily help viewers who can hear the audio but don't understand the spoken language. Both can use WebVTT; the track's kind tells the browser how to interpret it. If you're watching a show locally, you don't need to change a working file to gain web-only features.

If a website asks for VTT, don't just rename the file. A malformed header or timestamps can prevent the entire track from appearing. After conversion, check the first and last timings and make sure the text is readable. The YamatoSub SRT / VTT converter converts the file structure and timestamp notation locally in your browser. It does not retranslate dialogue.

Keep a master copy before converting

Keep a proofread SRT or VTT master and export a copy for each destination. If a platform changes its requirements or the conversion drops a line break or style, go back to the master rather than trying to reconstruct it from an old export.

Check four things after conversion: cue count, first and last timestamps, line breaks, and readable text. When converting VTT to SRT, voice labels, positioning, and styling may not all survive in the destination format or player. Test a short clip before processing the whole video.

If the file already works in your local player, keep it. If you're adding a web video track, prepare WebVTT. If you're delivering subtitles to someone else, use the format they specify. Once the format is settled, focus on timing, translation, and proofreading.

SRT vs. WebVTT: Which Subtitle Format Should You Use?