Convert txt to srt

Convert TXT to SRT

Create timed SRT subtitles from a TXT transcript using desktop or online subtitle editors.

Convert TXT files online

We don’t have a dedicated online converter for TXT to SRT yet, but you can convert TXT files online to these and more formats:

How to convert txt to srt file

A video player, editor, or captioning platform may require subtitles in SRT instead of a plain transcript in TXT. Conversion is direct only when the text already includes timing data; an untimed transcript needs timestamps created manually or generated from the video’s audio.

What the formats contain

TXT is an unformatted text file containing characters, line breaks, and sometimes encoding metadata. Writers, transcription services, note-taking applications, and speech-to-text tools commonly use it for transcripts, but TXT does not define subtitle cues, display times, speaker placement, or caption formatting.

SRT (SubRip Subtitle) is a plain-text subtitle format. Each cue normally contains a sequential number, a start and end time in hours:minutes:seconds,milliseconds format, one or more text lines, and a blank line:

1
00:00:01,200 --> 00:00:03,800
Welcome to the presentation.

2
00:00:04,000 --> 00:00:06,500
The first section begins now.

SRT is supported by most media players, video editors, streaming services, and captioning applications. It is small, portable, and easy to inspect or correct with a text editor. It can contain basic tags such as <i> for italics, but font, position, color, and other styling are not consistently supported across applications.

Check whether the TXT file is already timed

Open the file in a text editor and look for entries containing start and end times, for example 00:01:12,500 --> 00:01:15,000. If the file is only paragraphs or dialogue lines, renaming .txt to .srt will not create valid subtitles, and a generic file converter cannot infer when each line should appear.

For a timed transcript, verify that every cue has a unique number, a valid time range, subtitle text, and a blank line before the next cue. Convert the timestamps to SRT’s comma-separated millisecond format if the source uses periods, frames, or another notation.

Convert with Subtitle Edit

Subtitle Edit is a free Windows subtitle editor suited to manual timing and format conversion. A practical workflow is:

  1. Install Subtitle Edit from its official project source and open the TXT file through File → Import → Plain text, if the file already has a structure the importer recognizes.
  2. For an untimed transcript, create subtitle entries, paste one caption or dialogue unit into each entry, and set start and end times in the subtitle grid. Use the video’s waveform or audio playback to place the boundaries accurately.
  3. Remove excessive line lengths, split captions at natural pauses, and correct encoding or spelling problems.
  4. Save the result with File → Save as, choose SubRip (*.srt), and confirm that the filename ends in .srt.

Subtitle Edit versions and import menus can differ. If plain-text import does not separate the transcript correctly, create the entries in a new subtitle document and paste the text manually. Its speech-recognition features, where available, can generate timings from audio, but they require the original video or audio and still need review.

Use an online subtitle editor

Browser-based services such as Happy Scribe, VEED, and Kapwing can import or accept pasted transcripts, synchronize text with uploaded media, and export SRT. Their TXT import rules differ: some treat the file as an untimed transcript, while others recognize only specific timestamp layouts.

  1. Open the service’s subtitle or caption editor, upload the video or audio when timing is needed, and upload or paste the TXT content.
  2. Split the transcript into caption cues and synchronize each cue with playback or the service’s automatic speech-recognition timing.
  3. Review the generated timing and text, then select Export → SRT or the equivalent download option.

Do not upload confidential transcripts or unreleased media without checking the provider’s retention and privacy terms. A desktop editor is preferable when the material cannot be sent to a third-party server.

Check timing and compatibility

  • Use UTF-8 encoding to preserve accented characters and non-Latin scripts; if a player shows garbled text, reopen and resave the file as UTF-8.
  • Keep cues readable: avoid excessively long lines, allow enough time to read them, and do not place multiple cues on top of one another unless the target software supports that arrangement.
  • Ensure each end time is later than its start time and that cue numbers increase sequentially. Remove unsupported metadata and stray formatting from the TXT source.
  • SRT stores times in milliseconds and does not embed a video frame rate. If timings were converted from frame numbers, use the source video’s correct frame rate or cues may drift.
  • Test the exported file with the intended player or editor. Some platforms accept SRT only with specific encoding, maximum line lengths, cue durations, or naming conventions.

TXT vs SRT: format comparison

How the TXT and SRT formats compare on the properties that matter most for this conversion.

Comparison of the TXT and SRT file formats
Property .TXT Plain Text File .SRT SubRip Subtitle
Open standard Yes Partly open
Compression Uncompressed Uncompressed
Typical file size Very small Very small
Opens in a web browser Yes, natively Partial
Further editing Easy Easy
Metadata support None Basic
Plain-text readable Yes Yes
Best used for Data exchange Sharing and distribution
Introduced 1997
Developer Unknown / SubRip community
MIME type text/plain application/x-subrip