# To Charcode

Converts text to its unicode character code equivalent. For example, `Γειά σου` becomes `0393 03b5 03b9 03ac 20 03c3 03bf 03c5`. To Charcode lives in the **Data format** category of the `fx` menu.

## Parameters

| Parameter | Type   | Required | Default | Description                                                                  |
| --------- | ------ | -------- | ------- | ---------------------------------------------------------------------------- |
| Input     | string | yes      | —       | Value to transform. Previous step output or a literal.                       |
| Delimiter | string | no       | `Space` | Choose one of: `Space`, `Comma`, `Semi-colon`, `Colon`, `Line feed`, `CRLF`. |
| Base      | number | no       | `16`    | Numeric value. Default `16`.                                                 |

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

## Returned value

| Type     | Description                               |
| -------- | ----------------------------------------- |
| `string` | Result of the To Charcode transformation. |

## Example

<details>
<summary>Run To Charcode</summary>

Converts text to its unicode character code equivalent. Adjust optional parameters when the defaults do not match your payload.

1. Set **Input** to the value to transform. Paste:

   ```text title="Input"
   Γειά σου
   ```

2. Review **Delimiter**, **Base** and keep defaults unless your format requires otherwise.

3. Confirm **Output value** matches the expected result (for example `0393 03b5 03b9 03ac 20 03c3 03bf 03c5`).

</details>
