GitHub is an essential software in a developer’s life. Every developer uses it, making learning how to utilize its various tools important. This Answer explains how to add images to the README file in Github.
Before getting started, it’s essential to understand what a README.md
is.
README.md
in GitHub?A README.md
is a markdown file. It is the first item visitors see when they visit a repository. The file is mainly used to describe the project. It holds significant information and guides developers in fully understanding the project.
One of the ways to explain things is by using visuals. Is it possible to include an image in a README file, though? Yes, it is. Below, we show how to do it.
README.md
in GitHubThere are two ways to add an image to README.md
in GitHub:
README.md
file.Here’s how to do it:
The syntax looks like:

The syntax starts with !
, the alt text is wrapped in the brackets []
, and the image link is wrapped in the parentheses.
Note: This method is mainly used when the image to be used is saved somewhere in the repository.
Happy coding!
Free Resources