How to Add Captions to Social Media Videos (Every Network)

Burn captions into the video or attach an SRT file: what YouTube, Facebook, LinkedIn, X, Instagram and TikTok accept, a tested ffmpeg command and safe margins.

A vertical video frame with a two-line caption above the bottom edge, beside a small SRT file icon and a toggle switch

Guide · By PostBoost team · · Markdown

There are two ways to put captions on a social video. Burn them in (open captions): the words become part of the picture, so they show on every network, in every app, and through any scheduling tool. Or attach a caption file (closed captions, usually SRT): viewers can switch it on and off, but only YouTube, Facebook, LinkedIn and X accept one, each in its own app. Instagram and TikTok take no caption file and generate captions from speech instead.

If you schedule posts with PostBoost, burn the captions in before you upload. PostBoost publishes the video file as you uploaded it and sends no caption file to any network.

A note on words: on social media "caption" also means the text of the post. This guide is about the words on screen. For post text, see the Instagram caption character limit.

Open or closed captions: which to use

The W3C's WCAG guidance on prerecorded captions defines both: "Open Captions are any captions that cannot be turned off", while closed captions "can be turned on and off with some players."

Burned-in (open) Caption file (closed)
Works on Every network YouTube, Facebook, LinkedIn, X
Viewer can turn off No Yes
Style Yours: font, size, position The network's player decides
Fix a typo Re-export and re-upload Replace the file
Through a scheduler Yes, it's in the video Only where the tool uploads caption files (PostBoost doesn't)
Covered by app buttons Possible: place it with care No, the player positions it

Use burned-in captions for short vertical video (Reels, TikTok, Shorts) and anything you post to several networks at once. Add a caption file as well on YouTube and long Facebook or LinkedIn videos, where people expect to switch captions on or pick a language.

Caption options on each network

Network Caption file Auto captions Where
YouTube .srt, .vtt, .sbv and more Yes, from speech YouTube Studio > Subtitles, any time after upload
Facebook Page .srt Yes ("Add Auto-generated Captions") Video options when posting; editable later
LinkedIn .srt, desktop only Not on LinkedIn's help page Edit > Select Caption, before you post
X .srt Not covered here On a video post (see X Help)
Instagram None Yes, on by default for Feed videos In the app
TikTok None Yes, chosen in the editing page In the app

YouTube. YouTube Help puts it in YouTube Studio: Subtitles > pick the video > Add language > choose the language > Add under Subtitles > Upload file, then choose With timing or Without timing, select the file and Save. SubRip (.srt), SubViewer (.sbv), WebVTT (.vtt), TTML and several others are on the supported formats list. Without a file, YouTube makes automatic captions from speech recognition, in the video's default language. They can take a while after upload, and some videos never get them: overlapping speakers, poor sound or a long silence at the start are among the reasons YouTube lists.

Facebook Page. Facebook Help lists two caption options when you post a video on a Page: Add Auto-generated Captions and Upload Captions, the second "to upload your own captions in a .srt file." You can edit the closed captions of a Page video after it is posted.

LinkedIn. LinkedIn Help covers the desktop site only: choose the video, open Edit in the preview, click Select Caption and attach the SRT file, then post. It works for personal profiles and LinkedIn Pages. LinkedIn's Videos API allows one English caption file per video.

X. X's Help Center has a page on uploading a caption (.srt) file to posts, so a video post on X can carry an SRT track.

Instagram. There is no caption file. Meta announced auto-generated captions for Feed videos in 2022: they are "automatically turned on by default when a creator uploads a video to their Feed", creators can turn them off, and viewers switch them with on-screen controls. The publishing API that schedulers use has no caption file field either: the caption parameter in Meta's IG User Media reference is the post text.

TikTok. No caption file. TikTok's auto captions launch post says creators select auto captions in the editing page after recording or uploading, and can edit the text once it is generated. The Content Posting API that scheduling tools use has no caption track: its title field is the post text, per TikTok's direct post reference.

The auto caption switches on TikTok and Instagram live in each app's editor. A video published through their APIs never passes through that editor, so if the words must be on screen, burn them in.

Burn captions into a video with ffmpeg

ffmpeg is free and runs on Windows, Mac and Linux. Its subtitles filter draws an SRT file onto every frame. We ran this command on a 1080×1920 test clip, once with an 8-bit and once with a 10-bit source:

ffmpeg -i input.mp4 \
  -vf "subtitles=captions.srt:force_style='FontName=DejaVu Sans,FontSize=13,Bold=1,Outline=3,Shadow=0,MarginL=30,MarginR=30,MarginV=100'" \
  -c:v libx264 -crf 20 -preset slow -pix_fmt yuv420p \
  -c:a copy -movflags +faststart output.mp4

