Instaloader: Download Photos and Videos with Captions and Metadata from Instagram


If you want to backup your Instagram account but don’t want to request a backup from facebook or you’re just looking for a good Instagram scraping OSINT tool, you should take a look at Instaloader.

Instaloader is a free and open source tool written in Python that allows you to download pictures and videos along with their captions and other metadata from Instagram. Being a python library you can also write your own scripts to spot ghost followers for example.

ALSO READ HOW TO: Find Social Media Accounts by Username



  • downloads public and private profiles, hashtags, user stories, feeds and saved media,
  • downloads comments, geotags and captions of each post,
  • automatically detects profile name changes and renames the target directory accordingly,
  • allows fine-grained customization of filters and where to store downloaded media,



Open up a terminal and use pip3 install instaloader to install. To update  use pip3 install --upgrade instaloader

If you’re using Arch/Manjaro, Instaloder is available in AUR. Windows 10 users can download the standalone executable.



1. To download all pictures and videos of a profile, as well as the profile picture use instaloader profile username. You can also specify a list of usernames. It’ll also help if you cd to where you want to save your Instagram data.


2. To update the local copy of your downloaded username use instaloader --fast-update profile username.Using this options, Instaloader stops when arriving at the first already-downloaded picture. When updating profiles, Instaloader automatically detects profile name changes and renames the target directory accordingly.


3. To download private profiles, you will need to login. Use instaloader --login=your_username profile username.

NOTE: When logging in, Instaloader stores the session cookies in a file in your temporary directory, which will be reused later the next time –login is given. So you can download private profiles non-interactively when you already have a valid session cookie file.

4. To download a user’s stories, geotags, highlights, comments or photos that tagged your specific user use

  • instaloader --stories profile username
  • instaloader --geotags profile username
  • instaloader --highlights profile username
  • instaloader --comments profile username
  • instaloader --tagged profile username


Instaloader has an amazing documentation that you can check here. Also don’t forget to check the help page.

Main photo credit goes to Chris Phillips



We don't think that using an adblocker = piracy. That's simply not true. We use and recommend uBlock Origin.

However, as a small non-corporate website, we would appreciate it if you'd consider whitelisting FSM in your adblock of choice.

Alternatively, consider donating using the options below....

Monero (XMR) 43GnqUNJrTi9QyL7kEH8vM8pgWGCE6bjv1FSRipeNMM4TTeNnUVsRBb6MfMpQYxtLE7ReonxVVSXz2rFCEdW5H11LC3x73b
Bitcoin (BTC) 1Hfuq77gKKFJeNcq4EP4dQK3yDRWrFEwJR
Bitcoin Cash (BCH) qzmdm6e6q5wf2p6sxz2mst7cenz60newwc5m4e9js8
Ether (ETH) 0x5f02869278C24A6579d3820f52AD15936D6F9d69
More content?  
Ads Blocker Image Powered by Code Help Pro

Congrats on using an adblocker. We mean it.

Please support us by disabling your AdBlocker or whitelist us.

Thank you! ❤️