PDF download Download Article
An easy, step-by-step guide on downloading files from GitHub
PDF download Download Article

When you view individual files on GitHub, you'll notice the button to download the code isn't there. You'll instead see the download button on the right side of the page when you navigate to the root of the repository. This wikiHow will teach you how to download files from GitHub by changing to the Raw version of the file.

  1. Go to https://github.com/ in a web browser. You can use any web browser to download files.[1]
  2. Use the search bar at the top of the page to find the file you want to download and the results will list repositories that match your search.[2]
    Advertisement
  3. You'll see this option on the right side of the browser.[3]
  4. You'll see this above the list of files within this repository next to a button to download all the files.[5]
  5. It'll open within GitHub in your web browser.[6]
  6. You'll see this next to Blame and a monitor icon above the space where the file displays.[7]
    • The page will redirect to display the file contents without any GitHub headers, footers, or menus.
  7. Alternatively, you can press the keyboard shortcut Ctrl/CMD + S.
    • Your file manager will open so you can select a name and location to save the file.
    • If you want to download the entire repository instead, navigate to the root (click the first half of the link, which is usually before any /), click the button with the download icon (it will usually say Code), and click Download ZIP.[8]
  8. Advertisement

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Video

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!

You Might Also Like

Download a GitHub Folder Download a Folder from GitHub: 3 Quick & Easy Ways
Clone a Repository on Github3 Quick & Easy Ways to Clone a GitHub Repository (With Pictures)
Download a File Download Files and Documents to a Computer or Mobile
Download PDFsDownload PDFs
Import a Repository on Github Import a Repository on GitHub
Force a File to Download from the Web on Dropbox Force a File or Link to Download in Dropbox
View Source Code View Source Code in Any Web Browser (Even Mobile!)
Save Video Using Inspect Element Save a Video Through Inspect on Chrome, Firefox, Edge, & Safari
Open Downloads Open Downloads: Windows, Mac, Chrome, Firefox, & More
Save a Webpage Save a Website For Archival or Offline Viewing
Install BootstrapA Complete Guide to Installing Bootstrap Files
Download from Figma Export Images from Figma
Save on Google Sheets on PC or MacSimple Steps to Saving Google Sheets on PC and Mac
Download Google Docs4 Easy Ways to Download and Save Google Docs
Advertisement

Expert Interview

Thanks for reading our article! If you’d like to learn more about using github, check out our in-depth interview with Théo Dufort.

About This Article

Théo Dufort
Co-authored by:
Software Engineer and Full-Stack Web Developer
This article was co-authored by Théo Dufort and by wikiHow staff writer, Darlene Antonelli, MA. Théo Dufort is a Software Engineer and Full-Stack Web Developer based in Quebec, Canada. With nearly 6 years of experience, Théo is a full-stack developer specializing in web development. At just 16, he launched his own consulting business to advise on all things web design and development. Most recently he created MyBookQuest, designed to be an all-in-one platform for book lovers to track, organize, and fill their personal library. MyBookQuest aims to fill the gaps of the popular Goodreads app owned by Amazon by rewarding its users with points to give them different perks like discount coupons as an incentive to read, review, and rate their latest book. This article has been viewed 487,455 times.
How helpful is this?
Co-authors: 10
Updated: April 26, 2025
Views: 487,455
Categories: Programming
Article SummaryX

1. Go to https://github.com/ in a web browser.
2. Navigate to the file you want to download.
3. Click Releases (if it's available).
4. Click Go to file.
5. Click to select a file that you want to download.
6. Click Raw .
7. Right-click the page and click Save as.

Did this summary help you?

Thanks to all authors for creating a page that has been read 487,455 times.

Is this article up to date?

Advertisement