Youtube XML Annotations to SRT

Convert Youtube Annotations (XML) to subtitles format (SRT)
Bugs? issues? contribute. The code is available at GitHub

How to use

Get the annotations XML file using this URL: https://www.youtube.com/annotations_invideo?video_id=YOUR_VIDEO_ID, replacing YOUR_VIDEO_ID with the real YouTube id (which is available in the URL of the video). Save it to your disk or paste it below.

XML input

{{error}}

SRT output

{{$index}}
{{subtitleLine.startTime}} --> {{subtitleLine.endTime}}
{{subtitleLine.text}}

Finished processing.

Source file Result
{{result.source}} {{result.errorMessage}} OK - Descargar

Changelog


Developed by manger.cl