Srt To Vtt API
https://api.findutils.com/api/tools/srt-to-vtt/execute Convert SubRip (.srt) captions to WebVTT (.vtt) and back. The direction is detected from the input by default: SRT uses a comma before the milliseconds, WebVTT uses a dot and starts with a WEBVTT header. Timestamps are normalized to HH:MM:SS with three fraction digits, VTT cue settings are preserved, and NOTE and STYLE blocks are skipped. Only the format changes; the caption text is never translated or edited.
Request body
application/json-
input
string required
Caption file contents, either SubRip or WebVTT.
-
direction
string optional
Force a direction. Default: auto, detected from the input. One of
auto · srt-to-vtt · vtt-to-srt. Default"auto". -
keep_cue_numbers
boolean optional
Keep cue identifiers when writing WebVTT, where they are optional. Default: false. Default
false.
Example arguments
Verified{
"input": "1\n00:00:01,000 --> 00:00:04,000\nHello there.\n"
}