How do I add a meme to a GitHub README?
Upload the meme to your repo (or any public host), then add it to your README with Markdown image syntax: . For a repo file use a relative path like ; for an external image use the full https URL. Add a width with an HTML tag if the meme is too large, and always write alt text so the README stays readable.
Send it when someone opens your repo and a giant image suddenly fills the screen.
The reaction to a README that explains nothing but has three memes.
For the PR that only fixes README typos while the build is on fire.
Drake format for choosing a meme in your README over writing actual docs.
Pairs with a contribution graph section when you want to joke about consistency.
Good footer meme for a hobby project README before the first release.
An ASCII cat that works as a text-only alternative when images are not an option.
Use it in a README section about issues or pull request etiquette.
The Markdown syntax, step by step
The pattern is . The square brackets hold a short description, the parentheses hold a path or URL. Example: .
To use a file from your repo, commit the image first (for example to an assets/ or images/ folder), then reference it with a relative path: . Relative paths keep working when people clone the repo.
To use an image hosted elsewhere, paste its direct URL: . The URL must point to the image file itself, not to a page that contains it.
On your GitHub profile README (the special repo named after your username), the same syntax works. Commit the image to that repo and reference it the same way.
Sizing, captions, and GIFs
Plain Markdown has no width setting. If a meme is huge, use an HTML img tag instead: <img src="assets/meme.png" width="300" alt="meme">. GitHub renders this fine in README files.
For a caption, put the text on the line under the image, or use italics: *when the tests finally pass*. Markdown has no native caption element.
Animated GIFs work the same way as PNG or JPG: commit the .gif and link it. Keep file size reasonable so the README loads quickly.
Emojis are plain text in Markdown, so you can use them in alt text or captions, but keep alt text descriptive for screen readers.
Where to get the meme and how to keep it appropriate
Download the image from a meme library, then commit it to your repo. memecub.com lets you browse, search, copy, and download without signing up; most images are collected from the web, so they are fine for personal READMEs but copyright stays with the original creators and they are not for commercial use.
If your README belongs to a company or commercial project, use the openly licensed filter (Openverse, open-source emoji, public-domain art) so the image can be used commercially.
If nothing in the library fits, the AI meme maker at memecub.com/generate takes a character, action, and caption and returns an image in about 10 seconds; it refuses real people.
Keep it short: one or two memes near the top or in a “why this exists” section reads better than a wall of images. Always fill in alt text.
Nothing quite right? Make one
Pick a character, type a caption, get it in about 10 seconds — free to try.
More that fit
FAQ
How do I put a meme in my GitHub profile README?
Create or open the repo named after your username, commit the image file to it, and add  to the README. The same Markdown image syntax works on profile READMEs and normal repos.
Can I insert an image from a local file in Markdown?
Yes, but it must be committed to the repo first. Reference it with a relative path such as ; a path on your own computer will not render on GitHub.
How do I change the size of a Markdown image?
Markdown itself has no size syntax. Use an HTML tag instead: <img src="meme.png" width="300" alt="meme">, which GitHub renders in README files.
Can you put emojis in Markdown?
Yes. You can type the emoji directly or use shortcodes like :smile: on GitHub. They are plain text, so they also work inside alt text and captions.
What does ### do in Markdown?
It marks a heading level. ### creates an h3 heading, one level below ##, which is useful for splitting a README into sections.