Skip to content
Legacy docs for Tenzir v5.x. For the latest Tenzir v6 series, visit docs.tenzir.com. Migrating from v5? Read the Tenzir v6 migration guide.

Decodes URL encoded strings.

decode_url(string: blob|string) -> blob

Decodes URL encoded strings or blobs, converting percent-encoded sequences back to their original characters.

The URL encoded string to decode.

from {input: "Hello%20World%20%26%20Special%2FChars%3F"}
decoded = input.decode_url()
{
input: "Hello%20World%20%26%20Special%2FChars%3F",
decoded: "Hello World & Special/Chars?",
}

Last updated: