Case study
How to Embed a Video in a GitHub README (GIF or MP4)
Yes, you can upload a video to GitHub and show it in a README: the steps, the 10 MB and 100 MB limits, GIF versus MP4, and a demo drawn by Scribe.
Can you upload a video to GitHub?
Yes. Drag an MP4, MOV or WebM file into an issue or pull request comment on GitHub, copy the link it generates, and paste that link on its own line in your README, where GitHub shows it as a video player. Videos can be up to 10 MB on a free plan and 100 MB on a paid plan. For a looping clip that plays without a click, use a GIF instead; the three options are compared below.
A README with a static screenshot undersells a CLI
A README that only shows a code block and a screenshot makes a visitor guess whether the tool actually does what the words say. A short demo clip closes that gap in seconds, but the usual advice, record your screen, upload to a video host, paste an embed, is three extra tools for something that should take one. I tested the shorter path: draw the quickstart with Scribe and drop the export straight into the README.
Three ways to embed a video in a GitHub README
- A GIF plays inline anywhere Markdown renders images. Reference it with  from the repository, or drag it into the README editor and let GitHub upload it. GitHub caps uploaded images and GIFs at 10 MB.
- An MP4, MOV or WebM file can be uploaded the same way. GitHub accepts videos up to 10 MB for repositories on a free plan and 100 MB on a paid plan, and recommends H.264 for the widest playback. Mirrors of your README, such as a package registry page, may not play it.
- A linked poster keeps the README light: [](https://example.com/demo) shows a still image that opens the full video wherever you host it.
The limits above come from GitHub's attaching files documentation. The rest of this post tests the GIF route with a clip that is drawn rather than screen recorded.
The fixture: a five-line quickstart
# Quickstart
Install the CLI.
Run the setup command.
Drop the exported clip into the README and commit it.This is what the article embeds so you can inspect the drawing at full resolution: a heading, then three short instructions, drawn in order. For a real README, though, the file you actually want is not this MP4.
MP4 is for the article; GIF is for the README
Scribe's studio has a second export button next to Download video: a GIF export built specifically for README, Slack, Discord and X embeds, where a viewer expects something that just plays without clicking a player control. It's signed in, like the MP4 path, and counts as one of your daily exports (MP4, WebM and GIF all count toward the 5 a day on FREE), but it is unbranded (no end card, even on FREE). The FREE tier caps a GIF at a 480px short edge, 12 fps and 10 seconds; a longer recording plays faster to fit rather than getting cut off. Premium raises that ceiling to a 1080px short edge, 15 fps and 20 seconds.
For a README specifically, that trade-off is the right one: a GIF is the one clip format every Markdown renderer plays inline with zero extra markup, no player chrome, no autoplay policy to fight. An uploaded MP4 can work too on hosts that render it inline, but a GIF is the safer default when you don't control where the README gets mirrored.
The actual steps
- Write the shortest sequence that proves the tool works: install, one command, one visible result. Five lines is plenty.
- Paste it into Scribe as plain text or code, preview it, and only then click the GIF export instead of Download video.
- Drag the downloaded .gif into your README.md's edit view; GitHub uploads it and inserts the Markdown image syntax automatically.
- Commit the README change alongside the code, so the demo never drifts out of sync with what the repository actually does.
None of this needs a webcam, a microphone or a separate screen recorder. The narration is the pen drawing the same words a reader would otherwise read silently; it earns its place by adding pace and sequence, not by adding a voice.
When it's not worth the extra file
A one-line CLI with no visible output doesn't need a clip: a code block says everything a GIF would. Save the export for a quickstart with a visible before/after, a UI, or a sequence long enough that a reader benefits from watching the order rather than reconstructing it from a numbered list.
Try it on your own quickstart
Preview is free and doesn't require an account; sign in only when you're ready to export. Start on Scribe, read the documentation use case for the rest of the paste-and-preview flow, and check pricing for what a FREE versus Premium export includes.
For a companion piece on turning a pull request diff into a similar clip, see turn a git diff into a hand-drawn walkthrough video; for a longer documentation excerpt handled the same way, read turn technical documentation into a short video.