Instaloader is a tool to download pictures (or videos) along with their captions and other metadata from Instagram.

With Python installed, do:

$ pip3 install instaloader

$ instaloader profile [profile ...]


  • 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,
  • is free open source software written in Python.
instaloader [--comments] [--geotags] [--stories]
            [--login YOUR-USERNAME] [--fast-update]
            profile | "#hashtag" |
            :stories | :feed | :saved