# DecodeFromURL()

Decodes a string that has been encoded in the URL using the encodeForURL.
this function is deprecated, use function ESAPIDecode('url',...) instead.

**Requires Extension:** [ESAPI extension](https://download.lucee.org/#37C61C0A-5D7E-4256-8572639BE0CF5838)

```
DecodeFromURL( string=string );
```

**Returns:** string

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| string | string | Yes | string to encode |  |

# Examples

```cfml
	enc=encodeForURL('https://download.lucee.org/?type=releases');
	dump(enc);
	dec=decodeFromURL(enc);
	dump(dec);
```







# Categories

[Encode/Decode](../../categories/esapi.md)

# See Also

[string.decodeFromURL()](../objects/string/decodefromurl.md)