Organize Stories from your Instagram data export by date

Sort the Stories in your Instagram data export into dated folders (2024/2024-03/2024-03-10_000000.mp4), with each file's modified time set to when the Story was posted.

Instagram keeps your own past Stories in the Archive, but the app only lets you save them one at a time. The official bulk route is Accounts Center → Your information and permissions → Download your information. Pick JSON as the format. The zip you get contains every archived Story under media/stories/, but the files have opaque names and are grouped by month only. This script fixes that.

Use

python3 organize_stories.py ~/Downloads/instagram-yourname-2026-11-26 ./my-stories

What the export does and does not include

To save a public Story from someone else's account, a browser tool such as Stories Download works from the Story link without logging in. Please keep it to personal use and ask before reposting someone else's content.

License

MIT