What each part does:

  • subtitles=captions.srt draws the SRT file. The filter needs an ffmpeg built with libass: if ffmpeg -filters | grep subtitles prints nothing, your build lacks it.
  • force_style sets white bold text with a 3-unit black outline, readable on any background without a box. Change FontName to a font installed on your computer.
  • MarginV=100 lifts the bottom line. The value isn't in pixels: in our test (ffmpeg 4.4), SRT captions were laid out on a grid 288 units tall and scaled to the video. On a 1920-pixel frame, 100 units is about 667 pixels (our maths: 100 ÷ 288 × 1920), so the text ends just above the bottom 660 pixels that TikTok's safe-zone template covers.
  • -c:v libx264 -crf 20 -preset slow re-encodes the picture, which burning in always requires. CRF 20 keeps it close to the source. See how to compress video for social media to hit a file size cap.
  • -pix_fmt yuv420p writes 8-bit 4:2:0 video, the safe choice for every network, even from a 10-bit source.
  • -c:a copy keeps the audio as it is.

Grab a frame to check the position before you post: ffmpeg -ss 2 -i output.mp4 -frames:v 1 frame.png. Then open the frame in the free safe zone checker, which shades the parts of a 9:16 frame that TikTok, Reels and Shorts buttons are likely to cover. For a horizontal 16:9 video, a smaller value such as MarginV=20 keeps the text near the bottom edge.

Write the SRT file

An SRT file is plain text: a number, a time range, one or two lines of text, and a blank line.

1
00:00:00,500 --> 00:00:02,500
Most people watch this with the sound off.

2
00:00:02,600 --> 00:00:04,800
So the words have to be on the screen.

The fastest way to get one is to let a machine transcribe, then fix it by hand:

  1. From YouTube. Upload the video (Private is fine), wait for automatic captions, then download them as .srt from YouTube Studio. How to get the transcript of your YouTube video has the steps.
  2. Correct every line. YouTube Help warns that automatic captions "might misrepresent the spoken content due to mispronunciations, accents, dialects, or background noise." Names, product terms and numbers are where to look first.
  3. Keep cues short. Our rule of thumb: two lines per cue at most, and short lines on vertical video, where the frame is narrow and the font is large.
  4. Save as UTF-8, so accented letters and emoji come through.

Captions on videos you schedule with PostBoost

PostBoost uploads your video file as it is. For YouTube it also sends the title, description, privacy status, the made-for-kids setting and a custom thumbnail if you add one. It doesn't upload caption files to any network, and it doesn't add captions to the picture. So:

  • TikTok, Instagram Reels, X, Threads, Bluesky and LinkedIn: burn the captions in, then upload the captioned MP4 in the post editor. One file serves every network you pick.
  • YouTube: burn them in for Shorts. For a long video, schedule it as usual and add the .srt in YouTube Studio once it is live, or let YouTube's automatic captions run and correct them there. How to schedule YouTube videos covers the rest of the upload.
  • Facebook Page: burn them in, or edit the video on the Page after it publishes and upload the .srt there.

Burned-in captions survive the upload untouched: PostBoost stores an MP4 as you upload it, without re-encoding. Check length, size and shape for every network in the free social media video specs tool, or in LinkedIn video specs and YouTube Shorts length for those two. If you post through the API or an AI agent, the same rule holds: the media you attach is what publishes.

Checklist before you post

  • The words on screen match what is said, names and numbers included.
  • Captions sit above the bottom third and away from the right edge on vertical video.
  • White text with a dark outline (or a box) stays readable on light and dark scenes.
  • The re-encoded file is H.264, 8-bit, within the network's size limit.
  • For YouTube and Facebook, a caption file is added after publishing if viewers might want to turn captions off or choose a language.

Do this in PostBoost

Free tools for this guide

FAQ

What is the difference between open and closed captions?

Open captions are burned into the video frames and can't be turned off. Closed captions are a separate text track, usually an SRT file, that the viewer can switch on and off. Open captions look the same on every network; closed captions only work where the network accepts a caption file.

Which social networks let you upload an SRT caption file?

YouTube (YouTube Studio > Subtitles, which also takes .vtt, .sbv and other formats), Facebook Page videos (Upload Captions, .srt), LinkedIn (desktop, Select Caption, .srt) and X (a .srt file on a video post). Instagram and TikTok have no caption file upload: they generate captions from speech instead.

Can I add captions to a video I schedule with PostBoost?

Burn them into the video before you upload it, and they publish everywhere the video goes. PostBoost doesn't send caption files to any network. For YouTube and Facebook Page videos you can also add a caption file in YouTube Studio or on the Page after the scheduled post goes live.

How do I burn subtitles into a video for free?

With ffmpeg's subtitles filter: ffmpeg -i input.mp4 -vf "subtitles=captions.srt" -c:v libx264 -crf 20 -pix_fmt yuv420p -c:a copy output.mp4. The full command in this article also sets the font, outline and a bottom margin that keeps the text above TikTok's caption area.

Are auto-generated captions accurate enough to publish?

Read them before you publish. YouTube Help says automatic captions can misrepresent what was said because of mispronunciations, accents, dialects or background noise. TikTok lets creators edit auto caption text after it is generated, and YouTube Studio lets you edit captions too.

Where should captions sit on a vertical video?

Above the bottom third of the frame and away from the right edge. On a 1080×1920 TikTok frame, TikTok's In-Feed safe-zone template covers the bottom 660 pixels with the username, post text and sound name when the post text is short, and more when it is long. Check your own frame in the free safe zone checker.

Sources

Related guides

Try PostBoost free

API, webhooks and MCP on every plan, including Free. No credit card required.