TXT to SRT Converter — TXT to SRT Online Free
Upload a .txt file and this TXT to SRT converter wraps every line in proper cue structure: sequential numbers, HH:MM:SS,mmm timestamps and a blank line between cues. You set the pace — start time, duration per line and gap — then download a ready-to-use SRT. Everything happens locally in your browser.
Reviewed by the SRT Tools team · Updated
- 14
- free tools
- 6
- languages
- 0
- file uploads, ever
- 2 MB
- max file size
- 10,000
- cues per file
Drop your SRT / VTT / LRC / ASS / TXT file here, or click to browse
Parsed instantly in your browser — nothing is uploaded. Max 2 MB.
Max 2 MB per file · parsed instantly · nothing uploaded
Conversion settings▾
Private by design: parsing, conversion and download all happen on your device. No file content ever leaves your browser.
Your preview appears here
Upload a file, paste subtitle text, or load the sample to see the timeline, convert and download.
How to Convert TXT to SRT in 4 Steps
A plain text file has no timing, so the TXT to SRT conversion builds an estimated timeline you fully control. No audio is analyzed — and no tool can honestly do that without one.
- 1
Upload the TXT file
Drop the .txt into the converter. Each non-empty line becomes one cue by default; switch to paragraph mode if blank lines separate paragraphs in your TXT file.
- 2
Choose the timing
Set when the first subtitle starts, how long each cue lasts (default 2.5 s) and the gap between cues (default 0.2 s). The TXT to SRT preview recalculates instantly.
- 3
Check the cue table
Every generated cue appears with its number and time range, so you can spot lines that are too long for the chosen duration before exporting the TXT to SRT result.
- 4
Download the SRT
Export a valid .srt with renumbered cues, CRLF endings and UTF-8 text — the exact structure players expect from a TXT to SRT conversion.
How the TXT to SRT Conversion Builds Timing
Because a TXT file carries no timestamps, the converter distributes them arithmetically: cue one starts at your start time and runs for the duration, cue two starts after the gap, and so on in whole milliseconds. Changing any setting recomputes the whole timeline deterministically — no floating-point drift, ever.
Two split modes cover the common shapes of a TXT file. Line mode makes every non-empty line one cue, perfect for scripts already broken into beats. Paragraph mode treats blank-line-separated blocks as cues and keeps their internal line breaks, which suits prose transcripts where sentences group together.
Line mode, cue per line
The default TXT to SRT behavior: 40 lines in, 40 cues out, numbered 1..40 with even pacing.
Paragraph mode
Blank lines group sentences into single multi-line cues, keeping the TXT file's logical structure in the SRT.
Honest about estimates
The tool labels the timeline as estimated. Real sync needs your ear — nudge duration and gap until the TXT to SRT result matches the video.
Unicode kept whole
Chinese, Japanese, Korean, emoji and quotes pass through the TXT to SRT conversion byte-for-byte in UTF-8.
TXT to SRT by Example
Three lines in, three cues out. The defaults (start 0, 2.5 s each, 0.2 s gap) produce exactly this timeline.
input.txt → output.srt with default TXT to SRT settings
input.txt Hello, world! Second subtitle line. 你好,世界! output.srt 1 00:00:00,000 --> 00:00:02,500 Hello, world! 2 00:00:02,700 --> 00:00:05,200 Second subtitle line. 3 00:00:05,400 --> 00:00:07,900 你好,世界!
Choosing duration and gap
Reading speed sets the duration: about 2–3 seconds fits a short sentence, while a full clause may need 4–5. The gap gives viewers a blink of rest between cues — 0.2 s is standard for TXT to SRT output, 0 for continuous narration.
When your text already has timings
If the preview warns about '-->' lines, your TXT file is probably an SRT or VTT renamed to .txt. The warning points you to the right viewer instead of silently mangling the TXT to SRT conversion.
Renumbering on export
Whatever numbering your source contained, the exported SRT is renumbered 1..N in play order — the last cleanup step of every TXT to SRT conversion.
TXT to SRT for Real Projects
Typical TXT to SRT jobs: a voice-over script that must become captions for a corporate video, a translated dialogue list handed over as plain text, classroom transcripts that need slow, even pacing for language learners.
After the first TXT to SRT export, load the .srt in the SRT viewer to fine-tune individual timings, or continue to SRT to VTT when the target is web video. Prefer pasting instead of files? The text to SRT page runs the same engine with a paste-first layout.