> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://learning.postman.com/llms.txt.

# Import cURL commands

[cURL](https://curl.se/) is a popular command-line tool for making HTTP requests. When testing a web application or API, cURL enables you to interact directly from the command line, using a well-established syntax that's common in the API developer community. If you have several cURL commands in different places, you can import them into Postman.

## Import a cURL command into Postman

1. Click <img alt="Import icon" src="https://assets.postman.com/postman-docs/aether-icons/v12/icon-action-import-stroke-small.svg#icon" width="16px" /> **Import** in the sidebar and select the **Import** tab.

2. Enter your cURL command into the text box at the top.

   ![Import data into Postman](https://assets.postman.com/postman-docs/v12/import-data-dialog-v12.png)

3. Do one of the following:

   * To save your cURL as a request in a collection, enter a new request name, and enter a new collection name or select an existing collection, then click **Import Into collection**.
   * To open your cURL as a new request without saving it, click **Import without saving**.

#### Tip

You can also paste cURL commands into a request's URL text box.

## Convert a Postman request to a cURL command

1. Open the request you want to use for a code snippet, then click <img alt="Code icon" src="https://assets.postman.com/postman-docs/aether-icons/descriptive-code-stroke.svg#icon" width="16px" /> **Code** in the right sidebar.
2. Click **cURL** from the dropdown list.
3. Click <img alt="Copy icon" src="https://assets.postman.com/postman-docs/aether-icons/action-copy-stroke.svg#icon" width="16px" /> **Copy** to copy the code snippet to your clipboard.

#### Tip

If you prefer working inside the command line with cURL making basic requests, the [VS Code extension](/docs/reference/vs-code-extension/overview/) is for you.