# cURL to PowerShell

Convert curl to PowerShell (Invoke-RestMethod). Client-side and secret-safe, with guides for HTTP methods, content types and auth schemes.

Paste a curl command and get idiomatic PowerShell. Parsing and code generation happen entirely in your browser.

## Guides

- [Convert a cURL GET request to PowerShell](https://toolpaper.manavdev.site/how-to/curl-get-in-powershell.md): Convert a curl GET command to PowerShell (Invoke-RestMethod). Paste your command, get idiomatic code — headers, body, auth, and cookies handled.
- [Convert a cURL POST request to PowerShell](https://toolpaper.manavdev.site/how-to/curl-post-in-powershell.md): Convert a curl POST command to PowerShell (Invoke-RestMethod). Paste your command, get idiomatic code — headers, body, auth, and cookies handled.
- [Convert a cURL PUT request to PowerShell](https://toolpaper.manavdev.site/how-to/curl-put-in-powershell.md): Convert a curl PUT command to PowerShell (Invoke-RestMethod). Paste your command, get idiomatic code — headers, body, auth, and cookies handled.
- [Convert a cURL PATCH request to PowerShell](https://toolpaper.manavdev.site/how-to/curl-patch-in-powershell.md): Convert a curl PATCH command to PowerShell (Invoke-RestMethod). Paste your command, get idiomatic code — headers, body, auth, and cookies handled.
- [Convert a cURL DELETE request to PowerShell](https://toolpaper.manavdev.site/how-to/curl-delete-in-powershell.md): Convert a curl DELETE command to PowerShell (Invoke-RestMethod). Paste your command, get idiomatic code — headers, body, auth, and cookies handled.
- [Send JSON with cURL in PowerShell](https://toolpaper.manavdev.site/how-to/send-json-with-curl-in-powershell.md): Convert a curl command that sends JSON into PowerShell (Invoke-RestMethod). Body serialization, Content-Type, and encoding handled correctly.
- [Send form-urlencoded with cURL in PowerShell](https://toolpaper.manavdev.site/how-to/send-form-with-curl-in-powershell.md): Convert a curl command that sends form-urlencoded into PowerShell (Invoke-RestMethod). Body serialization, Content-Type, and encoding handled correctly.
- [Send multipart form-data with cURL in PowerShell](https://toolpaper.manavdev.site/how-to/send-multipart-with-curl-in-powershell.md): Convert a curl command that sends multipart form-data into PowerShell (Invoke-RestMethod). Body serialization, Content-Type, and encoding handled correctly.
- [Send XML with cURL in PowerShell](https://toolpaper.manavdev.site/how-to/send-xml-with-curl-in-powershell.md): Convert a curl command that sends XML into PowerShell (Invoke-RestMethod). Body serialization, Content-Type, and encoding handled correctly.
- [Send GraphQL with cURL in PowerShell](https://toolpaper.manavdev.site/how-to/send-graphql-with-curl-in-powershell.md): Convert a curl command that sends GraphQL into PowerShell (Invoke-RestMethod). Body serialization, Content-Type, and encoding handled correctly.
- [cURL with Bearer token in PowerShell](https://toolpaper.manavdev.site/how-to/curl-bearer-auth-in-powershell.md): Convert a curl command using Bearer token to PowerShell (Invoke-RestMethod). Credentials pass through cleanly and can be redacted before you share.
- [cURL with Basic auth in PowerShell](https://toolpaper.manavdev.site/how-to/curl-basic-auth-in-powershell.md): Convert a curl command using Basic auth to PowerShell (Invoke-RestMethod). Credentials pass through cleanly and can be redacted before you share.
- [cURL with API key in PowerShell](https://toolpaper.manavdev.site/how-to/curl-api-key-auth-in-powershell.md): Convert a curl command using API key to PowerShell (Invoke-RestMethod). Credentials pass through cleanly and can be redacted before you share.

---

Source: https://toolpaper.manavdev.site/curl-to-powershell · Converter: https://toolpaper.manavdev.site/curl-converter