# Extract domains

Extracts fully qualified domain names. Note that this will not include paths. Use Extract URLs to find entire URLs. Extract domains lives in the **Extractors** category of the `fx` menu.

## Parameters

| Parameter     | Type    | Required | Default | Description                                            |
| ------------- | ------- | -------- | ------- | ------------------------------------------------------ |
| Input         | string  | yes      | —       | Value to transform. Previous step output or a literal. |
| Display total | boolean | no       | `false` | Disabled by default.                                   |
| Sort          | boolean | no       | `false` | Disabled by default.                                   |
| Unique        | boolean | no       | `false` | Disabled by default.                                   |

`Input` is the primary value (previous step output or a literal).

## Returned value

| Type     | Description                                   |
| -------- | --------------------------------------------- |
| `string` | Result of the Extract domains transformation. |

## Example

<details>
<summary>Run Extract domains</summary>

Extracts fully qualified domain names. Adjust optional parameters when the defaults do not match your payload.

1. Set **Input** to the value to transform (previous step output or a literal).

2. Review **Display total**, **Sort**, **Unique** and keep defaults unless your format requires otherwise.

3. Confirm **Output value** shows the transformed result.

</details>
