A lightweight, standalone toolkit for fixing malformed SRT subtitle timestamps. Available as Command Line Interface (CLI), Desktop GUI, Web Application, and Windows Executables (.exe).
Modern workflows often generate subtitles using Large Language Models (LLMs) and other automated systems. However, these outputs frequently contain inconsistent or malformed SRT timestamps—missing hours, missing arrows, or non-standard formats.
While creating YouTube videos, I personally faced repeated issues with broken subtitle timestamps. Frustrated by the lack of reliable, user-friendly solutions—and driven by personal necessity—I built SRT Timestamp Fixer as a dedicated, professional tool:
- Reliability: Ensures every SRT file is standardized and compliant, regardless of source.
- Convenience: Provides multiple interfaces (CLI, GUI, Web, Executable) for all user types.
- Efficiency: Saves time for content creators, editors, and developers by automating tedious fixes.
- Portability: Works cross-platform and can be used standalone, without Python if desired.
This tool is designed to streamline subtitle workflows and eliminate manual corrections, making it ideal for anyone working with AI-generated or automated subtitles.
- Fix missing hours in timestamps
- Add missing arrows
- Standardize SRT format
- Multiple interfaces: CLI, GUI, Web, Windows Executable (.exe)
- Safe processing (backups, UTF-8)
- Cross-platform (Python 3.6+)
python src/convert_to_srt.py -i input.srt -o output.srt
Windows: Double-click SRT_Timestamp_Fixer_GUI.exe
or src/launch_gui.bat
Linux/macOS: Run src/launch_gui.sh

Desktop GUI: Easily fix SRT files with a user-friendly interface. Select files, preview changes, and process with a click.
Windows: Double-click SRT_Timestamp_Fixer_Web.exe
or src/launch_web.bat
Linux/macOS: Run src/launch_web.sh
Open browser at http://localhost:5000

Web App: Fix SRT files directly in your browser. Upload, preview, and download results. Works on any OS.
For more details and troubleshooting, see USER_GUIDE.md.
- Clone the repository:
git clone https://github.com/[YOUR-USERNAME]/srt-timestamp-fixer.git cd srt-timestamp-fixer
- (Optional) Create a virtual environment:
python -m venv venv # Windows: venv\Scripts\activate # Linux/macOS: source venv/bin/activate
- Install dependencies:
pip install -r src/requirements.txt
- Run the web app:
python src/srt_fixer_web.py
pip install pyinstaller
pyinstaller --onefile --windowed src/srt_fixer_web.py
See USER_GUIDE.md for usage details and troubleshooting.
To contribute:
- Fork the repository
- Create a feature branch
- Commit and push your changes
- Open a Pull Request
MIT License. See LICENSE.