---
updatedAt: 2025-12-05T18:41:41.000Z
agentTools:
  projectIndex: https://docs.observeinc.com/llms.txt
---

# decode_uri_component

```
decode_uri_component(str: string) -> string
```

Replace all %-encoded escape sequences in a string with unencoded plain text.

Returns NULL if input contains an invalid encoded sequence.

See also decode\_uri, decode\_base64.

# Domain

This is a scalar function (calculates a single output value for a single input row).

# Categories

* [String](function#string-functions)

# Examples

<OpalCodeBlock code={
`make_col dc:decode_uri_component('%32%5E%33%20%3D%20%38%3B')
`}/>

The result of decoding the given string is '2^3 = 8;' which is different from `decode_uri`.