instaloader
Download pictures (or videos) along with their captions and other metadata from Instagram.
What it is and what it does
Instaloader is a command-line tool that downloads Instagram content—profiles, hashtags, stories, feeds, and saved media—along with associated metadata like comments, captions, and geotags. It supports both public and private profiles (via login) and can resume interrupted downloads. The tool automatically detects profile name changes and renames local directories accordingly, and offers fine-grained filtering options for what to download and where to store it.
The package depends only on requests and runs as a pure-Python wheel, making installation straightforward. It is actively maintained and supports modern Python versions. Use it to archive Instagram content, back up profiles, or collect media and metadata for analysis—though be aware that Instagram does not officially endorse automated downloading, and the tool's continued functionality depends on Instagram's API stability and rate-limiting policies.
Use it for:
- Archive a public Instagram profile's photos, videos, and captions for personal backup or documentation.
- Download all posts from a hashtag to collect media for research, trend analysis, or content curation.
- Retrieve Instagram Stories before they expire, with optional geotag and metadata extraction.
- Bulk-download your own saved posts and liked content for local organization and offline access.
- Extract post metadata (comments, captions, timestamps) for analysis or reporting without manual scraping.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Downloads public and private Instagram profiles, hashtags, stories, feeds, and saved media along with comments, captions, and geotags via command-line interface.
Yes, if you need to download and archive Instagram content and accept Instagram's unofficial-tool status. The package is actively maintained, has low install friction, carries a permissive MIT license, and has no known security vulnerabilities. Be aware that Instagram does not endorse automated downloading and may rate-limit or block requests; session management is local and non-interactive once a login is cached.
Install
instaloader on PyPI
pip
pip install instaloaderuv
uv add instaloaderpoetry
poetry add instaloaderInstalling instaloader
Before you install
Low installation friction with a single pure-Python dependency (requests). Active maintenance with a release 19 days ago. Supports current Python versions (3.9 through 3.14).
License in practice
MIT license permits commercial and private use with minimal restrictions—you may use, modify, and distribute instaloader freely provided you retain the license notice.
Quickstart
pip install instaloader
instaloader profile username
# or with login for private profiles:
instaloader --login=your_username profile username
Requires Python 3.9 or later. Instagram may rate-limit or block requests; session cookies are stored locally for reuse.
Verify before relying
- Whether Instagram's terms of service permit automated downloading of public profiles and whether the package actively detects and adapts to Instagram API or rate-limit changes.
- Whether the package handles Instagram's two-factor authentication or other modern login flows beyond basic username/password.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — requests |
| Maintenance | actively maintained — 19 days since the last release |
| First released | |
| Downloads | 422,507/month — #6,782 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: instaloader-4.15.3-py3-none-any.whl
Keywords: instagram, instagram-scraper, instagram-client, instagram-feed, downloader, videos, photos, pictures, instagram-user-photos, instagram-photos, instagram-metadata, instagram-downloader, instagram-stories
Tags
More Internet packages
Botocore provides low-level, data-driven access…
permissive · top 100 on PyPI
aiobotocoreProvides an async client for AWS services using…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
filelockProvides a platform-independent file locking…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
googleapis-common-protosProvides common Protocol Buffer message…
permissive · top 100 on PyPI
instagrapiUnofficial Instagram API wrapper that automates…
permissive · top 5,000 on PyPI
snscrapeScrapes user profiles, posts, hashtags, and…
copyleft · top 15,000 on PyPI
socid-extractorParses HTML and API responses from 130+ social…
permissive · top 15,000 on PyPI
TikTokApiUnofficial Python wrapper for retrieving public…
permissive · top 15,000 on PyPI
icrawlericrawler is a lightweight, modular web crawler…
permissive · top 15,000 on PyPI
zernio-sdkUnified Python client for publishing social…
permissive · top 15,000 on PyPI
streamlit-avatarRenders clickable avatar icons with images,…
unclear · top 15,000 on PyPI
late-sdkOfficial Python SDK for publishing social media…
permissive · top 15,000 on PyPI
linkedin-apiProvides direct HTTP access to LinkedIn's…
permissive · top 15,000 on PyPI
pytubepytube downloads YouTube videos and playlists…
permissive · top 5,000 on PyPI