Subtitle-file hosting

SRT to URL for video workflows

Upload an SRT subtitle file and get a stable URL to pass to a player, media workflow, or download experience.

Get free API key 1 provisional / 15 verified uploads/mo · no credit card

How to upload SRT subtitles and get a URL

Subtitle files are often generated separately from video and need a dependable handoff point. FilePost gives the SRT file its own URL so a player or automation step can retrieve it when needed.

FilePost hosts the subtitle text exactly as uploaded. Make sure the character encoding and timecode format are correct before uploading; the API does not rewrite captions or synchronize them to a video.

Upload srt files with FilePost

Use the authenticated FilePost upload API for srt files. The endpoint returns a JSON object containing the public URL, file ID, size, content type, and filename mode.

curl -X POST https://upload.filepost.dev/v1/upload \
  -H "X-API-Key: YOUR_API_KEY" \
  -F "file=@captions.srt"

Example response

{
  "url": "https://cdn.filepost.dev/file/…",
  "file_id": "a1b2c3d4e5f6",
  "name": "captions.srt",
  "size": 84210,
  "content_type": "application/x-subrip"
}

What to do with the returned URL

Save the subtitle URL with the video record, expose it as a download, or pass it to the next media-processing step.

<track src="https://cdn.filepost.dev/file/…" kind="subtitles">

Good uses for srt to URL

  • Subtitle files next to hosted videos
  • Media-processing handoffs
  • Caption downloads from an app or workflow

Know the boundary

FilePost does not generate captions, translate subtitles, or retime cues. Use a captioning or media-processing tool for those jobs.

For the complete request and response contract, see the FilePost API documentation. You can also test the flow with the interactive upload on the homepage.

SRT to URL FAQ

Can I host SRT subtitle files?

Yes. SRT is a normal file upload. FilePost returns a public HTTPS URL that your player or workflow can fetch.

Does FilePost synchronize subtitles with video?

No. FilePost stores the SRT file. Cue timing and synchronization remain the responsibility of your media workflow or player.

Can the SRT URL be used in a video track?

You can use the returned URL as a track source when your player and delivery policy support cross-origin subtitle files.

Ready to turn srt files into URLs?

Start free, make one API request, and keep the returned CDN URL in your app or workflow.

Get free API key 1 provisional / 15 verified uploads/mo · no credit card