How to Add Images to README.md on GitHub?
Last Updated : 19 Jun, 2024
Adding images to README.md on GitHub is a good practice to keep the individual user's readme effective & interactive, plus it also helps dictate the project admins better in what issues we are solving by displaying an image. In this article, we will learn how to add images to README.md in GitHub and the different ways to do so.
Why Add Images to Your README.md?
Including images in your README.md file can:
- Improve Clarity: Visual aids can make complex information easier to understand.
- Enhance Aesthetics: A visually appealing README can make your project more inviting to potential contributors.
- Showcase Features: Screenshots and diagrams can effectively demonstrate the functionality and architecture of your project.
Steps to add images to README.md on GitHub
Approach 1: Simple copy-paste method
Select the image you want to add in the readme and right click on the image & click copy. Or else press CTRL + C. Go on the readme page and click CTRL + V.
Copy the image from the folderPaste the image in the readme.md.
Paste the imageFinal output:
Image pasted
README.mdApproach 2: Drag & Drop
This is probably the easiest among all. Simply click the image, drag it to the browser window & drop it on the readme file. The screenshot will appear on the readme & here's the final output:
README.mdApproach 3: Using the <img> tag
Using the following syntax of HTML, we can add images to the readme file:
<img src="" alt="">
Here, src is the link address of the image & alt is the text which will be displayed if for some reason the image is unable to load.
Copy the image address of any image.
Copy Image AddressAdd the link to the img src tag in the README file.
README.mdHere's the final output:
Image in README.mdApproach 4: Using the path & description method
Using the following syntax, we can add images to the readme file:

Add a folder named "images" and add a forest.jpg image in the directory. Add the following command in the readme file:

Here, the text within the square brackets is the description of the image file & the text in the parentheses is the path of the image in the repository.
DirectoryNow add the above command in the README.md.
Look at text at 4th positionFinal output:
How to Add Images to README.md on GitHub? Similar Reads
How to Add GIFs on README .md File in a GitHub Repository? Git is a free and open-source distributed version control system designed to handle everything from small to very large projects. Github is a highly used software that is used for version control. It is more helpful when more than one person is working on a project. GIF as we all know stands for Gra
2 min read
How to Embed a Video Into GitHub README.md? GitHub README.md files are written in Markdown, which does not support direct video embedding. However, we can embed videos using the GitHub Repository and create links to YouTube videos with an embedded image that acts as a thumbnail. There are several approaches to embedding video into GitHub READ
2 min read
How to Add a README To Your GitHub Profile Creating a README for your GitHub profile is an excellent way to showcase your projects, skills, and personality to potential employers, collaborators, and the open-source community. A well-crafted README can make your profile stand out and provide valuable information at a glance. In this guide, we
3 min read
How to Add Github to Linkedin? Adding a GitHub profile to LinkedIn is a great way to showcase our coding projects, contributions, and technical skills. This can enhance our LinkedIn profile by providing potential employers and professional connections with direct access to our work. There are multiple ways to add your GitHub to L
2 min read
How to Add Videos on README .md File in a GitHub Repository? Git is known as the free and open-source distributed version control system that is specially made to handle everything from small to very large projects. GitHub is a highly used software that is used for version control. When working in a team where we have more than one developer, this software co
3 min read