Amazon Order Exporter
The itch
It starts with end-of-month budgeting. You try to work out where the money went, a good share of it went to Amazon, and Amazon makes it oddly hard to look at your own spending. Order history is a web page you scroll, with no button to get it out as data, and the list shows only totals. The individual items, the thing you'd actually want to add up or categorize, sit one click deeper on each order's detail page. This extension pulls all of it into a single CSV, so the analysis can happen in a spreadsheet instead of by hand.
What it does
Amazon Order Exporter is a Chrome extension that exports your order history to a CSV, one row per item rather than one per order, with the item name, quantity and price next to the order id, date and total. You pick a window, a specific year, the current month, or a rolling 30 or 90 days, and it walks your orders and writes the file. It works across the major regional Amazon stores, and the CSV carries a UTF-8 byte-order mark so Excel renders currency symbols correctly, rupee or euro or pound, with no import wizard. Everything happens in your own browser. It reads pages you're already logged in to, builds the file in memory, and never sends anything anywhere.
How it works
It's a Manifest V3 extension. The popup hands the job to a background service worker, which opens a separate background tab and drives it through the order pages, so your own browsing is never interrupted. Content scripts do the reading: one scrapes the paginated order list, another opens each order's detail page and pulls the line items. The result is assembled into CSV and saved through Chrome's downloads API.
What got hard along the way
Grocery orders were the awkward part. A normal order lists its items right on the detail page, but Amazon Now, the grocery arm, doesn't. Its items live inside a bottom-sheet dialog that only appears after you follow the order-tracking link and click through to "view order details." So the scraper has to notice a grocery order, take that different route, wait for the dialog to actually render, and only then read the items out of it.
Two smaller things mattered more than they look. Writing the byte-order mark is what stops Excel mangling a rupee sign into mojibake. And when an order is too old for its item detail to load, the export writes a single summary row with the total and blank item columns rather than failing, so one archived page can't sink the whole run.
Where it stands
It's live. Amazon Order Exporter is a complete v1.0.0 published on the Chrome Web Store, where it has picked up 79 users and a 5-star rating, with the source public under an MIT license. For a small, single-purpose tool built to scratch one budgeting itch, that's the whole arc: built in a couple of days, shipped, and quietly in use by other people who had the same problem.