{
  "id": 22574631,
  "title": "How to check whether a web tool uploads your file (DevTools + a fetch/XHR hook)",
  "url": "https://urgent.news/2026/11/29/how-to-check-whether-a-web-tool-uploads-your-file-devtools-a-fetch",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-29T12:18:08.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/nativeconvert/how-to-check-whether-a-web-tool-uploads-your-file-devtools-a-fetchxhr-hook-41m2"
  },
  "original_language": null,
  "account": "To determine if a web tool uploads your file, follow these steps:\n\n1. Use a test file: Create a blank image or short text file that cannot be compressed. For example, a 400x300 random-noise PNG with about 360 KB size. This ensures the request carrying the file is at least as large as the file itself.\n\n2. Quick check using DevTools:\n- Open DevTools (F12) and go to the Network tab.\n- Preserve the log so the list remains while you interact with the page.\n- Filter the filter box to show only GET requests (POST, PUT, etc.).\n- Perform the actions on the page as a normal user would (convert, upload, download).\n- Click each remaining request and check the Payload tab for (binary) or a form field, and the Content-Length request header.\n- Note the request size, which should be about the same as the file size (a little more for form boundaries and headers).\n\nThings to watch out for:\n- The Size column shows the response, not what was sent.\n- Some sites send the file immediately upon selection, while others only when you press Convert.\n- Check both moments.\n- Some sites send a resized copy or thumbnail.\n- Look at POST bodies smaller than the file size as well.\n\nOffline check:\n- Load the page and set the Network throttling dropdown to Offline.\n- If the conversion still works, the network was not required for the upload.\n- If it fails, the upload likely required network communication.\n\n3. Addressing network logs:\n- Automated network logs can sometimes miss uploads. For example, a POST with a 1,243,445-byte photo was logged with a request body size of 0.\n- To account for this, use a page-side hook that logs the size of the request body for fetch(), XHR, and sendBeacon functions.\n- Wrap the functions the page uses to send data, before the page uses them, and log the size of each body.\n- Compare the network log size with the page-side hook size. Use the larger value to determine if an upload occurred.\n\nBy following these steps, you can verify whether a web tool uploads your file or not without relying solely on the tool's claims.",
  "summary": "Lots of web tools say \"your file never leaves your browser\". You don't have to take their word for it: it takes a few minutes to check from the outside. Below is the method we use, from the quick DevTools check to a small page-side hook that records request body sizes, plus the case where an automated network log reported 0 bytes for a request that carried the whole file . Disclosure: I build…",
  "summary_source": "publisher",
  "key_points": [],
  "editors_take": null,
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}