A Tampermonkey userscript that turns Amazon's search results into a clean CSV of product data, in seconds. Built for sellers, researchers, and category analysts who'd rather paste ASINs than click into 200 product pages by hand.
Runs on amazon.in and amazon.ae out of the box.
- A floating "Scrape ASINs" pill sits on every Amazon page. Click it to open the scraper panel.
- Paste any list of ASINs (one per line, or comma separated) and hit Start Scrape.
- Or, on a search results page, type a number and click Import N from search. The script fetches as many pages as needed in the background (no navigation, no waiting) and fills the list for you.
- Pick which CSV columns you want from the collapsible CSV columns panel (29 fields available: Title, Brand, Price, Fresh Price, MRP, Discount, Price-Per-Unit, Coupon, Bank Offers, BxGy, NCEMI, Availability, Ratings, Bestseller Rank, Bullets, and more).
- Download the CSV. Opens cleanly in Excel and Google Sheets with
₹/AEDsymbols intact.
The panel is draggable (grab the header) and resizable (drag any edge or corner). Position and size are remembered across sessions.
Tampermonkey is a free browser extension that runs userscripts (small bits of JavaScript that add features to websites). You install it once, and any userscript you add runs automatically on the sites it's designed for.
- Chrome / Brave / Edge / Arc / Opera: Tampermonkey on the Chrome Web Store
- Firefox: Tampermonkey on the Firefox Add-ons store
- Safari: Tampermonkey on the Mac App Store
Click Add to Chrome (or your browser's equivalent), then click Add extension in the popup.
Some Chrome installs leave new extensions in a "paused" state. To check:
- Open
chrome://extensionsin a new tab (you can copy-paste that into the address bar). - Find Tampermonkey in the list.
- Make sure the toggle on its card is on (blue).
While you're there, click Details on the Tampermonkey card and turn on Allow in Incognito if you want the script to work in incognito tabs too.
- Open this file in your browser: amazon_asin_scraper.user.js
- Click the Raw button (top right of the file view).
- Press Ctrl + A (Windows / Linux) or Cmd + A (Mac) to select all.
- Press Ctrl + C (or Cmd + C) to copy.
- Click the Tampermonkey icon in your browser toolbar (looks like a black square with two dots). If you don't see it, click the puzzle-piece icon and pin Tampermonkey.
- Click Create a new script. A code editor opens in a new tab with some default template text.
- Select all the template text (Ctrl + A) and delete it.
- Paste the script you copied (Ctrl + V).
- Press Ctrl + S to save (or click File > Save in the editor's menu bar).
The tab title should now read Amazon ASIN Bulk Scraper (IN + AE) and you should see no red error markers.
- Open the Tampermonkey dashboard (click the extension icon, then Dashboard).
- Find Amazon ASIN Bulk Scraper (IN + AE) in the list.
- The Enabled toggle in its row should be green / on. If it's grey, click it to enable.
That's it. The script is now installed.
- Go to amazon.in (or amazon.ae).
- Search for something, e.g.
laundry detergent. - You'll see a small orange Scrape ASINs pill in the top-right corner of the page. Click it.
- The panel opens. In the Import [60] from search box, type how many products you want (1 - 500). Click Import. The script silently fetches additional search pages in parallel and fills the ASIN list.
- Open the CSV columns drawer and uncheck any columns you don't need. ASIN and Title are always included.
- Click the orange Start Scrape button. Progress shows live: "Fetching product pages 12 / 60".
- When it finishes, your browser downloads a CSV called something like
amazon_inr_pdp_2026-06-21-12-34-56.csv.
- On any Amazon page, click the Scrape ASINs pill.
- Paste your list of ASINs into the textarea. One per line, or comma separated. Mixed case is fine.
- Optionally adjust the CSV columns.
- Click Start Scrape.
- Drag the panel by its dark blue header to move it anywhere on screen. Drag any edge or corner to resize it.
- Drag the orange pill itself when the panel is closed, then drop it wherever you want. It'll be there next time you load Amazon.
- The script remembers your CSV column selection, panel position, and pill position across sessions.
- The CSV opens cleanly in Microsoft Excel, Google Sheets, Apple Numbers, LibreOffice Calc, and any tool that reads UTF-8 CSV.
The Scrape ASINs pill doesn't show up.
- Make sure you're on
amazon.inoramazon.ae(not.comor another locale). - Reload the page once after installing.
- Check that Tampermonkey is enabled (
chrome://extensions) and the script is enabled (Tampermonkey Dashboard).
The CSV shows weird characters instead of ₹ or AED.
You're on an older version of the script that's missing the UTF-8 BOM fix. Copy the latest amazon_asin_scraper.user.js, paste over the old script in Tampermonkey, save, and reload the Amazon tab.
A row in the CSV has Title: Error: HTTP 503 or CAPTCHA.
Amazon has rate-limited the script, usually after a very large batch. Wait a few minutes, reload Amazon to clear the CAPTCHA in your browser session, and try again with a smaller batch.
I want to scrape amazon.com (or another country).
Open the script in Tampermonkey's editor. Near the top you'll see @match https://www.amazon.in/* and @match https://www.amazon.ae/*. Add another line for your locale, e.g. @match https://www.amazon.com/*. You may also need to add a matching entry in the DOMAIN_CONFIG block (a few lines below) for currency detection.
A few constants at the top of the script you can tweak without touching the rest:
LOGO_SRC: the URL of the Amazon logo shown in the header. Defaults to Wikipedia's square Amazon icon. Set tonullto use the built-in fallback SVG, or paste any other image URL.AUTHOR: changenameandurlto swap out the LinkedIn credit shown in the header.FIELDS: the canonical list of CSV columns. Comment out any line to permanently drop that column for everyone using this script (the dropdown is the per-user version).
- The script only sends requests to
amazon.in/amazon.ae(or whatever Amazon domain you've added to@match). - Your existing Amazon cookies are sent with the fetches (this is how it works whether you're logged in or as a guest).
- No data leaves your browser. There's no telemetry, no analytics, no third-party server.
- The Wikipedia Amazon icon URL is the only external request (one image, cached after first load).
MIT. Do whatever you want, just don't blame me if Amazon decides they don't like it.
Built by Jatin Dinesh.
Logo from Wikimedia Commons.