07 / Full-stack web application
Sinhala Subtitle Converter
Convert. Translate. Enjoy.
An AI SRT converter and translator with batch processing and optimised API usage — subtitle timestamps survive the round trip, which is the part naive translation always breaks.
- Team
- Solo
- Period
- 2026
- Status
- Shipped
- Year
- 2026

The problem
Machine-translating an SRT file usually destroys it. The translator sees the timestamps as text, reflows the cue blocks, and returns a file that no player will sync. Doing it by hand for a two-hour film is a weekend.
How it was built
- 01
Parsed SRT into structured cues so timestamps are data, never part of the translated payload.
- 02
Batched cue text into grouped API calls instead of one request per line, cutting request count and cost.
- 03
Reassembled the translated text back onto the original cue timings, guaranteeing sync by construction.
- 04
Built it as a web app rather than a desktop tool, so it works from any machine with no install.
What shipped
- Live at sisub.work.gd with public source.
- Timestamps preserved end to end — output drops straight into a player.
- Batch processing keeps API usage, and therefore cost, low on feature-length files.
In one paragraph
Sinhala Subtitle Converter is an AI-powered SRT subtitle converter and translator built in TypeScript. It handles batch processing, optimises API usage to keep translation costs down, and preserves subtitle timestamps through the translation round trip. It is live at sisub.work.gd.

