# Change IP format

Convert an IP address from one format to another, e.g. `172.20.23.54` to `ac141736`. Change IP format 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       | `Dotted Decimal` | Choose one of: `Dotted Decimal`, `Decimal`, `Octal`, `Hex`. |
| Output format | string | no       | `Dotted Decimal` | Choose one of: `Dotted Decimal`, `Decimal`, `Octal`, `Hex`. |

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

## Returned value

| Type     | Description                                    |
| -------- | ---------------------------------------------- |
| `string` | Result of the Change IP format transformation. |

## Example

<details>
<summary>Run Change IP format</summary>

Convert an IP address from one format to another, e.g. 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**, **Output format** and keep defaults unless your format requires otherwise.

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

</details>
