# Parse UDP

Parses a UDP header and payload (if present). Parse UDP lives in the **Networking** category of the `fx` menu.

## Parameters

| Parameter    | Type   | Required | Default | Description                                            |
| ------------ | ------ | -------- | ------- | ------------------------------------------------------ |
| Input        | string | yes      | —       | Value to transform. Previous step output or a literal. |
| Input format | string | no       | `Hex`   | Choose one of: `Hex`, `Raw`.                           |

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

## Returned value

| Type   | Description                             |
| ------ | --------------------------------------- |
| `JSON` | Result of the Parse UDP transformation. |

## Example

<details>
<summary>Run Parse UDP</summary>

Parses a UDP header and payload (if present). 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 **Input format** and keep defaults unless your format requires otherwise.

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

</details>
