- 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.
instaloader [--comments] [--geotags] [--stories] [--login YOUR-USERNAME] [--fast-update] profile | "#hashtag" | :stories | :feed | :saved
Do this work on a computer, macOS or Windows.
Install the latest version of Python.
This next step requires use of the command line.
- If you're on macOS, go to Finder > Applications > Utilities > Terminal
- If you're on Windows, open the Command Prompt by clicking Start and then typing “cmd” into the search box. Alternatively, click/tap on the microphone icon in Cortana’s search field and say “Launch Command Prompt.”
In the command line, do
pip3 install instaloader
Download your data
To download all pictures and videos of a profile, as well as the profile picture, do
instaloader profile [profile ...]
profile is the name of a profile you want to download. Instead of only one profile, you may also specify a list of profiles.
To later update your local copy of that profiles, you may run
instaloader --fast-update profile [profile ...]
--fast-update is given, 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.
Instaloader can also be used to download private profiles. To do so, invoke it with
instaloader --login=your_username profile [profile ...]
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.
Instaloader doesn't work with two-factor authentication.
To turn two-factor authentication off:
- Go to your profile and tap (iOS) or (Android) in the top-right corner
- Scroll down and tap Two-Factor Authentication
- Tap Require Security Code to move to the off position
- Then tap Turn Off at the bottom of the message that appears
How do I delete my account?
After you delete your account, you can't sign up again with the same username or add that username to another account, and we can't reactivate deleted accounts.
To permanently delete your account:
- Go to the Delete Your Account page. If you're not logged into Instagram on the web, you'll be asked to log in first. You can't delete your account from within the Instagram app.
- Select an option from the drop-down menu next to Why are you deleting your account? and re-enter your password. The option to permanently delete your account will only appear after you've selected a reason from the menu.
- Click or tap Permanently delete my account.
If you'd like to delete a different account, click the username in the top-right of the Delete Your Account page, tap/click on next to username and select Log Out. Log back in as the account you want to delete and follow the directions above.
For security reasons, we can't delete an account for you. You’ll need to be able to log into your account to delete it. If you can't remember your password or username, see some tips for logging in.