Skip to content

jpagh/srt-to-docx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SRT to DOCX Converter

A Python tool that converts SRT (SubRip) subtitle files to formatted Microsoft Word documents (DOCX).

Features

  • Convert SRT subtitle files to DOCX format
  • Preserve timing information
  • Clean, readable formatting in the output document
  • Command-line interface for easy usage

Installation

Install the package using pip:

pip install srt-to-docx

Or install from source:

git clone https://github.com/jpagh/srt-to-docx.git
cd srt-to-docx
pip install .

Usage

Convert an SRT file to DOCX:

srt-to-docx input.srt

Convert all SRT files in a directory (recursively) to DOCX:

srt-to-docx input_directory

Requirements

  • Python 3.13 or higher
  • docxtpl (for DOCX template processing)
  • srt2 (for SRT file parsing)

License

This project is licensed under the MIT License.

About

A Python tool that converts SRT (SubRip) subtitle files to formatted Microsoft Word documents (DOCX).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages