A Lantern Lab project

Year in Orders

for your Amazon data

How much have you spent on Amazon this year? Drop in the order history from Amazon’s data export and get your total after refunds, your biggest order, busiest month, the thing you keep re-ordering and the orders you placed after midnight, as cards sized for stories. There’s a business-expense filter for tax time too. Free, no sign-up.

Your order history never leaves your device.

The .zip Amazon sends you (for example Your Orders.zip), or the CSVs inside it: Order History.csv or Retail.OrderHistory.1.csv, plus the refund file if you have it. You can also drag them here.

Don’t have the file yet? Amazon has no instant download any more: you request it and wait, often a few hours, sometimes days. How to request it.

How to get your Amazon order history

Amazon retired its “order history reports” download in 2023. Today you ask for a copy of your data and Amazon emails you when it’s ready. Ask for Your Orders only and it’s usually quicker: often a few hours, sometimes a few days, and Amazon allows up to 30 days for big requests.

Request your data (on a computer or phone browser)
  1. Sign in at amazon.com (or your country’s Amazon site) in a web browser.
  2. Go to Account & Lists → Account, find Data and privacy, and choose Request your data. (Searching the help pages for “request my data” also gets you there.)
  3. In the list of data categories, pick Your Orders. Add Your Returns & Refunds too if it’s listed, so refunds can be taken off your total.
  4. Submit, then click the confirmation link Amazon emails you.
  5. Wait for the “your data is ready” email. The download link expires after a while, so grab it when it arrives.
  6. Download the .zip and drop it here, unopened. On a phone it lands in Files or Downloads.

Amazon’s own instructions: Request your personal information (Amazon Customer Service). Menu names differ a little by country and change over time; the direct page is amazon.com/hz/privacy-central/data-requests/preview.html.

Which files does this read?

Newer exports (2025 onward) look like Your Amazon Orders/Order History.csv, with refunds in Your Returns & Refunds/Refund Details.csv and digital purchases in Digital Content Orders.csv. Older ones use Retail.OrderHistory.1/Retail.OrderHistory.1.csv and Retail.OrdersReturned.Payments.1.csv. Drop the whole zip and the right files are picked out; everything else in it is skipped without being opened.

From each order row only these columns are read: order number, order date, product name, product ID (ASIN), quantity, prices and totals, currency, order status and department. Shipping and billing addresses, payment methods, gift messages and tracking numbers are ignored and never shown.

If you shop on more than one Amazon site, each site is its own .1, .2 file and currency; pick the currency above the cards.

What exactly is in the total?

Each item line’s Total Owed (older files) or Total Amount (newer files), which includes tax and, where Amazon lists it, shipping and discounts. Cancelled lines are left out. Refunds from the refund file are taken off when they match an order in the year you’re looking at. Digital orders are counted when the digital file is there and the box is ticked. Gift card reloads, Prime membership fees, subscriptions billed outside orders and Whole Foods in-store purchases aren’t in the order file, so they aren’t counted. The line under the controls says what went into your number.

Your orders never leave your device. How we know:

There’s no server to send them to

This page is plain files on GitHub Pages. Your files are read, counted and drawn by JavaScript in this browser tab. Close the tab and they’re gone.

The browser blocks it anyway

The page’s Content-Security-Policy only allows two outside addresses: the optional email signup, which sends just your email, and our page-view counter, which never sees your files. We count anonymous page views with GoatCounter (no cookies, no personal data). No ad trackers, no third-party scripts or fonts.

Item names stay off the cards

Cards show totals and counts. Product names appear only if you tick the box, and the tax table with names is never in an image or a link.

It’s open source

Every line is on GitHub: lanternlab2027/lab → docs/amazon. The zip reader (JSZip) is copied into the folder, not loaded from a CDN. Try it in airplane mode.

Questions

How much have I spent on Amazon, all time?

Pick All time in the year menu. It covers whatever range is in your export; ask for all your orders when you request the data.

Is this made by Amazon?

No. Year in Orders is an independent project. It is not affiliated with, endorsed by or sponsored by Amazon, and uses no Amazon logos or brand colors.

Why don’t my numbers match my card statement?

Amazon charges when items ship, splits orders, and some money never appears in the order file (gift card balance, Prime fees, in-store purchases). Refunds only come off if the refund file is included. Treat the total as a close estimate, not an accounting record.

Where are the top categories?

Only some exports include a Department column. When yours does, you get a top-categories card. When it doesn’t, the card is skipped; we don’t guess categories from product names.

Why are late-night orders in my time zone?

The export stores order times in UTC. They’re converted to this device’s time zone, so if you moved during the year a few times may be off by some hours.

It says it can’t find orders in my file

Upload the original zip, or the order history CSV inside it, not a copy re-saved from a spreadsheet. If Amazon changed the column names, tell us on GitHub (without your file) and we’ll add them.

Is it free?

Yes.