> ## Documentation Index
> Fetch the complete documentation index at: https://learn.workflow.dog/llms.txt
> Use this file to discover all available pages before exploring further.

# Encode URI Component

> Percent-encode text for use as one part of a URL.

The **Encode URI Component** action escapes text so it can safely occupy a
single URL component, such as a query value, path segment, or fragment value.

## Inputs

| Input    | Type   | Required | Description         |
| -------- | ------ | -------- | ------------------- |
| **Text** | String | Yes      | The text to encode. |

## Outputs

| Output      | Type   | Description               |
| ----------- | ------ | ------------------------- |
| **Encoded** | String | The percent-encoded text. |

For example:

```text theme={null}
quarterly report & notes
```

becomes:

```text theme={null}
quarterly%20report%20%26%20notes
```

<Note>
  This encodes one component, not a complete URL. Use **Build URL** when
  constructing a URL from several parts.
</Note>
