Srt To Txt API
https://api.findutils.com/api/tools/srt-to-txt/execute Turn a SubRip (.srt) or WebVTT (.vtt) caption file into a plain-text transcript: cue numbers and timestamps are removed and the cue text is kept in order. join "blank_line" (default) puts each cue on its own paragraph; "paragraph" joins everything into one block of running text. HTML tags such as <i> and ASS override blocks such as {\an8} are stripped by default. The text is not summarized or rewritten.
Request body
application/json-
input
string required
Caption file contents, either SubRip or WebVTT.
-
join
string optional
"blank_line" (default): one cue per paragraph. "paragraph": all cues in one block. One of
blank_line · paragraph. Default"blank_line". -
strip_html
boolean optional
Remove HTML-style tags such as <i> and <font>. Default: true. Default
true. -
strip_ass
boolean optional
Remove ASS/SSA override blocks such as {\an8}. Default: true. Default
true.
Example arguments
Verified{
"input": "1\n00:00:01,000 --> 00:00:04,000\n<i>Good morning.</i>\n\n2\n00:00:05,500 --> 00:00:08,250\nTwo lines\nin one cue.\n"
} More Media tools
- Ass To Srt Flatten an Advanced SubStation Alpha (.ass) or SubStation Alpha (.ssa) subtitle script to plain SubRip (.srt).
- Sbv To Srt Convert a YouTube SubViewer (.sbv) caption export to SubRip (.srt), or back again.
- Srt To Vtt Convert SubRip (.srt) captions to WebVTT (.vtt) and back.
- Subtitle Clean Clean the text of a SubRip (.srt) or WebVTT (.vtt) caption file without touching its timing: strip HTML tags such as <i> and <font>…
- Subtitle Fps Convert Rescale every cue in a SubRip (.srt) or WebVTT (.vtt) caption file from one frame rate to another, so a track that slowly drifts out…
- Subtitle Merge Join several SubRip (.srt) or WebVTT (.vtt) caption files into one track.