Convert cURL to Java

Tired of running into CAPTCHAs while scraping? SOAX scraping APIs help you get the data you need, without the headaches.

Copy

How to extract cURL commands using different browsers

Chrome

  1. Go to your dev tools in Chrome and open the network tab
  2. (optional) Filter the request list by data type such as docs (HTML) or Fetch/XHR (JSON)
  3. Right click the network request that you want the cURL for
  4. Go to copy -> Copy as cURL (bash)
  5. Paste the cURL in the converter above to get the Java code

Firefox

  1. Go to your dev tools in Firefox and open the network monitor tab
  2. (Optional)
  3. Right click the network request that you want the cURL for
  4. Go to copy -> Copy as cURL (POSIX)
  5. Paste the cURL in the converter above to get the Java code

Safari

  1. Go to your dev tools in Chrome and open the network tab
  2. Right click the request that you want the cURL for
  3. Select Copy as cURL from the dropdown
  4. Paste the cURL in the converter above to get the Java code