# Extract MAC addresses

Extracts all Media Access Control (MAC) addresses from the input. Extract MAC addresses 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 MAC addresses transformation. |

## Example

<details>
<summary>Run Extract MAC addresses</summary>

Extracts all Media Access Control (MAC) addresses from the input. 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>
