Skip to main content
Scalar function
Returns NULL for NULL input. Invalid percent encoding or invalid decoded UTF-8 also returns NULL.

Syntax

Scalar

Arguments

Returns

  • Type: STRING
  • Possible values: The encoded or decoded string.
  • NULL behavior: Returns NULL for NULL input. Invalid percent encoding or invalid decoded UTF-8 also returns NULL.

Properties

Usage notes

  • Encoding maps spaces to plus signs; decoding maps plus signs to spaces.

Examples

Typical behavior

Decode UTF-8 text

Last modified on October 15, 2026